Category Archives: Selenium

Better handling ‘NoSuchElementException’ using simple remote web driver wrapper

While implementing test scenarios, I often write some element selectors wrong and finally get ‘NoSuchElementException’ when run the test. Unfortunately it does not specify, which selector caused the problem. Its message only says the following: OpenQA.Selenium.NoSuchElementException: no such element (Session … Continue reading

Posted in Selenium | Tagged | Leave a comment

Handling test data clean up in SpecFlow

Writing advanced UI tests with SpecFlow and Selenium often requires some test data to be created. During the tests execution this test data is changed. One of requirements for a good test is┬árepeatedness. Test have to be launched any times … Continue reading

Posted in Selenium, SpecFlow | Tagged , , | Leave a comment