Could not pre-launch appium: On running multiple @Test Runs on AWS

Hi,

I am Executing Junit Test cases on AWS Device Farm;
Currently I am running two cases. First one executes successfully. But Second fails with an error “Could not pre-launch appium”

These are Logs:

016-01-29 12:05:47:892 - info: [debug] Got result from instruments: {“status”:0,“value”:{“UIAApplication”:{"@":{“name”:null,“label”:null,“value”:null,“dom”:null,“enabled”:false,“valid”:false,“visible”:false,“hint”:null,“path”:"/0",“x”:2.6939710517e-314,“y”:2.692489914e-314,“width”:1.061256928e-314,“height”:3.385905957e-314},">":[]}}}
2016-01-29 12:05:47:902 - info: [debug] Condition unmet after 10188ms. Timing out.
2016-01-29 12:05:47:902 - info: [debug] Cleaning up appium session
2016-01-29 12:05:47:902 - error: Could not pre-launch appium: Error: App did not have elements

Please post a solution if any one knows.

Thanks,
Sudhakar

You’ll have to post your code.

I’m facing the same issue.Please provide me the solution?

Hi Sudhakar,

Did you find the solution?

Thanks,
Naga lakshmi