Issue running test after "adb reboot"
Posted: Thu Jul 18, 2013 10:11 am
Hi,
I am facing some issue accessing android app after rebooting my device with "adb reboot" command during the tests.
To exaplain, I have 2 apps lets say A.apk and B.apk. Both have been instrumented and installed on the device.
When I launch A.apk and after performing some tests on it, I issue a "adb reboot" command and then B.apk launches automatically as per the flow and then I need to run some tests on B.apk. But the issues here is after reboot when B.apk is launched automatically on my android device, ranorex is not able to find any elements on the same and tests fail.
Also, i tried explicitly launching B.apk after reboot but still it does not works and I get an error "No compatible apps found".
i have checked ranorex service as well and it is running after adb reboot. I checked this by issuing ps command and looking for the ranorex service.
Can you please help me with this and suggest why this is not working. Thanks in advance.
Regards,
Kunwar
I am facing some issue accessing android app after rebooting my device with "adb reboot" command during the tests.
To exaplain, I have 2 apps lets say A.apk and B.apk. Both have been instrumented and installed on the device.
When I launch A.apk and after performing some tests on it, I issue a "adb reboot" command and then B.apk launches automatically as per the flow and then I need to run some tests on B.apk. But the issues here is after reboot when B.apk is launched automatically on my android device, ranorex is not able to find any elements on the same and tests fail.
Also, i tried explicitly launching B.apk after reboot but still it does not works and I get an error "No compatible apps found".
i have checked ranorex service as well and it is running after adb reboot. I checked this by issuing ps command and looking for the ranorex service.
Can you please help me with this and suggest why this is not working. Thanks in advance.
Regards,
Kunwar