java - When I am running program with the help of appium on eclipse i am getting session not created error -


i have installed appium, android visual studio , have set path in env varibales, when running fist sample program on eclipse giving me below error :

 [testng] running:   c:\users\akash srivastava\appdata\local\temp\testng-eclipse-1729078009\testng-customsuite.xml  failed configuration: @beforeclass setup org.openqa.selenium.sessionnotcreatedexception: new session not created.    (original error: not find adb. please set android_home     environment variable android sdk root directory path.)    (warning: server did not provide stacktrace information) command duration or timeout: 433 milliseconds 

can please me have gone wrong.

the above issue got resolved since package name using calculator app can different different devices , testing calculator app on sony that's why wasn't working when tried google mobile got worked , when researched issue found out above answer.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -