Part 4: Setup Firebug, Fire Path, XPath Checker
Selenium script is nothing but identify elements (text,text box, links, buttons, checkbox, windows etc.) on webpage and perform operations in order to automate it.
So those elements are identified by locators, (will explain locators in next topic). And above mentioned tools are played important role to identify locators, so install it first.
Don’t install Firebug,Fire Path, XPath Checker on Firefox latest version.
Using Firefox DevTools.
Firefox DevTools is a Firefox feature that we will use to inspect the HTML elements of the web application under test. It will provide us the name of the element that our Selenese command would act upon.
Step 1):Right click anywhere on the page and select Inspect Element. You can also use shortcut Cntrl + Shift + I
Step 2) You will see the Interface
Step 3) You can right click on an element and chose CSS or XPath. This is useful in object identification
Note: Likewise, you can also use Developer Tools in Chrome to identify object properties