java-opensdk
java-opensdk copied to clipboard
Add parallel execution for mobile
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
- Initialize adb
- Get devices pool
- Get device status (if
free
) - Get device UIDI
- Initialize new driver with that UDID
- Set device
occupied
@AfterMethod - 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