In qtp we all know how to get object/web elements properties - using object spy.
Same with the selenium its quite easy please see diff way to find web elements properties:
1. Using Crome
This is the fast and most efficient way to find web elements. Nagivate to your app url --> right click on the web element --> select Inspect Element. please find the below screen shot.
2. Using Firefox
Right Click on web element and select Inspect Element.
You can install fire-bug add in on fire fox and find properties by right clicking on web element.
with firebug you can also copy xpath and css values by right clicking on firebug pan.
You can also use IDE. Record the business process and ide will store all object properties.
3. Using IE:
Open IE--> Navigate to URL--> Press F12
Please see the screen shot with number tag.
Same with the selenium its quite easy please see diff way to find web elements properties:
1. Using Crome
This is the fast and most efficient way to find web elements. Nagivate to your app url --> right click on the web element --> select Inspect Element. please find the below screen shot.
2. Using Firefox
Right Click on web element and select Inspect Element.
You can install fire-bug add in on fire fox and find properties by right clicking on web element.
with firebug you can also copy xpath and css values by right clicking on firebug pan.
You can also use IDE. Record the business process and ide will store all object properties.
3. Using IE:
Open IE--> Navigate to URL--> Press F12
Please see the screen shot with number tag.
No comments:
Post a Comment