Honey Asin

Honey Asin

  • NA
  • 3
  • 498

Angular JS App to be tested with Javascript

Dec 14 2017 6:10 AM
Hi,
 
We are trying to automate Angular JS App using a combination of chromedriver and Javascript. we had problems in identifying the tree view controls in the angular app
 
code looks like this:
 
var webdriver = require('selenium-webdriver');
var driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).build();
driver.get('URL');
 
I have tried using CSS and Xpath but while executing it in the command line it prompts as Xpath as Undefined or CSS as undefined.
 
Could someone help me out in this regard?
 
Thank You

Answers (1)