November 25, 2010

Identify element using Firebug

In selenium we will identify the element by using firebug or xpath.

Firebug

First u need to install firebug in firefox..
Firebug is an addon for firefox. You can get firebug from this link "http://getfirebug.com/"

after installing firebug u can see a bug symbol at the bottom right corner of the firefox page.

Later follow below steps how to use firebug...
1. Open www.google.com
2. Click Advanced Search.
3. Take u r cursor on the  "Results per page:" dropdown. and right click in options u can see "Inspect element"
4. click inspect element.


5. You can see name= "num"



Hope this post is useful....

No comments:

Post a Comment