Tuesday, 15 April 2014

Appium for Apps developed using Cordova

We need to do two things differently(IMO) when we want to automate Cordova apps

1. Switch to web view

          for(String winHandle : driver.getWindowHandles()){
              driver.switchTo().window(winHandle);
          }

2. 'By.xpath' may not work always, use 'By.name'

No comments: