AUTOMATION
1.what is Automation Testing?
Ans : Simulation of any task using tool is known as Automation Testing..
2.why Automation?
Ans:
SELENIUM WEBDRIVER
1.what is selenium webdriver?
Ans:
Its is free hand open source web application automation tool which
performs are simulates the user intraction with browsers(typing,clicking,etc..)
by using native methods of browsers.
2.why selenium webdriver?
Ans:
1.It supports with all browsers like Firefox, IE, Chrome, Safari, Opera etc.
2.It supports the implementation of listeners
3.Interacts natively with browser application
4.Doesn’t required to start server before executing the test script.
5.It supports the implementation of listeners
3.Advantage of selenium selenium webdriver over RC,IDE?
Ans:
1.It supports with all browsers like Firefox, IE, Chrome, Safari, Opera etc.
2.It supports of moving mouse cursors.
3.No need to append full xpath with ‘xpath=\\’ syntax
4.It supports the implementation of listeners
5.It support to test iphone/Android applications
4.Disadvantage of selenium webdriver over RC,IDE?
Ans:
1.It doesn’t supports Record and playback
2.complex and large API.
3.Required more coding knowledge
5.What are difference between Selenium IDE, RC and WebDriver?
1.what is Automation Testing?
Ans : Simulation of any task using tool is known as Automation Testing..
2.why Automation?
Ans:
1. To reduce manual effort
2. Increases execution speed
3. Testing Improves Accuracy
4. Once automated tests are created they can easily be repeated and
they can be extended to perform tasks impossible with manual testing.
they can be extended to perform tasks impossible with manual testing.
5. Automated testing can simulate tens, hundreds or thousands
of virtual users interacting with network or web software and applications.
of virtual users interacting with network or web software and applications.
3.Advantage of Automation Testing?
Ans:
1.Save effort
2.code Reusable
3.save Time
4.Accuracy
4.Disadvantage of Automation Testing?
Ans:
1.Initial Investment is more
2.Code Maintenance is complicated
3.Long term project only useful
5.Types of automation testing tool?
Ans:
Web application Automation Tool
1.selenium
Functional automation tools:
1. Winrunner (from mercury),
2. Quick test professional (from mercury),
3. Silk test (from seague)
4. Rational robot (from IBM)
5. Xrunner (from mercury),
1. Winrunner (from mercury),
2. Quick test professional (from mercury),
3. Silk test (from seague)
4. Rational robot (from IBM)
5. Xrunner (from mercury),
Performance Testing Tools :
1. Load runner (from mercury),
2. Silk performer (from seague)
1. Load runner (from mercury),
2. Silk performer (from seague)
3.jmeter
SELENIUM
1.what is selenium?
Ans:
1.Selenium is a free and open source web application Automation Tool.
2.In order to use selenium we need not purchase any license(free) and
we can also download source code of the selenium(open source).
we can also download source code of the selenium(open source).
2.why selenium?
Ans:
1.Frequent regression testing
2.Rapid feedback to developers
3.Virtually unlimited iterations of test case execution
4.Support for Agile and extreme development methodologies
5.Disciplined documentation of test cases
6.Customized defect reporting
7.Finding defects missed by manual testing
3.Advantages of selenium over qtp?
Ans:
1.Open source tool
2.selenium supports more OS like windows,linux,Macintosh
3.It supports all browers like(chrome,mozilla,opera,safari)
4.It supports many languages like (Java, Ruby, Python, C#, Perl, Groovy)
5.Test scripts can be developed in various IDEs like Eclipse, Visual Studio, Netbeans etc.
4.Disadvantages of selenium over qtp?
Ans:
1.It requires more coding Knowledge
2.It is used for only web application
3.It has no official tech support because it is open source
Parameter | Selenium | QTP |
Licensing Cost | It is open source. So, there’s no licensing or renewal cost for this tool. It’s free of cost. | User needs license for QTP which is very costly. |
Additional Plug-ins | It supports addition of plug-ins to achieve desired results that are not provided by Selenium Core.
Since, selenium is open source, plug-ins are also available free of cost.
| It also supports add-ons, but user needs to purchase license for them. |
Efforts and Skill | User needs to have good amount of Java skill and more coding effort is required to implement the functions. | It requires less effort to create a script, as it has a very good user friendly script development environment. |
Actual End-user Simulation | Selenium performs actions in the background on the browser i.e. user can execute tests with the browser minimized. | QTP executes scripts equivalent to a person performing those steps manually on the application. So, browsers can’t be minimized (user cannot perform any other action on the machine while test is running). |
Operating System | Selenium supports more number of OS like Windows, Linux and Macintosh. | QTP supports only Windows. |
Application Type | It can be used to test only web based applications. | It can test web-based as well as desktop applications. |
Browsers | It supports IE, Firefox, Safari, Opera and few more. | It supports only IE and Firefox. |
Script Development Language | Scripts can be developed in any of the languages like Java, Ruby, Python, C#, Perl, Groovy and many more. | Scripts can be developed only in VBScript or JavaScript. |
Technical Support | Since it is an open source, it has no official tech support. | QTP offers very good technical support via phone, mail, web forum. |
Test Development Environment | Test scripts can be developed in various IDEs like Eclipse, Visual Studio, Netbeans etc. | Test scripts can be developed only in QTP. |
SELENIUM WEBDRIVER
1.what is selenium webdriver?
Ans:
Its is free hand open source web application automation tool which
performs are simulates the user intraction with browsers(typing,clicking,etc..)
by using native methods of browsers.
2.why selenium webdriver?
Ans:
1.It supports with all browsers like Firefox, IE, Chrome, Safari, Opera etc.
2.It supports the implementation of listeners
3.Interacts natively with browser application
4.Doesn’t required to start server before executing the test script.
5.It supports the implementation of listeners
3.Advantage of selenium selenium webdriver over RC,IDE?
Ans:
1.It supports with all browsers like Firefox, IE, Chrome, Safari, Opera etc.
2.It supports of moving mouse cursors.
3.No need to append full xpath with ‘xpath=\\’ syntax
4.It supports the implementation of listeners
5.It support to test iphone/Android applications
4.Disadvantage of selenium webdriver over RC,IDE?
Ans:
1.It doesn’t supports Record and playback
2.complex and large API.
3.Required more coding knowledge
5.What are difference between Selenium IDE, RC and WebDriver?
Selenium IDE
|
Selenium RC
|
Selenium WebDriver
|
It only works in Mozilla browser. | It supports with all browsers like Firefox, IE, Chrome, Safari, Opera etc. | It supports with all browsers like Firefox, IE, Chrome, Safari, Opera etc. |
It supports Record and playback | It doesn’t supports Record and playback | It doesn’t supports Record and playback |
Doesn’t required to start server before executing the test script. | Required to start server before executing the test script. | Doesn’t required to start server before executing the test script. |
It is a GUI Plug-in | It is standalone java program which allow you to run Html test suites. | It actual core API which has binding in a range of languages. |
Core engine is Javascript based | Core engine is Javascript based | Interacts natively with browser application |
Very simple to use as it is record & playback. | It is easy and small API | As compared to RC, it is bit complex and large API. |
It is not object oriented | API’s are less Object oriented | API’s are entirely Object oriented |
It doesn’t supports of moving mouse cursors. | It doesn’t supports of moving mouse cursors. | It supports of moving mouse cursors. |
Need to append full xpath with ‘xpath=\\’ syntax | Need to append full xpath with ‘xpath=\\’ syntax | No need to append full xpath with ‘xpath=\\’ syntax |
It does not supports listeners | It does not supports listeners | It supports the implementation of listeners |
It does not support to test iphone/Android applications | It does not support to test iphone/Android applications | It support to test iphone/Android applications |