Do you have questions ? We got the answers!

Ask a question:

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

Open 1 Answers 76 Views
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 by SunilBhaskar (430 points)
Can you tell us what steps did you follow? This will help us analyze the issue.

1 Answer

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 by mayur (15 points)

Top Contributors

  • 4970 pointsstbadmin

    34 questions 454 answers218 comments

  • 430 pointsSunilBhaskar

    40 questions 14 answers26 comments

  • 425 pointsMehedi

    36 questions 3 answers14 comments

  • 354 pointsSoft Tester

    43 questions 0 answers4 comments

  • 342 pointssumitkumarwatts

    0 questions 12 answers0 comments

  • 327 pointsKeeshaGolden

    0 questions 17 answers2 comments

  • 322 pointsVipul Sharma

    44 questions 0 answers24 comments

  • 310 pointsvysh.sharma

    25 questions 0 answers0 comments

  • 267 pointsOnkar_Nimje

    33 questions 15 answers15 comments

  • 258 pointsVanitha

    26 questions 0 answers6 comments

...