# "No driver found"

**URL:** <https://forum.katalon.com/t/no-driver-found/32112>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [August 26, 2019, 6:03am UTC](https://forum.katalon.com/t/no-driver-found/32112 "2019-08-26T06:03:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![monfareddm](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/monfareddm/32/7707_2.png) [@monfareddm](https://forum.katalon.com/u/monfareddm)\
**Post date:** [August 26, 2019, 6:03am UTC](https://forum.katalon.com/t/no-driver-found/32112/1 "2019-08-26T06:03:18Z")

</div>

Hi All,

**I am using Java(IntelliJ)+Appium successfully without any problem in this system.**

Recently I joined Katalon community to develop my company QA tools.

But I cannot start any automation.

**System Spec:**

- Operating system: **Windows 10**
- Device type: **Android - Samsung Galaxy S7 - G930F - Android 8.0.0 - API 26**
- Device OS version: **Android 8.0 - API 26**
- Appium version: **1.12.1**
- Katalon Studio version: **6.3.2-78cabfb34**

**Log:**

```
08-26-2019 10:08:28 AM Test Cases/SM00_Leagues

```

Elapsed time: 1.083s

Test Cases/SM00\_Leagues FAILED.  
Reason:  
com.kms.katalon.core.exception.StepFailedException: No driver found  
at com.kms.katalon.core.mobile.helper.MobileScreenCaptor.getAnyAppiumDriver(MobileScreenCaptor.java:64)  
at com.kms.katalon.core.mobile.helper.MobileScreenCaptor.take(MobileScreenCaptor.java:31)  
at com.kms.katalon.core.helper.screenshot.ScreenCaptor.takeScreenshotAndGetAttributes(ScreenCaptor.java:37)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.stepFailed(MobileKeywordMain.groovy:40)  
at com.kms.katalon.core.mobile.keyword.internal.MobileKeywordMain.runKeyword(MobileKeywordMain.groovy:23)  
at com.kms.katalon.core.mobile.keyword.builtin.WaitForElementAttributeValueKeyword.waitForElementAttributeValue(WaitForElementAttributeValueKeyword.groovy:100)  
at com.kms.katalon.core.mobile.keyword.builtin.WaitForElementAttributeValueKeyword.execute(WaitForElementAttributeValueKeyword.groovy:66)  
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.waitForElementAttributeValue(MobileBuiltInKeywords.groovy:1217)  
at com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords$waitForElementAttributeValue.call(Unknown Source)  
at SM00\_Leagues.run(SM00\_Leagues:16)  
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)  
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)  
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)  
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)  
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)  
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)  
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)  
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)  
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)  
at TempTestCase1566797906297.run(TempTestCase1566797906297.groovy:21)

 ![Capture](https://europe1.discourse-cdn.com/katalon/original/2X/2/22ee9a54402fc65ab9f6a53579e063697adbea17.png)

Thanks

---

<div class="post-metadata">

**Author:** ![abhishek.myteam11](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@abhishek.myteam11](https://forum.katalon.com/u/abhishek.myteam11)\
**Post date:** [September 25, 2019, 7:10am UTC](https://forum.katalon.com/t/no-driver-found/32112/2 "2019-09-25T07:10:18Z")

</div>

Getting the same error when I start executing my Test suit.  
In out f 10 times 3-4 times I am getting this errro

---

<div class="post-metadata">

**Author:** ![ThanhTo](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/thanhto/32/697_2.png) [@ThanhTo](https://forum.katalon.com/u/ThanhTo)\
**Post date:** [September 25, 2019, 7:21am UTC](https://forum.katalon.com/t/no-driver-found/32112/3 "2019-09-25T07:21:04Z")

</div>

I believe @Chris_Trevarthen can help you with this.

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [September 25, 2019, 1:30pm UTC](https://forum.katalon.com/t/no-driver-found/32112/4 "2019-09-25T13:30:53Z")

</div>

Hi @monfareddm and @abhishek.myteam11,

There are a few of things that could be going on here:

1. In the case where tests aren’t starting at all, can you confirm what directory you have set in the Katalon Studio-\>Preferences-\>Katalon-\>Mobile settings? It could be that you have it set to a valid directory, but it’s not the one that includes the libraries for Katalon to access Appium.

2. Confirm that you are using the `Mobile.startApplication` function in your test or test suite as the first step. If the application isn’t started, you might see that error message.

3. If you’re using a test suite, try to avoid starting and stopping the application between tests - start it once at the beginning of the suite and shut it down at the end. Repeated starting and stopping of the application can put the driver in a bad state.

4. Before running a test or test suite, check your running system processes for appium. Sometimes these processes don’t quit correctly and can interfere with future tests.

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![Thanakorn\_Sriwichai](https://avatars.discourse-cdn.com/v4/letter/t/87869e/32.png) [@Thanakorn\_Sriwichai](https://forum.katalon.com/u/Thanakorn_Sriwichai)\
**Post date:** [December 3, 2019, 9:34am UTC](https://forum.katalon.com/t/no-driver-found/32112/5 "2019-12-03T09:34:29Z")

</div>

I’ve got the same with this issue too, When run Test Suite after 6-7 Test cases then got an error “No Driver Found” and the rest of them are “Failed”. How can i fix this?

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [December 6, 2019, 3:56am UTC](https://forum.katalon.com/t/no-driver-found/32112/6 "2019-12-06T03:56:40Z")

</div>

Hi @Thanakorn_Sriwichai,

Please share us the execution log of the failed test cases, your test script if possible.

Thanks

---

<div class="post-metadata">

**Author:** ![namratha.nayak](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@namratha.nayak](https://forum.katalon.com/u/namratha.nayak)\
**Post date:** [January 5, 2021, 12:04pm UTC](https://forum.katalon.com/t/no-driver-found/32112/7 "2021-01-05T12:04:20Z")

</div>

@Chris_Trevarthen, could you please help me for the same issue.  
Katalon Studio-\>Preferences-\>Katalon-\>Mobile settings is set to below.  
C:\Users\hasher\AppData\Roaming\npm\node\_modules\appium\node\_modules

Version details:  
Appium version: Tried with 1.19.1 and 1.17.1  
OS: Windows 10 Pro  
Katalon: 7.8.1  
Mobile device: POCO F1 (Android 9)

com.kms.katalon.core.exception.StepFailedException: Unable to start app at: ‘C:/Users/hasher/development/app-debug.apk’ (Root cause: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\hasher\.katalon\tools\android\_sdk\platform-tools\adb.exe -P 5037 -s b4aad38b shell settings delete global hidden\_api\_policy\_pre\_p\_apps’ exited with code 255’; Stderr: 'Security exception: Permission denial: writing to settings requires:android.permission.WRITE\_SECURE\_SETTINGS

# [https://docs.katalon.com/katalon-studio/docs/troubleshoot-common-execution-exceptions-web-test.html](https://docs.katalon.com/katalon-studio/docs/troubleshoot-common-execution-exceptions-web-test.html)

01-05-2021 09:34:46 AM launcher.OnAppStartup.captureScreen()

Elapsed time: 0.070s

No driver found

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [January 7, 2021, 5:32pm UTC](https://forum.katalon.com/t/no-driver-found/32112/8 "2021-01-07T17:32:55Z")

</div>

@namratha.nayak

You need to enable Allow USB Debug on your real device first

> [@Not able to launch the app via using katalon studio, gets error like](http://forum.katalon.com/t/not-able-to-launch-the-app-via-using-katalon-studio-gets-error-like/50590/2):
>
> Hi @fno, You need to enable Allow USB Debugging before launching the app using Katalon Studio/Appium. Similar dicussions:

---

<div class="post-metadata">

**Author:** ![shrishti.sachan](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/shrishti.sachan/32/16103_2.png) [@shrishti.sachan](https://forum.katalon.com/u/shrishti.sachan)\
**Post date:** [May 7, 2021, 6:36am UTC](https://forum.katalon.com/t/no-driver-found/32112/9 "2021-05-07T06:36:08Z")

</div>

@Chris_Trevarthen Hi Chris…your every solution helps me.Do you have you tube channel??

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:31am UTC](https://forum.katalon.com/t/no-driver-found/32112/10 "2022-08-08T07:31:36Z")

</div>

Archived on August 8, 2022, 7:31am UTC


