Unable to execute jUnit-Cucumber-Appium tests in parallelon android devices using selenium grid.

39 views
Skip to first unread message

Ajit Jadhav

unread,
May 26, 2016, 11:38:14 AM5/26/16
to Selenium Users
Unable to execute jUnit-Cucumber-Appium tests in parallelon android devices using selenium grid,getting following error message.Please Help.

org.openqa.selenium.WebDriverException: Session [eef3a669-59e9-499d-857e-88cd3e4e083a] not available and is not among the last 1000 terminated sessions.
Active sessions are[]
Command duration or timeout: 6.25 seconds
Build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01:35'
System info: host: '674-0494', ip: '169.254.166.165', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_60'
Driver info: io.appium.java_client.android.AndroidDriver
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
    at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:153)
    at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:109)
    at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:39)
    at feature.som.screens.Suite_Base.launchAppUsingAndroid(Suite_Base.java:104)
    at feature.som.screens.Suite_Base.launchApp(Suite_Base.java:66)
    at feature.step_definitions.login.Login_Screen_Steps.launch_app(Login_Screen_Steps.java:27)
    at ?.Given Launch the app(src/feature/Case_Manager.feature:14)

⇜Krishnan Mahadevan⇝

unread,
May 26, 2016, 11:12:00 PM5/26/16
to Selenium Users
Ajit,
You haven't told us anything about what your code looks like, how are you triggering your execution etc., Merely sharing the exception stacktrace doesn't help a lot. Please feel free to share as much context as possible which would help anyone to help you with an answer.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3a07622b-1938-49d5-80e0-b4576f47ceea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages