Thursday, 20 November 2014

WHY AUTOMATION?

Why Automation?

Automation testing plays a big role on repetitive tasks and data coverage. Consider you have a registration form with 10 fields and you need to test this page for 5 different roles. Also you need to test this page in 3 different browsers for close to 500 inputs. Then just calculate for how many times you are running this same task?
5 Different Roles
3 Different Browsers
500 Inputs
5 * 3 * 500 = 7500 times
Do you think this is possible when doing manually? Obviously we need a Automation Tool.

Few Popular Automation Tools available in the Market


QTP/UFT
TestComplete
Selenium
Test Studio
Rational Functional Tester
Watir
Ranorex

QTP Introduction


QuickTest Professional is a product from HP (Hewlett Packard) for Functional and Regression Test Automation. Originally QTP was developed by Mercury Interactive Corporation, which was acquired by HP in 2006.
Till version 11 the product is called as QuickTest Professional or QTP in short. From version 11.5 HP integrated two of HP’s testing product, HP Quick Test Professional and HP Service Test and named it as HP Unified Functional Testing or UFT. UFT is providing a separate standalone setups for QTP and Service Test. However, if you want to integrate both these products in your test, a separate license needs be purchased from HP called UFT License. The latest version of UFT is UFT 12 which is released on March 2014.

Minimum System Requirements for UFT 12:


CPU: Dual Core 1.6 GHz or Higher
Operating System: Windows 7 with Service Pack 1
Memory: 2 GB
Hard Disk Space: 2 GB of free Disk Space
Browser: Internet Explorer 7.0 or Higher

Software Links:


UFT 12.0 (30 Days trial): Download
Microsoft Script Debugger: Download
Internet Explorer: Download

Advantages of QTP/UFT:


QTP can be used for both Windows and Web Applications
Supports .NET, Java, Oracle, PeopleSoft, SAP, Siebel, Mainframe Terminal Emulator & Web Services, provided separate add-ins are installed
QTP using Object Identification Mechanism for Identifying Objects (will be explained more clearly in Object Identification)
QTP using VB Scripting, simple programming language to understand or code
Can automate Microsoft Object Model (FSO, Word, Excel, Outlook, etc)
Can be integrated with HP Quality Center and HP Service Test

Disadvantages of QTP/UFT:


Runs only under Windows Operating System
Testing can be done only using Internet Explorer. For other Browsers, corresponding add-in needs to be purchased
Multiple Tests cannot run simultaneously
No support for Object Oriented Programming
Cost of License is high

3 comments:

QTP/UFT Tutorials © 2014. All Rights Reserved | Powered by-Blogger | Designed by-Dapinder