Troubleshooting automated mobile testing
- To find the exceptions and errors you encountered, use Ctrl+F.
- If you cannot find the exceptions or error message you encountered, you can leave a comment below for further support.
|Connected device is not displayed in 'Device Name' list.||
|xcodebuild exited with code '65' and signal 'null'.||
Your .ipa application and/or WebDriverAgent is not signed correctly.Solutions:
|Xcode fails to create a provisioning profile for the
This necessitates manually changing the bundle id for the target by going into the "Build Settings" tab, and changing the "Product Bundle Identifier" from
|Fail to start Appium server in 30 seconds.||Katalon Studio can't start Appium server within 30 seconds (default timeout). You can increase this timeout value from this settings: Project → Settings → Execution → Default → Default wait for elements timeout (in seconds).|
Set your Appium Log Level to "Debug" which you can find this option in Windows > Katalon Studio Preferences > Katalon > Mobile to generate debug logs of Appium.
After this change is applied, retry your record/spy session and then open generated .appium file in the project folder.
The root cause is Katalon Studio can't start application due to incorrect package and activity by default, so you need to add additional settings to desired capabilities:
- Navigate to Mobile settings (Project > Settings > Execution > Default > Mobile > Android).
|Carthage is not found.||Known issue of Appium 1.7 with Xcode 9: https://github.com/appium/appium/issues/9344, so please use Katalon Studio 184.108.40.206+ to avoid this message.|
|Unable to Start Application on this device: Appium directory is invalid.||
Katalon Studio cannot locate the provided Appium directory. Please double check your Appium directory to make sure it should be as shown below:
Windows: (Window → Katalon Studio Preferences → Mobile → Appium Directory).
MacOS/Linux: (Katalon Studio → Preferences → Mobile → Appium Directory).
|Unable to Start Application while running Android tests on a Windows machine.||
First, upgrade to the latest version of Appium.
In Katalon Studio, go to Project Settings > Desired Capabilities > Mobile > Android and add this desired capabilities:
Click Apply to save, then run the test again.
|com.kms.katalon.core.appium.exception.AppiumStartException: Appium directory is not set.||
When running tests with Katalon Runtime Engine, by default Katalon checks the Appium directory at:
(*) To set Appium location by using APPIUM_HOME environment variable:
|java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 240000ms exceeded.||
|Katalon Mobile Recorder and SetText keyword cannot perform on an EditText element of the Flutter-based application.||
|Unable to start application.||
This happens when: