hacka87
6 years agoContributor
Solved
How to start an android application without having to install it everytime
Hello !
I am testing an android application on different mobile devices.
At the moment I use the ImageRepository which contains different screens for different mobile devices.
In order ...
- 6 years ago
Hi,
> Mobile.Device().ShellExecute("am start -n com.package.name");
This approach works. Though note, that (as it is mentioned in the Stackoverflow article that you referenced) not only the package name must be provided as a parameter for the 'am' command, but also the name of the main activity after the slash.
This is also described in the TestComplete help: https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/mobile/android/device/shellexecute.html