Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
913 views
by The go-to Tester (473 points)
Popup window is open. and there is a form of address fields. I am able to find xpath of all element correctly using firebug. But when i use this xpath in script and run the script then it throw erroe with saying element not found exception. How to deal with this scenario.

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
It looks like your pop up is inside an iframe. You first have to identify iframe, switch to it and then use xpath.
by The go-to Tester (181 points)
Try it and let me know.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...