Selenium Interview Questions as well as Answers Part 1
Interview Questions on Selenium Fundamentals
1) What is Selenium?
• Selenium is an Open Source Software, used for Test Automation.
• Selenium is a suite of tools that automate spider web browsers.
• Selenium suite of tools are mainly used for Functional as well as Regression Testing of Web Applications.
• Selenium supports MS Windows, Linux, Macintosh etc... operating environments.
• Selenium supports Mozilla Firefox, IE, Chrome, Safari etc... browsers.
• Selenium supports Java, .NET, PHP, Perl, Python as well as Ruby languages for enhancing Test cases, We tin utilisation whatever i the language.
• Most of the Selenium testers using Java Programming Language.
2) When Selenium was launched?
• Selenium was get-go came to life inwards 2004.
• Selenium WebDriver was launched inwards 2006.
• In 2008, the whole Selenium Team decided to merge WebDriver as well as Selenium RC to flat a to a greater extent than powerful tool called Selenium 2.
Selenium 1
Selenium IDE + Selenium RC + Selenium Grid
Selenium 2
Selenium IDE + Selenium RC + Selenium WebDriver + Selenium Grid
Note: Selenium RC is nevertheless beingness developed but entirely for maintenance.
• We tin download Selenium Tools from www.seleniumhq.org website.
3) What is Selenium License?
All Selenium projects are licensed nether the Apache 2.0 License, but It is Open root anybody tin download as well as utilisation selenium suite(Selenium IDE, Selenium RC, Selenium WebDriver as well as Selenium Grid) of tools amongst gratis of cost.
• Anybody tin download as well as utilisation Selenium tools.
• Anybody tin update the root code as well as use.
• Selling updated code is non allowed, it is the primary objective of Apache License.
4) What are Selenium Tools or Selenium Components?
• Selenium IDE
• Selenium RC
• Selenium Webdriver
• Selenium Grid
5) What is Selenium IDE?
• Selenium IDE, IDE stands for Integrated Development Environment is a tool to practice as well as execute examine cases.
• It is a Firefox plugin as well as provides an easy-to-use interface for developing automated examine cases.
Features of Selenium IDE:
• Record as well as Play dorsum Test Cases.
• Execute Test Suites.
• Edit Test Scripts
Drawbacks of Selenium IDE:
• It supports Mozilla Firefox Browser only.
• Data Driven Testing (executing tests using multiple sets of examine data) is non possible.• Test Results are non generated using Selenium IDE (It generates summary only).• Random Test Cases execution is non possible• Selenium IDE doesn’t back upward Flow command Statements.
• It doesn't back upward programming (Conditional statements, loop statements etc...) for enhancing Test cases.
• It is non suitable for complex Test example design.
• It doesn't back upward random Test example execution.
6) What is Selenium RC?
• Selenium RC(Remote Control) solves the limitations of Selenium IDE.
• It supports diverse programming languages similar Java, C#, PHP, Perl, Python as well as Ruby languages to heighten Test cases.
Advantages of Selenium RC:
• It supports Random Test cases execution
• Supports Flow command statements as well as other programming features to heighten Tests.
• Supports diverse Browsers for Test example execution.
Disadvantage of Selenium RC:
• Test Case execution fourth dimension is to a greater extent than because every customer asking get-go post to Selenium Server subsequently that post to Browser.
• Executing Tests inwards parallel is non possible.
7) What is Selenium WebDriver?
• Selenium WebDriver fits inwards the same utilisation equally RC did as well as Webdriver overcomes the limitations of Selenium RC.
• It is a most of import tool inwards Selenium suite.
• It is has programming interface allows us to practice as well as execute Test cases against dissimilar browsers (ex: Firefox, IE, Google Chrome etc...)
• WebDriver supports diverse programming languages to heighten Test cases.
• WebDriver supports diverse operating environments to practice as well as execute Test cases(Ex: MS Windows, UNIX as well as Macintosh etc...)
• WebDriver supports Data Driven testing, Cross browser testing.
• Webdriver is faster than other tools of Selenium suite.
• WebDriver supports Parallel examine execution amongst the assistance of TestNG.
• WebDriver doesn't convey IDE, entirely Programming interface.
• WebDriver doesn't convey built inwards Result reporting facility, it provides summary only.(* amongst the assistance of TestNG nosotros tin generate HTML examine reports.)
• No object Repository inwards selenium WebDriver (It is for entire Suite), as well as then no centralized maintenance of Objects).
• Using Element locators, Webdriver methods as well as Programming features nosotros tin practice as well as execute Test cases.
8) What is Selenium Grid?
• Selenium Grid is entirely for Test example execution, non used for Test design.
• Selenium Grid allows us to run our Test cases inwards parallel, dissimilar tests tin move run at the same fourth dimension on dissimilar remote machines.
9) What are the differences betwixt Selenium as well as UFT?
Selenium as well as UFT (formerly QTP) both used for Functional as well as Regression Testing.
• Selenium supports Web Applications entirely where equally UFT supports Desktop as well as Web Applications.
• Selenium is an Open root software but UFT is a Vendor tool.
• Selenium supports MS Windows, Linux as well as Macintose etc... operating environments but UFT supports Windows operating surround only.
• Selenium supports diverse programming as well as scripting languages (Java, .Net, PHP, Perl, Python as well as Ruby) for enhancing examine cases but UFT supports VBScript only.
10) What are the Advantages of Selenium?
• It is an Open root Software, as well as then License cost.
• It supports diverse operating environments (MS Windows, Linux, Macintose etc...) to practice as well as execute Test cases.
• It supports diverse programming as well as scripting languages (Java, .Net, PHP, Perl, Python as well as Ruby) for enhancing examine cases.
• It supports Cross Browser Testing.
• It supports Parallel Test Execution.
11) What are the Disadvantages of Selenium?
• It supports Web Applications Testing only, doesn't back upward Desktop Applications.
• Since it is an Open root software, no reliable technical back upward from anybody.
• New features may non move properly.
• No centralized maintenance of objects/elements.
12) What are the Testing Frameworks used inwards Selenium?
• JNuit, TestNG etc ... Testing frameworks used inwards Selenium.
• JNunit volition assistance to execute Test Batches as well as generate Test Reports.
• TestNG framework is used to grouping Test cases, Execute Test suites, as well as generate Test Reports.
13) What most Selenium Certification?
• Since it is an opened upward root software, No Authorized Certification for Selenium.
• Some organizations are conducting Selenium certification examine but no value guaranty for them inwards the information technology Industry.
14) How to Configure Selenium?
First Choose Selenium Tools, Programming linguistic communication as well as Testing framework for Test Automation.
Suppose nosotros selected,
Selenium WebDriver for Test example design.
Java Programming linguistic communication for enhancing Test cases.
TestNG framework for grouping examine cases, executing Test suites as well as generating Test Reports.
Configure Selenium:
• Download as well as Install Java
• Download as well as extract Eclipse IDE to practice as well as execute Java programs.
• Download as well as Install Firebug as well as Firepath (Firefox plug ins) to inspect Elements.
• No pulg ins are required for IE as well as Google chrome browsers, they convey built inwards developer tools.
• Download Selenium WebDriver Java linguistic communication bindings from www.seleniumhq.org spider web site.
• Add WebDriver appall files to Java Project inwards Eclipse IDE.
• Download TestNG software from Eclipse IDE as well as Install.
------------------------------------------------------------
Selenium Interview Questions-1
Selenium Interview Questions-2
Java for Selenium Interview Questions
Selenium WebDriver Questions
Selenium IDE Questions
TestNG Interview Questions
Sumber http://www.gcreddy.com/
Interview Questions on Selenium Fundamentals
1) What is Selenium?
• Selenium is an Open Source Software, used for Test Automation.
• Selenium is a suite of tools that automate spider web browsers.
• Selenium suite of tools are mainly used for Functional as well as Regression Testing of Web Applications.
• Selenium supports MS Windows, Linux, Macintosh etc... operating environments.
• Selenium supports Mozilla Firefox, IE, Chrome, Safari etc... browsers.
• Selenium supports Java, .NET, PHP, Perl, Python as well as Ruby languages for enhancing Test cases, We tin utilisation whatever i the language.
• Most of the Selenium testers using Java Programming Language.
2) When Selenium was launched?
• Selenium was get-go came to life inwards 2004.
• Selenium WebDriver was launched inwards 2006.
• In 2008, the whole Selenium Team decided to merge WebDriver as well as Selenium RC to flat a to a greater extent than powerful tool called Selenium 2.
Selenium 1
Selenium IDE + Selenium RC + Selenium Grid
Selenium 2
Selenium IDE + Selenium RC + Selenium WebDriver + Selenium Grid
Note: Selenium RC is nevertheless beingness developed but entirely for maintenance.
• We tin download Selenium Tools from www.seleniumhq.org website.
3) What is Selenium License?
All Selenium projects are licensed nether the Apache 2.0 License, but It is Open root anybody tin download as well as utilisation selenium suite(Selenium IDE, Selenium RC, Selenium WebDriver as well as Selenium Grid) of tools amongst gratis of cost.
• Anybody tin download as well as utilisation Selenium tools.
• Anybody tin update the root code as well as use.
• Selling updated code is non allowed, it is the primary objective of Apache License.
4) What are Selenium Tools or Selenium Components?
• Selenium IDE
• Selenium RC
• Selenium Webdriver
• Selenium Grid
5) What is Selenium IDE?
• Selenium IDE, IDE stands for Integrated Development Environment is a tool to practice as well as execute examine cases.
• It is a Firefox plugin as well as provides an easy-to-use interface for developing automated examine cases.
Features of Selenium IDE:
• Record as well as Play dorsum Test Cases.
• Execute Test Suites.
• Edit Test Scripts
Drawbacks of Selenium IDE:
• It supports Mozilla Firefox Browser only.
• Data Driven Testing (executing tests using multiple sets of examine data) is non possible.• Test Results are non generated using Selenium IDE (It generates summary only).• Random Test Cases execution is non possible• Selenium IDE doesn’t back upward Flow command Statements.
• It doesn't back upward programming (Conditional statements, loop statements etc...) for enhancing Test cases.
• It is non suitable for complex Test example design.
• It doesn't back upward random Test example execution.
6) What is Selenium RC?
• Selenium RC(Remote Control) solves the limitations of Selenium IDE.
• It supports diverse programming languages similar Java, C#, PHP, Perl, Python as well as Ruby languages to heighten Test cases.
Advantages of Selenium RC:
• It supports Random Test cases execution
• Supports Flow command statements as well as other programming features to heighten Tests.
• Supports diverse Browsers for Test example execution.
Disadvantage of Selenium RC:
• Test Case execution fourth dimension is to a greater extent than because every customer asking get-go post to Selenium Server subsequently that post to Browser.
• Executing Tests inwards parallel is non possible.
7) What is Selenium WebDriver?
• Selenium WebDriver fits inwards the same utilisation equally RC did as well as Webdriver overcomes the limitations of Selenium RC.
• It is a most of import tool inwards Selenium suite.
• It is has programming interface allows us to practice as well as execute Test cases against dissimilar browsers (ex: Firefox, IE, Google Chrome etc...)
• WebDriver supports diverse programming languages to heighten Test cases.
• WebDriver supports diverse operating environments to practice as well as execute Test cases(Ex: MS Windows, UNIX as well as Macintosh etc...)
• WebDriver supports Data Driven testing, Cross browser testing.
• Webdriver is faster than other tools of Selenium suite.
• WebDriver supports Parallel examine execution amongst the assistance of TestNG.
• WebDriver doesn't convey IDE, entirely Programming interface.
• WebDriver doesn't convey built inwards Result reporting facility, it provides summary only.(* amongst the assistance of TestNG nosotros tin generate HTML examine reports.)
• No object Repository inwards selenium WebDriver (It is for entire Suite), as well as then no centralized maintenance of Objects).
• Using Element locators, Webdriver methods as well as Programming features nosotros tin practice as well as execute Test cases.
8) What is Selenium Grid?
• Selenium Grid is entirely for Test example execution, non used for Test design.
• Selenium Grid allows us to run our Test cases inwards parallel, dissimilar tests tin move run at the same fourth dimension on dissimilar remote machines.
9) What are the differences betwixt Selenium as well as UFT?
Selenium as well as UFT (formerly QTP) both used for Functional as well as Regression Testing.
• Selenium supports Web Applications entirely where equally UFT supports Desktop as well as Web Applications.
• Selenium is an Open root software but UFT is a Vendor tool.
• Selenium supports MS Windows, Linux as well as Macintose etc... operating environments but UFT supports Windows operating surround only.
• Selenium supports diverse programming as well as scripting languages (Java, .Net, PHP, Perl, Python as well as Ruby) for enhancing examine cases but UFT supports VBScript only.
10) What are the Advantages of Selenium?
• It is an Open root Software, as well as then License cost.
• It supports diverse operating environments (MS Windows, Linux, Macintose etc...) to practice as well as execute Test cases.
• It supports diverse programming as well as scripting languages (Java, .Net, PHP, Perl, Python as well as Ruby) for enhancing examine cases.
• It supports Cross Browser Testing.
• It supports Parallel Test Execution.
11) What are the Disadvantages of Selenium?
• It supports Web Applications Testing only, doesn't back upward Desktop Applications.
• Since it is an Open root software, no reliable technical back upward from anybody.
• New features may non move properly.
• No centralized maintenance of objects/elements.
12) What are the Testing Frameworks used inwards Selenium?
• JNuit, TestNG etc ... Testing frameworks used inwards Selenium.
• JNunit volition assistance to execute Test Batches as well as generate Test Reports.
• TestNG framework is used to grouping Test cases, Execute Test suites, as well as generate Test Reports.
13) What most Selenium Certification?
• Since it is an opened upward root software, No Authorized Certification for Selenium.
• Some organizations are conducting Selenium certification examine but no value guaranty for them inwards the information technology Industry.
14) How to Configure Selenium?
First Choose Selenium Tools, Programming linguistic communication as well as Testing framework for Test Automation.
Suppose nosotros selected,
Selenium WebDriver for Test example design.
Java Programming linguistic communication for enhancing Test cases.
TestNG framework for grouping examine cases, executing Test suites as well as generating Test Reports.
Configure Selenium:
• Download as well as Install Java
• Download as well as extract Eclipse IDE to practice as well as execute Java programs.
• Download as well as Install Firebug as well as Firepath (Firefox plug ins) to inspect Elements.
• No pulg ins are required for IE as well as Google chrome browsers, they convey built inwards developer tools.
• Download Selenium WebDriver Java linguistic communication bindings from www.seleniumhq.org spider web site.
• Add WebDriver appall files to Java Project inwards Eclipse IDE.
• Download TestNG software from Eclipse IDE as well as Install.
------------------------------------------------------------
Selenium Interview Questions-1
Selenium Interview Questions-2
Java for Selenium Interview Questions
Selenium WebDriver Questions
Selenium IDE Questions
TestNG Interview Questions