I have a question on Appium - protractor bridge. Is it possible to automate native apps using appium-protractor bridge? or Protractor supports only Web,Mobile Web Apps and Hybrids app [only Web Views]? Please confirm.
I was just giving an attempt to automate an android native app, but was getting the below error:
UnknownError: Not yet implemented. Please help us: http://appium.io/get-involved.html
at new bot.Error (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:109:18)
…
…
==== async task ====
WebDriver.manage().timeouts().setScriptTimeout(100000)
Then I have added this capability “autoWebview: ‘true’”. Then app started loading, but findelement is failing?
Capability:
platformName: ‘Android’,
platformVersion: ‘4.4’,
browserName: ‘’,
deviceName: ‘Android Emulator’,
‘appium-version’:“1.2.2”,
app: ‘sauce-storage:xxx.apk’,
autoWebview: ‘true’
//Xpath selector statement:
ptor.driver.findElement(protractor.By.xpath("//TextView[contains(@text,‘Teams’)]") )
But I am getting the below error:
Message:
NoSuchElementError: An element could not be located on the page using the given search parameters.
Stacktrace:
NoSuchElementError: An element could not be located on the page using the given search parameters.
==== async task ====
WebDriver.findElement(By.xpath("//TextView[contains(@text,‘Teams’)]"))
Please someone shed some light into this.
Thanks
Raghul