Learn Selenium With Quiz – Basic Level 3

As a part of a Series of posts on Learn Selenium With Quiz, This set contains very basic questions which people generally confuse with. I will suggest you to read below post before taking this quiz:

Hierarchy of Classes and Interfaces in Selenium WebDriver

Now take the quiz here:

Welcome to your Learn Selenium With Quiz – Basic Level 3

1. Which statement/s is not correct below?
2. Which statement/s is not correct below?
3. Which Java concept is shown in below statement:

WebDriver driver = new ChromeDriver()
4. Which statement/s  is correct below:

5. Which statement is will throw a RunTime Exception?

6. What statement below defines the need of  browser executable(Ex:-chromedriver.exe for windows) file?

7. How many browsers will be launched by below lines of code:
           ChromeDriver cd1= new ChromeDriver();
           ChromeDriver cd2= new ChromeDriver();

8. How many browsers will be launched:



ChromeDriver cd1= new ChromeDriver();
ChromeDriver cd1= new ChromeDriver();


9. How to maximize a browser window in Selenium WebDriver?

10. How many browsers will be closed at end of program?






ChromeDriver cd1= new ChromeDriver();
ChromeDriver cd2= new ChromeDriver();
cd1.quit();


Author: Amod Mahajan

My name is Amod Mahajan and I am an IT employee with 6+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went through so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning

Leave a Reply

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.
%d bloggers like this: