Launch Mobile .apk stored inside SauceLabs Storage

Type your question here. Then choose a suitable category and tag(s) adam.brown

Hi all,

I’m trying to launch an app I have stored inside SauceLabs App Management Storage. The app is called MyApp.apk. My end goal is that my Katalon tests run against the app stored inside SauceLabs so that I can handle all of this via the pipeline

I’ve added all my desired capabilities as per SauceLabs instructions. I’ve removed the line of code in my test to launch a local copy of the app as I want to launch the app inside SauceLabs storage.

‘Open the application’
//Mobile.startApplication(RunConfiguration.getProjectDir() + “/Test Apps/” + GlobalVariable.AndroidAppFile, true)

When I run my test I get a No driver found error, which makes sense as I’m not launching the application.

I know I need to put something in “Mobile.startApplication” to start the driver, but I have no idea what to put. Can anyone help me?

Many thanks


Full Error:
=============== ROOT CAUSE =====================

For trouble shooting, please visit:


12-06-2023 03:58:12 PM Test Cases/REMOVED/REMOVED

Elapsed time: 2.125s

Test Cases/Food Optimising Essentials/Food Optimising Essentials FAILED.


com.kms.katalon.core.exception.StepFailedException: No driver found



at com.kms.katalon.core.helper.screenshot.ScreenCaptor.takeScreenshotAndGetAttributes(





at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:74)


at$ Source)

at customfunctions.Login.privacyNoticeIsDisplayed(Login.groovy:64)

at customfunctions.Login.invokeMethod(Login.groovy)

at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.invokeStaticMethod(

at Food Optimising Optimising Essentials:11)


at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(

at com.kms.katalon.core.main.TestCaseExecutor.runScript(

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(

at com.kms.katalon.core.main.TestCaseExecutor.execute(

at com.kms.katalon.core.main.TestCaseMain.runTestCase(

at com.kms.katalon.core.main.TestCaseMain.runTestCase(

at com.kms.katalon.core.main.TestCaseMain$runTestCase$ Source)


1 Like


I will take a look and back to you soon

1 Like

I think SauceLab is a cloud mobile, if you want to run any apk, you must first upload to SauceLab, SauceLab will give a aplication ID, that will be used in your script, then in testing script you start your app like this:
Mobile.startApplication(‘sauce://10160571901693383127229294’, true)

1 Like

Thanks for the reply

I’ve just tried that.

My file in SauceLabs has this File ID

and I’ve put this in my TestListener but I’m still getting the same error.

Mobile.startApplication(‘sauce://6541dda1-1f46-4ffa-bf22-9735b35cb8be’, true)

I write that as example, when I check with SauceLab document at here: Appium Testing with Real Devices | Sauce Labs Documentation, I guess you should change your command like that:
Mobile.startApplication(‘storage:filename=6541dda1-1f46-4ffa-bf22-9735b35cb8be’, true).
Hope this help.