Wednesday, 5 August 2015

Qa automation software :4+ selenium interview questions

Qa automation software :4+ selenium interview questions:

In qa automation software Here are the top 20 selenium interview questions for experienced as well freshers. 

qa automation software :: Selenium interview Questions and answers:


What are the disadvantage of Selenium IDE tool? 
qa automation software : 1. Selenium IDE tool can only be used in Mozilla Firefox browser. 
2. It is not playing multiple windows when we record it.

What is Selenium RC (Remote Control)? 
qa automation software : Selenium RC allows the test automation expert to use a programming language for maximum flexibility and extensibility in developing test logic. For example, if the application under test returns a result set and the automated test program needs to run tests on each element in the result set, the iteration / loop support of programming language’s can be used to iterate through the result set, calling Selenium commands to run tests on each item. 
 Selenium RC provides an API and library for each of its supported languages. This ability to use Selenium RC with a high level programming language to develop test cases also allows the automated testing to be integrated with the project’s automated build environment.
 
What is Selenium Grid? 
qa automation software : Selenium Grid in the selenium testing suit allows the Selenium RC solution to scale for test suites that must be run in multiple environments. Selenium Grid can be used to run multiple instances of Selenium RC on various operating system and browser configurations. 

What you say about the flexibility of Selenium test suite? 
qa automation software : Selenium testing suite is highly flexible. There are multiple ways to add functionality to Selenium framework to customize test automation. As compared to other test automation tools, it is Selenium’s strongest characteristic. Selenium Remote Control support for multiple programming and scripting languages allows the test automation engineer to build any logic they need into their automated testing and to use a preferred programming or scripting language of one’s choice. Also, the Selenium testing suite is an open source project where code can be modified and enhancements can be submitted for contribution.
 

What test can Selenium do? 
qa automation software : Selenium is basically used for the functional testing of web based applications. It can be used for  testing in the continuous integration environment. It is also useful for agile testing

What is the cost of Selenium test suite? 
qa automation software : Selenium test suite a set of open source software tool, it is free of cost.

What browsers are supported by Selenium Remote Control? 
qa automation software : The test automation expert can use Firefox, IE 7/8, Safari and Opera browsers to run tests in Selenium Remote Control.

What programming languages can you use in Selenium RC? 
qa automation software : C#, Java, Perl, PHP, Python, Ruby

What are the advantages and disadvantages of using Selenium as testing tool? 
qa automation software : Advantages: Free, Simple and powerful DOM (document object model) level testing, can be used for continuous integration; great fit with Agile projects. 
 Disadvantages: Tricky setup; dreary errors diagnosis; can not test client server applications.

What is difference between QTP and Selenium? 
qa automation software : Only web applications can be testing using Selenium testing suite. However, QTP can be used for testing client server applications. Selenium supports following web browsers: Internet Explorer, Firefox, Safari, Opera or Konqueror on Windows, Mac OS X and Linux. However, QTP is limited to Internet Explorer on Windows.
QTP uses scripting language implemented on top of VB Script. However, Selenium test suite has the flexibility to use many languages like Java, .Net, Perl, PHP, Python, and Ruby.
 
What is difference between Borland Silk test and Selenium? 
qa automation software : Selenium is completely free test automation tool, while Silk Test is not. Only web applications can be testing using Selenium testing suite. However, Silk Test can be used for testing client server applications. Selenium supports following web browsers: Internet Explorer, Firefox, Safari, Opera or Konqueror on Windows, Mac OS X and Linux. However, Silk Test is limited to Internet Explorer and Firefox.
Silk Test uses 4Test scripting language. However, Selenium test suite has the flexibility to use many languages like Java, .Net, Perl, PHP, Python, and Ruby.

What do you Know about Selenium?
qa automation software : Selenium first came to life in 2004 when Jason Huggins was testing an internal application at ThoughtWorks.
Selenium was a tremendous tool, it wasn’t without it’s drawbacks. Because of its Javascript based automation engine and the security limitations browsers apply to Javascript, different things became impossible to do. 
Selenium Suite of projects include:
Selenium IDE
Selenium Core
Selenium 1 (known as. Selenium RC or Remote Control)
Selenium 2 (known as. Selenium Webdriver)
Selenium-Grid.

What are Technical Challenges in Selenium?
qa automation software : As you know Selenium is a free ware open source testing tool. There are many challenges with Selenium.
1. Selenium Supports only web based applications
2. It doesn’t support any non web based (Like Win 32, Java Applet, Java Swing, .Net Client Server etc) applications
3. When you compare selenium with QTP, Silk Test, Test Partner and RFT, there are many challenges in terms of maintainability of the test cases
4. Since Selenium is a freeware tool, there is no direct support if one is in trouble with the support of applications
5. There is no object repository concept in Selenium, so maintainability of the objects is very high
6. There are many challenges if one have to interact with Win 32 windows even when you are working with Web based applications
7. Bitmap comparison is not supported by Selenium
8. Any reporting related capabilities, you need to depend on third party tools
9. You need to learn any one of the native language like (.Net, Java, Perl, Python, PHP, Ruby) to work efficiently with the scripting side of selenium.

What are the Test Types supported by Selenium?
qa automation software : Selenium could be used for testing the web based applications. The test types can be supported are:
1. functional,
2. regression,

The automation tool could be implemented for post release validation with continuous integration tools like:
1. Jenkins,
2. Hudson,
3. QuickBuild
4. CruiseCont

What are capabilitys of Selenium IDE?

qa automation software : Selenium IDE (Integrated Development Environment) works similar to commercial tools like QTP, Silk Test and Test Partner etc.
 The below mentioned points describes well about Selenium IDE.
1. Selenium IDE is a Firefox add-on.
2. Selenium IDE can support recording the clicks, typing, and other actions to make a test cases.
3. Using Selenium IDE A Tester can play back the test cases in the Firefox browser
4. Selenium IDE supports exporting the test cases and suites to Selenium RC.
5. Debugging of the test cases with step-by-step can be done
6. breakpoint insertion is possible
7. Page abstraction functionality is supported by Selenium IDE
8. Selenium IDE can supports an extensibility capability allowing the use of add-ons or user extensions that expand the functionality of Selenium IDE.


What are the main components of Selenium testing tools? 

qa automation software : Selenium IDE, Selenium RC and Selenium Grid,SeleniumWebDriver

What is Selenium IDE? 

qa automation software : Selenium IDE is for building Selenium test cases. It operates as a Mozilla Firefox add on and provides an easy to use interface for developing and running individual test cases or entire test suites. Selenium-IDE has a recording feature, which will keep account of user actions as they are performed and store them as a reusable script to play back. 

What is the use of context menu in Selenium IDE? 
qa automation software : It allows the user to pick from a list of assertions and verifications for the selected location. 
 
Can tests recorded using Selenium IDE be run in other browsers? 
qa automation software : Yes. Although Selenium IDE is a Firefox add on, however, tests created in it can also be run in other browsers by using Selenium RC (Selenium Remote Control) and specifying the name of the test suite in command line.

What are the advantage and features of Selenium IDE? 
qa automation software : 1. Intelligent field selection will use IDs, names, or XPath as needed 
2. It is a record & playback tool and the script format can be written in various languages including 
C#, Java, PERL, Python, PHP, HTML 
3. Auto complete for all common Selenium commands 
4. Debug and set breakpoints 
5. Option to automatically assert the title of every page 
6. Support for Selenium user-extensions.js file

No comments:

Post a Comment