Selenium Interview Questions together with Answers
1) Selenium Real Time Interview Questions
2) Interview Questions on Selenium Fundamentals
3) Interview Questions on Selenium Test Process
4) Selenium WebDriver Interview Questions
5) Java for Selenium Interview Questions
6) TestNG Interview Questions
7) Selenium IDE Interview Questions
8) Selenium Grid Interview Questions
9) Selenium Multiple Choice Questions
-----------------------------------------------------
1) What is Selenium?
• Selenium is a Suite of Software tools to automate Web browsers.
(Selenium automates Web Applications only, doesn't automate Desktop Applications).
• Selenium Supports diverse Operating environments.
(MS Windows, Linux, Macintosh etc...)
• Selenium suite of Tools mainly used for Functional together with Regression Testing.
2) What are the Tools or Components of Selenium?
i) Selenium IDE (Integrated Development Environment)
ii) Selenium RC (Remote Control)
iii) Selenium WebDriver
iv) Selenium Grid
3) What is Selenium IDE?
Selenium IDE is an integrated evolution environs to exercise together with execute Selenium Test cases. It is a Firefox extension, together with allows us to record, edit, together with debug exam cases.
4) What is Selenium RC? (* outdated Tool)
Selenium Remote Control (RC) is a exam tool that allows us to write automated spider web application UI tests inwards whatsoever programming linguistic communication against whatsoever HTTP website using whatsoever mainstream JavaScript-enabled browser.
5) What is Selenium WebDriver? (Important tool inwards Selenium suite)
• WebDriver is used to exercise Test cases that run on diverse browsers, using chemical percentage locators together with WebDriver API commands nosotros tin exercise Test cases.
• We tin lift Test cases using Programming features together with Testing Framework Annotations.
• WebDriver was designed to render a simpler, to a greater extent than concise programming interface inwards improver to addressing to a greater extent than or less limitations inwards the Selenium-RC API.
• Selenium-WebDriver was developed to ameliorate back upwards dynamic spider web pages where elements of a page may alter without the page itself existence reloaded.
6) What is Selenium Grid?
Selenium-Grid back upwards distributed exam execution, It allows us run our tests on dissimilar machines against dissimilar browsers inwards parallel. That is, running multiple tests at the same fourth dimension against dissimilar machines running dissimilar browsers together with operating systems.
7) What is TestNG together with usage of TestNG inwards Selenium?
TestNG is a Testing Framework like to JUnit or NUnit used to grouping Test cases, run Test batches, parameterizing Tests, together with its render detailed html Test reports.
8) What is Maven together with usage of Maven inwards Selenium?
• Apache Maven is Java projection management together with construct management tool, nosotros tin cope Java projection builds rattling easily using maven.
• As Maven Is construct management tool, It volition helps us to cope our Selenium project's construct easily. Maven manages our Selenium exam project's construct compilation, documentation together with other related projection tasks It self. It volition helps us to exercise correct projection structure, add together together with cope scandalise files In project's construct path etc..
9) What are the Advantages of Selenium?
• Open Source Software
• Supports diverse Programming Languages to write Test Sceipts
• Supports diverse Browsers to exercise together with execute Test Cases/Test Scripts.
• Supports diverse Operating environments to deport Testing.
• Supports Parallel Test execution.
10) What are the Disadvantages of Selenium?
• No reliable Technical support
• Supports Web based / Browser based Applications only
• No built-in Result Reporting facility.
• New features may non function properly.
-----------------------------------------------------
II) Selenium Test Process / Selenium Test Life Cycle
1) What are the of import phases of Selenium Test Process?
i) Test Planning
ii) Generate Basic Tests
iii) Enhance Tests
iv) Running & Debugging Tests
v) Reporting together with Tracking Defects
2) What are the of import tasks inwards Test Planning phase?
• Select Test Cases for Automation
• Choose Selenium Tools together with others for Test Automation
• Configure Selenium
• Design together with implement Framework
3) How to exercise Test cases inwards Selenium?
Selenium IDE:
Using Element Locators together with Selenese Commands exercise Test Cases.
Selenium WebDriver:
Using Element Locators together with WebDriver API commands exercise Test cases.
4) How to lift Test Cases inwards Selenium WebDriver?
Using Programming (either Java or Python or Ruby or PHP or Perl or C#) together with Testing framework Annotations (either JUnit or TestNG etc...) nosotros tin lift Test Cases.
5) What is Enhancing Test Cases?
Inserting Verification points, Parameterization, Synchronization, Error Handling, Adding Comments etc... amongst honour to Test Requirements.
6) How to Parameterize Selenium IDE Test Cases?
Selenium IDE doesn't back upwards Parameterization/Data driven Testing.
7) How to Parameterize Selenium WebDriver Test Cases?
Using programming features (Ex: Java) together with Testing Framework (Ex: TestNG) Annotations nosotros tin Parameterize Selenium WebDriver Test cases.
8) How to deport Cross Browser Testing amongst Selenium IDE?
Selenium IDE doesn't back upwards Cross browser Testing, it supports Mozilla Firefox Browser only.
9) How to keep Objects/Elements inwards a centralized location?
In Selenium WebDriver using POM (Page Object Model) nosotros tin keep Objects/Elements inwards a centralized location.
10) How to deport Database Testing amongst Selenium WebDriver?
With the assistance of programming features nosotros tin connect to whatsoever Database Management System (Ex: Oracle, MS SQL Server, MySQL etc...) together with deport Database Testing.
11) How to exercise Test cases using Selenium Grid?
Selenium Grid doesn't back upwards Creating Test Cases, it supports Test execution alone (Parallel Testing), nosotros tin execute Selenium RC together with Selenium WebDriver Test Cases using Selenium Grid).
-------------------------------------------------------
1) Selenium Real Time Interview Questions
2) Interview Questions on Selenium Fundamentals
3) Interview Questions on Selenium Test Process
4) Selenium WebDriver Interview Questions
5) Java for Selenium Interview Questions
6) TestNG Interview Questions
7) Selenium IDE Interview Questions
8) Selenium Grid Interview Questions
9) Selenium Multiple Choice Questions
-----------------------------------------------------
I) Selenium Fundamentals
1) What is Selenium?
• Selenium is a Suite of Software tools to automate Web browsers.
(Selenium automates Web Applications only, doesn't automate Desktop Applications).
• Selenium Supports diverse Operating environments.
(MS Windows, Linux, Macintosh etc...)
• Selenium suite of Tools mainly used for Functional together with Regression Testing.
2) What are the Tools or Components of Selenium?
i) Selenium IDE (Integrated Development Environment)
ii) Selenium RC (Remote Control)
iii) Selenium WebDriver
iv) Selenium Grid
3) What is Selenium IDE?
Selenium IDE is an integrated evolution environs to exercise together with execute Selenium Test cases. It is a Firefox extension, together with allows us to record, edit, together with debug exam cases.
4) What is Selenium RC? (* outdated Tool)
Selenium Remote Control (RC) is a exam tool that allows us to write automated spider web application UI tests inwards whatsoever programming linguistic communication against whatsoever HTTP website using whatsoever mainstream JavaScript-enabled browser.
5) What is Selenium WebDriver? (Important tool inwards Selenium suite)
• WebDriver is used to exercise Test cases that run on diverse browsers, using chemical percentage locators together with WebDriver API commands nosotros tin exercise Test cases.
• We tin lift Test cases using Programming features together with Testing Framework Annotations.
• WebDriver was designed to render a simpler, to a greater extent than concise programming interface inwards improver to addressing to a greater extent than or less limitations inwards the Selenium-RC API.
• Selenium-WebDriver was developed to ameliorate back upwards dynamic spider web pages where elements of a page may alter without the page itself existence reloaded.
6) What is Selenium Grid?
Selenium-Grid back upwards distributed exam execution, It allows us run our tests on dissimilar machines against dissimilar browsers inwards parallel. That is, running multiple tests at the same fourth dimension against dissimilar machines running dissimilar browsers together with operating systems.
7) What is TestNG together with usage of TestNG inwards Selenium?
TestNG is a Testing Framework like to JUnit or NUnit used to grouping Test cases, run Test batches, parameterizing Tests, together with its render detailed html Test reports.
8) What is Maven together with usage of Maven inwards Selenium?
• Apache Maven is Java projection management together with construct management tool, nosotros tin cope Java projection builds rattling easily using maven.
• As Maven Is construct management tool, It volition helps us to cope our Selenium project's construct easily. Maven manages our Selenium exam project's construct compilation, documentation together with other related projection tasks It self. It volition helps us to exercise correct projection structure, add together together with cope scandalise files In project's construct path etc..
9) What are the Advantages of Selenium?
• Open Source Software
• Supports diverse Programming Languages to write Test Sceipts
• Supports diverse Browsers to exercise together with execute Test Cases/Test Scripts.
• Supports diverse Operating environments to deport Testing.
• Supports Parallel Test execution.
10) What are the Disadvantages of Selenium?
• No reliable Technical support
• Supports Web based / Browser based Applications only
• No built-in Result Reporting facility.
• New features may non function properly.
-----------------------------------------------------
II) Selenium Test Process / Selenium Test Life Cycle
1) What are the of import phases of Selenium Test Process?
i) Test Planning
ii) Generate Basic Tests
iii) Enhance Tests
iv) Running & Debugging Tests
v) Reporting together with Tracking Defects
2) What are the of import tasks inwards Test Planning phase?
• Select Test Cases for Automation
• Choose Selenium Tools together with others for Test Automation
• Configure Selenium
• Design together with implement Framework
3) How to exercise Test cases inwards Selenium?
Selenium IDE:
Using Element Locators together with Selenese Commands exercise Test Cases.
Selenium WebDriver:
Using Element Locators together with WebDriver API commands exercise Test cases.
4) How to lift Test Cases inwards Selenium WebDriver?
Using Programming (either Java or Python or Ruby or PHP or Perl or C#) together with Testing framework Annotations (either JUnit or TestNG etc...) nosotros tin lift Test Cases.
5) What is Enhancing Test Cases?
Inserting Verification points, Parameterization, Synchronization, Error Handling, Adding Comments etc... amongst honour to Test Requirements.
6) How to Parameterize Selenium IDE Test Cases?
Selenium IDE doesn't back upwards Parameterization/Data driven Testing.
7) How to Parameterize Selenium WebDriver Test Cases?
Using programming features (Ex: Java) together with Testing Framework (Ex: TestNG) Annotations nosotros tin Parameterize Selenium WebDriver Test cases.
8) How to deport Cross Browser Testing amongst Selenium IDE?
Selenium IDE doesn't back upwards Cross browser Testing, it supports Mozilla Firefox Browser only.
9) How to keep Objects/Elements inwards a centralized location?
In Selenium WebDriver using POM (Page Object Model) nosotros tin keep Objects/Elements inwards a centralized location.
10) How to deport Database Testing amongst Selenium WebDriver?
With the assistance of programming features nosotros tin connect to whatsoever Database Management System (Ex: Oracle, MS SQL Server, MySQL etc...) together with deport Database Testing.
11) How to exercise Test cases using Selenium Grid?
Selenium Grid doesn't back upwards Creating Test Cases, it supports Test execution alone (Parallel Testing), nosotros tin execute Selenium RC together with Selenium WebDriver Test Cases using Selenium Grid).
-------------------------------------------------------