Common Issues of Appium



Common Issues of Appium

Error 1: The following desired capabilities are a must, however these are not given: deviceName, platformName

Solution: Add missing desired capabilities e.g. device Name, platformName in the Appium script.

e.g.: capabilities.setCapability (“deviceName”,”Emulator”); capabilities.setCapability (“platformName”,”Android”);

Error 2: Couldn’t discover adb. Please set the ANDROID_HOME environment variable with the Android SDK root directory path.

Solution: You have to set up SDK root directory path in system ‘Environment Variables’ as ANDROID_HOME variable and provide Platform tools and Tools in ‘Path’ column.

Error 3: org.openqa.selenium.SessionNotCreatedException: Another session could not be created.

Solution: You have to provide correct App path and restart the Appium server.

 

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!

https://bridgejunks.com/ https://crownmakesense.com/ https://brithaniabookjudges.com/ https://hughesroyality.com/ https://rhythmholic.com/ https://bandar89.simnasfikpunhas.com/ https://www.100calshop.co.il/products/thailand/ https://myasociados.com/ https://solyser.com/ http://konfidence.cz/ https://muscadinepdx.com/ https://bandar89.parajesandinos.com.ve/ https://goremekoop.com/ https://oncoswisscenter.com/ https://www.turunclifehotel.com/bandar89/ https://www.houseofproducts.biz/ https://taimoormphotography.com/
BIJI18 BIJI18 BIJI18