Skip to content

Instantly share code, notes, and snippets.

@savishy
Created March 10, 2016 06:46
Show Gist options
  • Save savishy/524ad08dfa423c9e0497 to your computer and use it in GitHub Desktop.
Save savishy/524ad08dfa423c9e0497 to your computer and use it in GitHub Desktop.
[testng] org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (Original error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "D:\vish\adt-bundle\sdk\platform-tools\adb.exe shell "settings get global airplane_mode_on""
[testng] error: more than one device/emulator
[testng] ) (WARNING: The server did not provide any stacktrace information)
[testng] Command duration or timeout: 43 milliseconds
[testng] Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
[testng] System info: host: 'freeman', ip: '10.0.0.119', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_25'
[testng] Driver info: io.appium.java_client.android.AndroidDriver
[testng] Capabilities [{appPackage=com.icelero.crunch, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=MotoE, uuid=ZX1B33GSLN, platform=LINUX, appActivity=app.CrunchSplashActivity, chromedriverExecutable=C:\Users\vish\AppData\Local\Temp\\chromedriver.exe, desired={appPackage=com.icelero.crunch, appActivity=app.CrunchSplashActivity, chromedriverExecutable=C:\Users\vish\AppData\Local\Temp\\chromedriver.exe, newCommandTimeout=600, autoLaunch=false, platformVersion=5.1, browserName=, platformName=Android, deviceName=MotoE, uuid=ZX1B33GSLN}, newCommandTimeout=600, autoLaunch=false, platformVersion=5.1, webStorageEnabled=false, locationContextEnabled=false, browserName=, takesScreenshot=true, javascriptEnabled=true, platformName=Android}]
[testng] Session ID: 54e893d7-b178-49e2-8649-ec0ea89e1fa0
[testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[testng] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[testng] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[testng] at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
[testng] at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
[testng] at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
[testng] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:605)
[testng] at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
[testng] at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:206)
[testng] at io.appium.java_client.android.AndroidDriver.getNetworkConnection(AndroidDriver.java:217)
[testng] at com.icelero.appiumtestapi.AppiumUtils.switchNetwork(AppiumUtils.java:1017)
[testng] at com.icelero.Crunchtestscripts.Helper.preTestCrunch(Helper.java:207)
[testng] at com.icelero.Crunchtestscripts.TestFactories.TestCrunching.init(TestCrunching.java:110)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[testng] at java.lang.reflect.Method.invoke(Method.java:483)
[testng] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
[testng] at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
[testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
[testng] at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
[testng] at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
[testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:767)
[testng] at org.testng.TestRunner.run(TestRunner.java:617)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
[testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:240)
[testng] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
[testng] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
[testng] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
[testng] at org.testng.TestNG.run(TestNG.java:1057)
[testng] at org.testng.TestNG.privateMain(TestNG.java:1364)
[testng] at org.testng.TestNG.main(TestNG.java:1333)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment