mercredi 13 avril 2016

In Xamarin Test Cloud, how to run concurrent tests on multiple devices for an app that uses logged in users?

Test case:

User books a hotel room. The user status changes to booked_room. This room will become unavailable for other users logged in at the same time. After booking the room, user performs other tasks based on the booked room.

The problem is:

If we run this test on multiple devices simultaneously with the same user account, the test will pass only on the first device. When test runs on second device, the app will request the user status and won't show the rooms list because user already selected one on previous device, causing the test to fail because the REPL couldn't find any room on the elements tree.

Every single test of my suite starts with the login process.

Have you faced to this problem using Xamarin Test Cloud? Should I implement a server-side solution to create a database instance every time the test suite is about to run?

Thank you :)

Aucun commentaire:

Enregistrer un commentaire