RE: How to find the id from the Expanding the tree node in selenium web driver using java. can you please put some code and tutorial for this?

charu Default Asked on January 12, 2016 in Selenium WebDriver.

can you please post your scenerio here..?

on January 12, 2016.

I have a folder structure.
scenarios :
1. Click on the + of the folder structure and expand the folder.
2. And again expand the sub- folder and so on till 3 sub- folder.
3. Now select the value from the folder and drag and drop.

Problem: if i get  the XPath value of the first folder using find Elements. the error is “Unable to locate element”

on January 12, 2016.

can you please check if the folder is in same frame or is in some other iframe..?

on January 12, 2016.
Add Comment
6 Answers

Try to find the Web Element with its ID or tag name rather than XPath

Train Answered on January 19, 2016.
Add Comment

Your Answer

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