Common Encountered Errors in Appium



Common Encountered Errors and Troubleshooting Steps in Appium

Common encountered errors in Appium

Error Troubleshooting Steps
1. error:- The following desired capabilities are required, but were not provided:device Name, platformName 1. Add desired capabilities: device Name, platformName in APPIUM script. e.g:capabilities.setCapability (“deviceName”,”Emulator”); capabilities.setCapability (“platformName”,”Android”);
2. error: Could not find adb. Please set the ANDROID_HOME environment variable with the Android SDK root directory path. 2. You probably need to set up SDK root directory path in system ‘Environment Variables’ in ‘Path’ column
3. error:org.openqa.selenium.SessionNotCreatedException: A new session could not be created. 3. You need to set a correct App path and restart the Appium server.
4. How to find DOM element or XPath in mobile application? 4. Use objectSpy to find Xpath of element in Android / iOS application.
Tags: ,
Leave a comment

Your email address will not be published. Required fields are marked *

Subscribe now

Receive weekly newsletter with educational materials, new courses, most popular posts, popular books and much more!