Script executing on wrong device intermittently
Posted: Wed Mar 27, 2013 4:46 pm
I have created a test that has been executing on an iPad. I added a new device, an iPhone,and tried to run the tests on that device. I specifically told it to run on the iPhone:
Host.Local.RunMobileApp(iPhone, "<app name>");
It logged in ok but once it did it started executing on the iPad which happened to be logged in and on the same screen after login. I tried to reproduce it and it did not do that. Then a few minutes later it did. What is going on? Why would it start executing on the other device?
Like I said it does not happen all the time, but its enough to be annoying. If I have the other device turned off there isn't a problem, however if someone would be suing that to test I do not want to screw them up, or me for that matter.
Host.Local.RunMobileApp(iPhone, "<app name>");
It logged in ok but once it did it started executing on the iPad which happened to be logged in and on the same screen after login. I tried to reproduce it and it did not do that. Then a few minutes later it did. What is going on? Why would it start executing on the other device?
Like I said it does not happen all the time, but its enough to be annoying. If I have the other device turned off there isn't a problem, however if someone would be suing that to test I do not want to screw them up, or me for that matter.