How to find Target position of elements.



It is very important to find the position name of web elements. Every web elements has its own identical number. There are many ways to individualize every web elements. Here we use xpath to distinguish every element. 

Install Firebug: 

1    .       Open Firefox browser.
2    .       Go to: Tools → Add-ons.
3    .       Search for “firebug” then click on install button.

Observe the following picture:


Install Fire path: 

1    .       Open Firefox browser.
2    .       Go to: Tools → Add-ons.
3    .       Search for “fire path” then click on install button.

Observe the following picture:



Using Fire Path to find the elements position:

1.       Open URL: https://www.iams.com
2.       Right click on web page then click on “Inspect Element with Firebug”.



3.       Now click on Fire path.
4.       Select any web elements to find its XPath.


 5.   Now we can copy XPath for further use.

No comments:

Post a Comment