I trying to start installed application in my android device without placing the apk file in Katalon project.
Is it possible to start application by providing app package & app activity as like selenium ?
Or Is it possible to point real device location of app for “start application” keyword in Katalon ?
I dont want to place the apk file externally inside katalon project folder, rather than to use apk file inside mobile device directly.
Kindly suggest the options available in Katalon to start application without placing apk file/directly provide apk file from real device.
As far as I know, you need to start the test using a real APK. However, you can try using one of the APKs that come with the Katalon Studio test projects. Then you can follow this example to set the actual package and activity you want to test for:
I think you can fake out the test to switch applications by setting the Desired Capabilities, using RunConfiguration.setMobileDriverPreferencesProperty:
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
// You will need a real .apk file here in order to launch successfully, even if you're not testing it
String appFile = "/fullpathtomyfile/mobile-beta.apk"
// The app info for the built-in app y…
Hope this helps,