Category Archives: Selenium Tips

Manually Adding and Updating Element Locators – The Easy Way

Let me start with some quotes. “Change is inevitable.” “The only thing constant is change.” We have all heard these phrases and variations of these before. It is so very true when it comes to tests. Updating tests can be … Continue reading

Posted in Selenium Tips | Tagged , , , , , , , | 22 Comments

Improving the Quality of Your Tests Through Page Coverage

Programmers often write tests and have a lot of powerful frameworks and tools at their disposal. One technique, Code coverage, provides you with the actual lines of code that are executed when the tests are run. This information is usually condensed … Continue reading

Posted in Selenium Tips | Tagged , , , , , , , | 1 Comment

Testing Evidence with Selenium IDE

Recently I ran into a fan. My fan! I still can’t contain my surprise! I never expected that I would have fans. (OK, just one so far :-)) He asked me if there was a way to save the test … Continue reading

Posted in Selenium Tips | Tagged , , , , , , , , , | 11 Comments

A Quick Introduction to CSS Locators in Selenium

While writing my recent posts on alternate locators, locator builders and Seleninum plugin API, I skipped over a truely basic question. What is a CSS locator in Selenium? It seems that some people are still looking for the answer(tm)! As you already … Continue reading

Posted in Selenium Tips | Tagged , , , , , , | 2 Comments

Learn Alternate Locators Using Selenium IDE

A locator in Selenium is a means of identifying an element for the selenium command. Usually it is the target part of the command. Did you know that when recording with the Selenium IDE, sometimes the target textbox changes into … Continue reading

Posted in Selenium Tips | Tagged , , , , | 4 Comments

Exploratory Maintenance and Debugging Selenium Tests

What would you do if you ever have to maintain or debug tests that are unknown to you or you have forgotten? Sounds familiar? One obvious approach is to study the test scripts. But if pouring over pages and pages … Continue reading

Posted in Selenium Tips | Tagged , , , , , , , | 2 Comments