How to launch internal application like camera for example on android device using seeTest?
First of all, you need to know the name of the camera activity (It can vary between manufacturers).
So you need to use adb commands to find it.
Optional is to follow these steps:
- Open command line.
- Find path of where seeTest is installed.
- Type cd bin/adb to go to go to the adb folder.
- Type adb shell to go to shell.
- Type pm list packages -s for all system packages in the device.
- Find the activity of the camera on the list of all system packages.
- Type am start to verify that its the activity of camera.
If OK The command you need to run from seeTest is:
run (adb shell am start )
For device samsung galaxy S3 device (also S3 mini)The name of the activity is com.sec.android.app.camera
The command to use to run adb shell commands is the run command.
See here: http://experitest.com/studio/help2/WebHelp/Run1.htm
So in order to launch the camera on such devices you should use this command:
run (adb shell am start com.sec.android.app.camera)
Note that you won't be able to use object spy with this app. You can use only text or image recognition methods to run the tests.
You can also check this link for all adb commands:
what if i need to launch the dial pad on an android, how do i go about doing that?
I am new to this tool. I tried to record Erabank login screen and it worked fine. But when I tried to launch my mobile app, I am getting error "Failed to launch application:com.gtechg2.mobile.illinois/.PhoneGapAppLauncher". I am not sure what is the problem. Can anyone give me solution?
Night vision is just an option or setting that needs to be enabled inside camera which can be easily done using the Non-instrumented mode native recognition.
If you are not able to achieve it, please send us your elaborate query to Support@experitest.com which screenshots.