Automation Testing is not a replacement for functional testing. For each and every application one round of manual testing is necessary. Without the application being stable, the automation test cases cannot be created for it. Hence manual testing comes first.
Automation Testing helps in multiple iterations of test cases execution.
With this multiple iterations of manual testing,
– a tester may loose interest in testing
– will not be able to complete all the test cases execution and defects may leak because of this.
– at last one of the important aspect is time consuming.
Considering the above points, automation testing plays an important role in Test execution.
Selenium & QTP:
Selenium:
Open source, free to use, and free of charge.
Highly extensible
Can run tests across different browsers
Supports various operating systems
Supports mobile devices
Can execute tests while the browser is minimized
Can execute tests in parallel.
QTP:
Commercial.
Limited add-ons
Can only run tests in Firefox, Internet Explorer and Chrome
Can only be used in Windows
QTP Supports Mobile app test automation (iOS & Android) using HP solution called – HP Mobile Center
Needs to have the application under test to be visible on the desktop
Can only execute in parallel but using Quality Center which is again a paid product.
Selenium Overview:
Selenium is an open source Web Automation tool which is very popular among Testing practices. As most of the business are targeting their marketing through web applications, web application testing plays a very important part. Selenium becomes very important tool to automate the manual test cases to increase the speed, minimize manual effort and reduce execution time.
Selenium supports different languages which eases the tester to create the automation scripts by using any of the mentioned below.
Java
Python
Ruby
C#
Javascript
Selenium Types:
Selenium IDE: This is IDE which is supported only in Firefox browser which enables to record and playback the scripts. Here the scripts are generated using selenese commands.
Selenium RC: Selenium RC is test tool which enables to automate the web application by invoking the Javascript enables browsers. RC requires a standalone server which has to be started before executing the scripts and the browsers will be launched through the server with the help of Javascript.
Selenium WebDriver: Webdriver is an API which drives the browser natively and the scripts can be executed using the inbuilt methods provided by just creating the instances of the browsers. This API supports most of the limitations of Selenium RC like file upload or download, pop-ups and dialogs barrier.
Selenium Grid: Grid is an extended concept for Webdriver & RC to minimize the test execution by running the scripts in parallel across multiple browsers and operating systems. Grid can be integrated with the RC, Webdriver and the parallel execution of scripts can be achieved.
Why Automation ??
Automation Testing is not a replacement for functional testing. For each and every application one round of manual testing is necessary. Without the application being stable, the automation test cases cannot be created for it. Hence manual testing comes first.
Automation Testing helps in multiple iterations of test cases execution.
With this multiple iterations of manual testing,
– a tester may loose interest in testing
– will not be able to complete all the test cases execution and defects may leak because of this.
– at last one of the important aspect is time consuming.
Considering the above points, automation testing plays an important role in Test execution.
Selenium & QTP:
Selenium:
Open source, free to use, and free of charge.
Highly extensible
Can run tests across different browsers
Supports various operating systems
Supports mobile devices
Can execute tests while the browser is minimized
Can execute tests in parallel.
QTP:
Commercial.
Limited add-ons
Can only run tests in Firefox, Internet Explorer and Chrome
Can only be used in Windows
QTP Supports Mobile app test automation (iOS & Android) using HP solution called – HP Mobile Center
Needs to have the application under test to be visible on the desktop
Can only execute in parallel but using Quality Center which is again a paid product.
Selenium Overview:
Selenium is an open source Web Automation tool which is very popular among Testing practices. As most of the business are targeting their marketing through web applications, web application testing plays a very important part. Selenium becomes very important tool to automate the manual test cases to increase the speed, minimize manual effort and reduce execution time.
Selenium supports different languages which eases the tester to create the automation scripts by using any of the mentioned below.
Java
Python
Ruby
C#
Javascript
Selenium Types:
Selenium IDE: This is IDE which is supported only in Firefox browser which enables to record and playback the scripts. Here the scripts are generated using selenese commands.
Selenium RC: Selenium RC is test tool which enables to automate the web application by invoking the Javascript enables browsers. RC requires a standalone server which has to be started before executing the scripts and the browsers will be launched through the server with the help of Javascript.
Selenium WebDriver: Webdriver is an API which drives the browser natively and the scripts can be executed using the inbuilt methods provided by just creating the instances of the browsers. This API supports most of the limitations of Selenium RC like file upload or download, pop-ups and dialogs barrier.
Selenium Grid: Grid is an extended concept for Webdriver & RC to minimize the test execution by running the scripts in parallel across multiple browsers and operating systems. Grid can be integrated with the RC, Webdriver and the parallel execution of scripts can be achieved.
ASSIGNMENT : What is the need of Automation in Software Testing Industry ? MARKS : 10 DURATION : 1 week, 3 days
ASSIGNMENT : Mention the few differences between Selenium and QTP. MARKS : 10 DURATION : 1 week, 3 days
ASSIGNMENT : What is the main difference between Selenium RC and Web Driver ? MARKS : 10 DURATION : 1 week, 3 days
ASSIGNMENT : What is the basic use of Selenium IDE ? MARKS : 10 DURATION : 1 week, 3 days