4 Best Add-ons to Identify Selenium Locators

Page 1

QATestLab 21, Garmatna str., Kiev, Ukraine ph.: +38(044)277-66-61 http://qatestlab.com/ contact@qa-testlab.com

Locators allow tester to find elements on a page that can be used in automated tests. And it is not trivial task to uniquely identify some locators.

I offer 4 add-ons that we successfully use for locators identification.

1. Firebug

Firebug has become the de facto tool for web developers, as it allows developers to find elements on the page by using the find functionality. It has a JavaScript REPL. REPL stands for Read-Eval-Print-Loop, which is an interactive shell that allows you to run JavaScript without having to create an entire page.

Download

(c) QATestLab, 2011

http://qatestlab.com/


QATestLab 21, Garmatna str., Kiev, Ukraine ph.: +38(044)277-66-61 http://qatestlab.com/ contact@qa-testlab.com

2. Firefinder

A very good tool for testing out XPath and CSS on the page. It will highlight all the elements on the page that match the selector to your element location.

Download

3. IE Developer Tools

This is built into IE7 and IE8, which we you launch by pressing F12. It also has a number of features that Firebug has.

4. Google Chrome Developer Tools

This, like IE, is built into the browser and will also allow you to find the elements on the page and be able to work out its XPath. You may manage your subscription options from your profile.

(c) QATestLab, 2011

http://qatestlab.com/


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.