Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
1.4k views
by Contributing Tester (22 points)
edited by
Hi guys I am manual tester wanting to switch to automated testing.

But I have issue that I havent been able to solve on my own, could you please help me ?

I have installed Appium and Eclipse trying to run simple test on my android real device, but I always get this message:

FAILED CONFIGURATION: @BeforeTest setUp
org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{appPackage=com.android.calculator2, appActivity=com.android.calculator2.Calculator, browserName=Android, platformName=Android, deviceName=ZX1B32FFXF, version=4.4.2}], required capabilities = Capabilities [{}]
 

What am I missing, could you help ?
by Expert (572 points)
Can you tell us what steps did you follow? This will help us analyze the issue.

1 Answer

0 like 0 dislike
by Master (1.2k points)
It looks like you have an issue with desired capabilities. Kindly check if you have desired capability set properly. I doubt your device is connected. And if connected, your device name might be wrong.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...