Skip to main content

Posts

Showing posts with the label check xpath

How to check if my xpath is valid using firebug?

Yes, you can verify if your xpath is pointing to the right source on the web application under test using FireBug. Here is how:  Go to the Web Application under test We'll take Google for simplicity reasons Open FireBug -  Go to the Console   Console can also be seen at the bottom of the page, so don't worry they both are the same. They can be switched as follows:  Type in $x("Your xpath here") on the command line prompt as shown below: Hit Enter/Run You will get to see the element which was filtered out with your XPath expression