Test an already installed app on the device (skipDeviceInitialization)


#1

When using Katalon 6.1.1 is it possible to test an already installed app on the device (skip Mobile.startApplication). Have tried with the capability 'skipDeviceInitialization" but no success.


#2

@mdmmzm,

Please try

Mobile.startApplication('appPath', false) //false means KS will start the installed app.

skipDeviceInitialization will skip install Appium Settings or UiAutomation server, not skip install the app.


#3

@duyluong

Thanks for the reply.

In my situation we are installing the test-apps via a private app store. So the APK is not on my filesystem.
The best for me would be not using startApplication() cmd as it requires an an absolute/relative path to the apk file which would be installed.
I am starting the app under test via the app button on the home screen


#4

Hi @mdmmzm,

You should be able to start the test with any apk file that you have on your system - the Sample Android Mobile Tests Project that comes with Katalon Studio has one. Then you can switch to the actual application you want using the DesiredCapabilities.

See this post for an example:

Hope this helps,

Chris


#5

Hi @Chris_Trevarthen
This helps. Thank you again!