0
votes

I am trying to locate htmp/jsp web element using xpath. I am using Selenium testing tool and its library to access web element (findElementByXPath()). I am keep getting error as given below:

Unable to find element with Xpath ==

Look forward to hearing from you.

1
What is the xpath that you are using? - A.J

1 Answers

0
votes

I think the XAPTH expression is not correct so that selelnium is unable to find the element by using it. You can get XPATH expression by doing this: 1. Open Selenium IDE -->Options-->options-->Locator Builders-->put the xpath:position on the top. Now Selenium IDE could record the element's XAPTH expression,just copy it to you script. 2.Download the Firebug plug-in in firefox ,It is very good tool that can locate element by XPATH, CSS,id,name and so on.