Here QA Tester can find Selenium interview questions with examples. I started to put together and continuously update interview question for Selenium WebDriver test automation tool. This Interview questions were asked during real QA interviews for Selenium QA Automation Engineer position in the leading companies. I believe that any QA Engineer, no matter seasoned one or novice one, would greatly benefits from this collection Selenium interview questions and tips. If you are plan to attend an interview you need to know the answers on these questions by heart. I provided answers on several technical interview questions, but you have to think how you would personally answer these questions. Finally, I would ask anyone of you to provide answers on unanswered Selenium interview question, so we all would benefit from this knowledge sharing and it would help us to land on Selenium QA Automation Engineer job and work successfully. If you were asked the interview question that is not in the list, post it with your answer.

Selenium 2 interview question - How to run Selenium WebDriver without opening browser?

The experienced Selenium Test Engineer will definitely notice that running several hundreds of test cases developed in Selenium WebDriver with using FirefoxDriver and InternetExplorerDriver may take a time, and sooner or later Selenium Test Engineer will ask this questions: Is it possible to run Selenium WebDriver tests without opening browser windows?

The most obvious option will be to use HtmlUnitDriver - the fastest and most lightweight implementation of WebDriver. HtmlUnit Driver is a pure Java driver, runs entirely in-memory, and because of this, QA Tester won't see a browser window during test executing. It is a huge time saver over using real browsers for executing test cases developed with Selenium 2.

No comments: