Hi,
I am begineer to appium getting the error for the below code in eclipse
my environment is
java 1.8
java client 4.1.2
driver.findElementByAndroidUIAutomator(“new UiScrollable(new UiSelector()).scrollIntoView(new UiSelector().text(”" + element_text + “”))");
Apr 18, 2017 2:59:45 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Attempting bi-dialect session, assuming Postel’s Law holds true on the remote end
Apr 18, 2017 2:59:58 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Exception in thread “main” org.openqa.selenium.UnsupportedCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 10.18 seconds
Build info: version: ‘unknown’, revision: ‘1969d75’, time: ‘2016-10-18 09:43:45 -0700’
System info: host: ‘IE11DTGTTDMV1’, ip: ‘199.63.212.53’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_121’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{app=C:\LYRIC\Lyric.apk, appPackage=com.honeywell.android.lyric, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=LGH818c364ea2a, version=6.0, platform=LINUX, appActivity=com.honeywell.android.arena.controller.splashscreen.SplashScreenActivity, desired={app=C:\LYRIC\Lyric.apk, appPackage=com.honeywell.android.lyric, appActivity=com.honeywell.android.arena.controller.splashscreen.SplashScreenActivity, browserName=Android, platformName=Android, deviceName=LGH818c364ea2a, version=6.0}, platformVersion=6.0, webStorageEnabled=false, locationContextEnabled=false, browserName=Android, takesScreenshot=true, javascriptEnabled=true, platformName=Android}]
Session ID: 3ebf6d19-f122-4dd6-b1b9-685aa9f178a1
*** Element info: {Using=-android uiautomator, value=new UiScrollable(new UiSelector().scrollIntoView(new UiSelector().text(“Logout”));}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:635)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40)
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.findElement(RemoteWebDriver.java:368)
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:56)
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
at io.appium.java_client.android.AndroidDriver.findElementByAndroidUIAutomator(AndroidDriver.java:365)
at runner.Demo.main(Demo.java:45)