1
Answer

Angular JS App to be tested with Javascript

Photo of Honey Asin

Honey Asin

7y
197
1
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)

0
Photo of Laxmidhar Sahoo
NA 2.3k 1.4k 7y
sir I think 
 
driver.get('URL');
 
The above get method use the url as a variable where u use as a text constant.
 
The datails is not displayed