Tag 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

Overview This post describes how to handle scenario level clean-up in a predictable way. Note: This blog post was originally written for SpecFlow 1.9 version. In SpecFlow 2+ version you should use scenario scoped bindings  with  [BeforeScenario] execution order can be … Continue reading

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