Run Methods in parallel with Different Data #3212
Replies: 1 comment
-
@WasifIsrar - Its not clear as to what are you looking for here. You would need to streamline your appium instantiation logic so that it can create instances from either of the two devices. The easiest way of doing that would be to start leveraging the Selenium Grid and wire up your appium nodes to it. That should ensure that your tests allocation are all taken care of by Selenium Grid. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am working with TestNg to Run Android UI tests with Appium. Currently I am running testng tests parallel with each test having multiple classes. Each method in that test tag runs on a specific device with a specific Pin to enter in the app.
The problem with this approach is, my OrderTest class has more methods and it runs for 45 mins. But the classes in my second test have lesser number of methods, they run in 20 mins. My Second Device runs idle for 25 mins.
Of course I can create 4 Tests and have 4 devices run those tests in parallel. But the problem will be same.
I can also have separate xml files for each class and run them independently. But thats too much maintenance work.
I want to Run Test Methods in parallel, in 2 Threads. So that the load is equally shared between two devices. How can i achieve this?
Beta Was this translation helpful? Give feedback.
All reactions