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 - HtmlUnitDriver benefits and drawbacks

QA Tester could significantly reduce the time required for Selenium 2 test cases execution, by running test cases with HtmlUnitDriver, instead of InternetExplorerDriver or FirefoxDriver, but how reliable is HtmlUnitDriver and what are the benefits or drawbacks of using HtmlUnitDriver?

HtmlUnit Driver is obviously the fastest and most lightweight implementation of WebDriver. In the same time the experienced QA Tester would recommend to use HtmlUnitDriver only for websites with minimal JavaScript. The main reason for this is that none of popular browsers like Chrome, Firefox or IE use Rhino JavaScript, while HtmlUnitDriver used it. It means while testing with HtmlUnit Driver, QA Tester should expect mostly the same behavior, but some of the tests may fail.

No comments: