Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

1
FAILED CONFIGURATION: @BeforeTest setUp org.openqa.selenium.SessionNotCreatedException

Open 1 Answers 93 Views
1 1
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 ?
1Comments
commented Apr 17, 2017 by SunilBhaskar (445 points)
Can you tell us what steps did you follow? This will help us analyze the issue.

1 Answer

0
0
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.
answered Jul 27, 2017 by mayur (733 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors

...