java-opensdk icon indicating copy to clipboard operation
java-opensdk copied to clipboard

Add parallel execution for mobile

Open vladburian1 opened this issue 3 years ago • 0 comments

Hello, I'm trying to run tests in parallel, please suggest the best way to do that. I was able to run it on Android devices using TestNG (few mobile devices connected to Agent) : @BeforeMethod

  1. Initialize adb
  2. Get devices pool
  3. Get device status (if free)
  4. Get device UIDI
  5. Initialize new driver with that UDID
  6. Set device occupied @AfterMethod
  7. Set device free And it works, every new test running on new device, but the report is messed up, as new created driver it's creating a new report

vladburian1 avatar Dec 25 '21 00:12 vladburian1