Selenium Questions

Some Selenium Interview Questions based out of my experience.

Selenium Overview

1. Which is the only browser in which Selenium IDE can be used ?
A)Safari B)Firefox C)GoogleChrome D)Internet Explorer

Answer: Firefox

2. Selenium supports which kinds of applications?
A) Web Based applications B)Stand alone applications C)Both D)None of the above

Answer: Web Based Applications

3. Find the type of text pattern used in Selenium
A) Chronological Sequence B) Globbing C) Simulation D)None of the above

Answer: Globbing

Will be updated with more questions then and there. Keep visiting

Selenium RC

1. Which of the following command is a “Onevent Handler”
A) focus() B) assertAlert() C) fireEvent() D) alert()

Answer: fireEvent()

2. Selenium server is developed in
A)Perl B) Java C) Python D).Net

Answer: Java

Will be updated with more questions then and there. Keep visiting

Selenium WebDriver

1. Which Driver implementation will allow headless mode
A) FireFoxDriver() B) HtmlUnitDriver() C)SafariDriver D) ChromeDriver

Answer : HTMLUnitDriver
Will be updated with more questions then and there. Keep visiting

Selenium GRID

8 thoughts on “Selenium Questions

  1. November 8, 2012 at 12:00 am

    Amazing blog! Do you have any recommendations for aspiring writers? I’m planning to start my own blog soon but I’m a little lost on everything. Would you advise starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally confused .. Any suggestions? Thanks a lot!

    1. November 8, 2012 at 11:57 am

      Well, even I was in same situation few months back. Then owning this blog now. Just start with the free version of and after you have enough articles you can purchase domain and publicize to all.

      You can even purchase domain and host it from their server, GoDaddy is pretty low and nice.

      Email me at for more.

  2. November 13, 2012 at 6:47 pm

    Excellent blog for selenium beginners like me. Do you have any post which talks about how to identify between using id, xpath and css while automating a website :)

    1. November 13, 2012 at 10:33 pm

      I am yet to post on that. Keep visiting the blog.

      1. Sunil Wali
        June 18, 2013 at 1:27 pm

        Hi Manoj,

        I hope your doing well!

        I have gone through your blog”it was really very useful thanks.
        Currently I am working on Selenium RC from more then year now wanted to move to web driver.I am facing lot of problems regarding Report generation using web driver but in Selenium RC We were using “logging selenium”.

        Could you please guide me regarding the report generation issue?

        1. June 21, 2013 at 6:02 am

          Can you try posting in Selenium-User’s group or if you use Testng then in Test-ng user’s group.
          You will get a lot of help from others too.

        2. dhilip
          September 3, 2013 at 7:10 am

          Any one can help me how to write the data to excel from webpage?

    2. Ramakrishna
      March 5, 2013 at 8:25 pm

      hi saisrk,

      What exactly you would like to know using id,xpath, and css to automate…. Do you like to know how to identify the elements using those…?

Leave a Reply

Your email address will not be published. Required fields are marked *