Category Archives: Selenium

Testing autocomplete fields with Selenium

For quite a while I struggeled with testing autocomplete fields (like the one from the script.aculo.us library) using Selenium tests. As you may already know – the “type” command does not trigger the autocomplete to look for suggestions. You rather … Continue reading

Posted in Selenium | Tagged , | 20 Comments

Selenium: Verify submit button is disabled after first click

To make sure a forms submit button is disabled after it is clicked once, a Selenium test should look like this: click _button verifyNotEditable _button true waitForPageToLoad 50000 The button will be clicked (without waiting). Then it verifies that the … Continue reading

Posted in Selenium | Tagged | 5 Comments

Selenium Testing with Prototype AJAX

If you are using Selenium to test your web application and you are having some AJAX in it, you may know that the waitForCondition assertion is your friend. According to the Selenium documentation it: Runs the specified JavaScript snippet repeatedly … Continue reading

Posted in Selenium | Tagged , | 1 Comment