Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Code to type text in a textbox using Selenium?

Answer» CODE to type TEXT in a textbox using SELENIUM?
We use sendKeys("String") method to enter the string in a textbox.
syntax
WebElement USERNAME = drv.findElement(By.id("txtBoxId"));
username.sendKeys("string value");
2.

Seven main reasons why should we use Selenium for test automation?

Answer»

Seven main reasons why should we use SELENIUM for test automation?
Below are the seven main reasons what why we should use Se;enium for test automation
(1)Selenium is a free and open-source tool
(2)Selenium has a large user base and a GOOD community support
(3)Selenium has one of the main feature like cross-browser compatibility and example are Firefox, Chrome, Internet Explorer, Safari, etc.
(4)Selenium one more feature is great platform compatibility example are Windows, Mac OS, Linux, etc.
(5)Selenium has supports multiple programming languages like JAVA, C#, RUBY, Python, Perl, etc.
(6)Selenium has fresh and regular REPOSITORY developments
(7)Selenium supports distributed testing.

3.

Major Selenium components Lists

Answer»

Below are the LISTS of 4 Selenium components
(1)Selenium IDE
(2)Selenium RC
(3)Selenium Webdriver
(4)Selenium GRID

4.

One main reason why Selenium 2.0 different from Selenium 3.0

Answer» ONE main reason why Selenium 2.0 different from Selenium 3.0
One of the main reason why Selenium 2.0 is different then selenium 3.0 is that Selenium Rs is called selenium 2.0. And INTEGRATION of Selenium RC and WEBDRIVER as a single tool that has FORMED Selenium 3.0.
5.

Write down seven most important features of Selenium for test automation?

Answer»

Write down seven most important features of Selenium for test automation?
Below are the seven most important features of Selenium for test automation
(1)Selenium is free and open source tool that makes it useful.
(2)Selenium has large user base and a popular community support.
(3)Selenium has one of the most usefull features is it is cross-browser compatibility (Example:- Firefox, Chrome, Internet Explorer, SAFARI etc.)
(4)Selenium is also very useful when we say about platform compatibility (Example:- WINDOWS, Mac OS, Linux etc.)
(5)Selenium supports distributed testing.
(6)Selenium support multiple programming languages (Example:- Java, C#, Ruby, Python, Perl etc.)
(7)Selenium has fresh and regular REPOSITORY developments.

6.

Name the different Programming Language, Operating System and Browser supported by Selenium?

Answer»

Name the different Programming Language, Operating System and Browser SUPPORTED by Selenium?
Below are the list of different Programming Language, Operating System and Browser supported by Selenium:-
(1)Programming Language:-JavaScript, C#, Java, Python, PHP, Ruby, Perl.
(2)Operating System:-Solaris, Android, Mac, iOS, Windows, LINUX.
(3)Browsers:-Safari, IE, Edge, Opera, Mozilla Firefox, Google Chrome etc.