Zero length is displayed

On the radio buttons assignment, on the years of experience, can we identify the element by name? because when i used the code “driver.findElements(By.name(“Years of Experience”)) then the size returns ZERO when the length is printed.

prasannakumar Default Asked on October 13, 2015 in Selenium WebDriver.
Add Comment
1 Answer(s)

Is it the actual Name attribute of your element? It doesnt seems like. Can you please first go through these chapters

http://www.toolsqa.com/selenium-webdriver/finding-elements-using-browser-inspector/

Virender

Virender Singh Professor Answered on October 13, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.