Webdriver exception while invoking ContactManager.apk
While installing the ContactManager app; I am able to install the app but in eclipse console it gives me below error and test fails. Please suggest.
[RemoteTestNG] detected TestNG version 6.13.1 Jun 23, 2019 5:23:19 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0 INFO: Detected dialect: W3C FAILED: testApp org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C\:\\Users\\XXXX\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s 26cee4947d44 shell input keyevent 3' exited with code 4294967177'; Stderr: ''; Code: '4294967177' Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:05:20.749Z' System info: host: 'SUMITXXXXX-PC', ip: '192.XXX.X.X', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_211' Driver info: io.appium.java_client.android.AndroidDriver Capabilities {app: F:\MobileAutomation\APKs\Co..., appActivity: in.smartappcart.contactmana..., appPackage: in.smartappcart.contactmanager, appWaitActivity: in.smartappcart.contactmana..., appWaitPackage: in.smartappcart.contactmanager, databaseEnabled: false, desired: {app: F:\MobileAutomation\APKs\Co..., deviceName: Redmi, noReset: true, platformName: android, platformVersion: 7.1.2, udid: 26ceeXXXXXX}, deviceManufacturer: Xiaomi, deviceModel: Redmi 4, deviceName: 26cee4XXXXX, deviceScreenSize: 720x1280, deviceUDID: 26cee4XXXXX, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, noReset: true, platform: LINUX, platformName: Android, platformVersion: 7.1.2, takesScreenshot: true, udid: 26cee4947d44, warnings: {}, webStorageEnabled: false} Session ID: 795dea81-1667-4239-a4d7-b6a39e6174d8 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.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:448) at com.demo.Demo.testApp(Demo.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) at org.testng.internal.Invoker.invokeMethod(Invoker.java:571) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:707) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:979) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.privateRun(TestRunner.java:648) at org.testng.TestRunner.run(TestRunner.java:505) at org.testng.SuiteRunner.runTest(SuiteRunner.java:455) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415) at org.testng.SuiteRunner.run(SuiteRunner.java:364) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) at org.testng.TestNG.runSuitesLocally(TestNG.java:1116) at org.testng.TestNG.runSuites(TestNG.java:1028) at org.testng.TestNG.run(TestNG.java:996) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
What is is version of your phone?
DeviceName: Redmi, platformName: android, platformVersion: 7.1.2, , deviceManufacturer: Xiaomi, deviceModel: Redmi 4
Are you using the same apk that we have shared or you are downloading it from internet ?
I have downloaded from internet
The version of apk you have downloaded from internet is different from the one that we have shared and the elements present in our apk are different so it’s genteel request to use the apk provided by us
Ok I will try and let you know
Could you please provide the apk file? I cannot see that file in whole downloded code shared by you on the website
Got it. Please ignore
We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium. All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project
© 2020 Whizdom Trainings. All rights Reserved - Powered by Whizdom Trainings