0% found this document useful (0 votes)
15 views10 pages

1.0 Introduction To Automation Testing:: Quick Test Professional

The document discusses automation testing and the Quick Test Professional tool. It covers what automation testing is, why it is used, benefits, common tools, test cases that should and should not be automated, and the automation testing lifecycle. It also provides an introduction and overview of the Quick Test Professional tool.

Uploaded by

sinduja.cse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views10 pages

1.0 Introduction To Automation Testing:: Quick Test Professional

The document discusses automation testing and the Quick Test Professional tool. It covers what automation testing is, why it is used, benefits, common tools, test cases that should and should not be automated, and the automation testing lifecycle. It also provides an introduction and overview of the Quick Test Professional tool.

Uploaded by

sinduja.cse
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Quick Test Professional

1.0 Introduction to Automation Testing:


 A software program that is used to test another software program, this is referred to as
automated software testing.
 Test Automation is the use of software to control the execution of tests & the comparison of
results- actual with the predicted/expected.
 A third party tool is used to test the application.
 Use of automation tools reduces the test time as well as the cost.
1.1 Why Automation Testing:
 To avoid the errors that human make when they get tired after multiple repetitions.
 The test program won’t skip any test by mistakes.
 Each feature test cycle will take less time.
 Required less human intervention.
 Required for Easy cycle of Regression Testing.
1.2 Benefits of Automation Testing:
 It allows more testing to be done.
 To strengthen Test Cycle, Less man power.
 Testing is Consistent, Repeatable.
 Useful when new patches released.
 Makes configuration testing easier.
 Test battery can be continuously improved.
 Programmable, reliable, repeatable, fast, less time.
 24/7 testing is possible.
1.3 Different Automation Tools in Market:
The different automation tools that are available in the market are as follows
 Functional & Regression Testing Tools:

SNO Tool Vendor


1 Win Runner HP
2 QTP HP
3 Silk Test Borland
4 Selenium Open Source
5 RFT (Rational Functional Testing Tool ) IBM

Rounak Technologies Page 1


Quick Test Professional

 Performance Testing Tools:

SNO Tool Vendor


1 Load Runner HP
2 Web Load Open Source
3 RPT (Rational Performance Testing Tool ) IBM
4 Open STA Open Source
5 Web Load Open Source
6 Load Sim Open Source
7 Rubis Open Source

 Defect Tracking Testing Tools:

SNO Tool Vendor


1 Test Director HP
2 Quality Center (QC) HP
3 Bugzila Open Source
4 Test Link Open Source
5 RTM (Rational Test Management Tool ) IBM
6 Clear Quest IBM
7 Zira Open Source

1.4 Test Cases to be Automated:


 Functional Test Cases
 Regression Test Cases
 Performance Test Cases
 Tests that need to be run for every build of the application (regression test).
 Tests that use multiple data values for the same actions
 Tests that require detailed information from application internals (e.g., SQL, GUI attributes)
1.5 Test Cases not to be Automated:
 Usability Test Cases
 One time Test Cases
 Adhoc Test Cases

Rounak Technologies Page 2


Quick Test Professional

 GUI/ UI Test Cases


1.6 Automation Life Cycle (ATLC):
2.0Introduction to Quick Test Professional:
 QTP is developed by Mercury Interactive but now taken over by HP.
 QTP is an Automation Functional & Regression testing tool.
 QTP was developed in the year 2002.
 QTP supports both Windows as well as Web Applications.
 QTP is Platform Dependent i.e., it works with only Windows Family Operating System.
 QTP is Browser Dependent i.e., it works with only Microsoft Internet Explorer.
 QTP supported scripting languages are VB Script & Java Script.
 QTP supported languages are .net, Java, Oracle, SAP , People Soft ,Main Frame, XML etc.,
 QTP was extracted from Astra Quick Test & Win Runner.
 QTP is the advanced version of Win Runner.

2.1 Differences between QTP & Selenium & Win Runner?


QTP Selenium Win Runner
Functional & Functional & Functional &
Regression Tool Regression Tool Regression Tool
Commercial Open Source Commercial
Platform Platform Platform
Dependent Independent Dependent
Browser Browser Browser
Dependent Independent Dependent
Supports both Supports only Supports both
windows & web web Applications windows & web
Applications Applications
Supported Scripting languages Supported Scripting languages are Supported Scripting
are VB & JAVA Script VB & JAVA & HTML& PERL & languages are VB & TSL
RUBY& PYTHON etc Script
Supports Advanced Supports Advanced Doesn’t Supports Advanced
Technologies Technologies Technologies
It has divided into 3 parts
1. Selenium-IDE

Rounak Technologies Page 3


Quick Test Professional

NA 2. Selenium-RC NA
3. Selenium-Web Driver
2.2 Environments of QTP:
SNO Requirement Environment
1 System Requirement PC
2 Operating System Windows Family
3 Browser Microsoft Internet Explorer
4 Memory Min 250 MB
5 RAM Min 250 MB
6 Service Pack Microsoft Service Pack

Note: Based on the availability of version the Environments also will be changing.

2.3 Versions of QTP:


The different versions of QTP are as follows:
SNO Product Version
1 QTP 5.5 v
2 QTP 5.6 v
3 QTP 6.0 v
4 QTP 6.5 v
5 QTP 8.0 v
6 QTP 9.0 v
7 QTP 9.2 v
8 QTP 9.5 v
9 QTP 10.0 v
10 QTP 11.0 v

Rounak Technologies Page 4


Quick Test Professional

2.4 Testing Process of QTP:

Create

Record

Enhance

Debugging

Running

Analyzing

Reporting Defects

 Create :
 There should be detailed description of our test.
 We have to follow exact steps
 Inputs must be given
 All items should be verified by the test.
 Record :
 As navigated through the application or Web site, Quick Test graphically displays each
step performed in the form of a collapsible icon-based test tree. A step is any user action
that causes or makes a change in the application, such as clicking a link or image, or
entering data in a form.
 Enhance :
 By inserting Check Points we can enhance i.e., search for a specific value of page
object/text string. Hence with this we can identify whether the build is working
/functioning properly or not. Hence it is easier and faster technique.
 Debugging :

Rounak Technologies Page 5


Quick Test Professional

 If any changes were made to the script you need to debug it, to check whether the build
operates smoothly or not without interruption.

 Running :
 To check the behavior of application or build .But while running QTP should connect to
our application to perform each step in your test.
 Analyzing :
 We have to examine the “test result” to “pinpoint “defects in your application.
 Reporting Defects :
 As we encounter failures in the application when analyzing the result we have to create
“Defect Reports “in defect reporting tool.
2.5 Add INS of QTP:
 It gives information about the technology supported by the QTP. By default three Add Ins are
there in QTP
1) ActiveX
2) VB
3) Web
 Additional Add ins:
1) Java 2) Oracle 3) People Soft
4) .Net 5) SAP 6) Siebel
7) WCF 8) Delphi 9) Terminal Emulator etc

2.6 Window Structure of QTP:

Rounak Technologies Page 6


Quick Test Professional

2.7 Features of Quick Test Professional:

 QTP is an automation Record and Play back testing tool.


 The recorded script can be viewed in two modes
1. Keyword View: In this mode we can view VB Statements.
2. Expert View: In this mode we can view normal English Statements.
 By default QTP supports two Data tables
1. Global Sheet: By default QTP maintains Global Sheet.
2. Action1 Sheet
 Active Screen is available in QTP i.e., we can give the screen shot of the recorded build
operations. Go to View Menu Active Screen.
 Screen Recorder is available in QTP i.e., we can give the recorded build operations like a
movie also. Go to Automation Menu Results Screen Recorder.
 Debug Viewer is available in QTP i.e., we can watch the execution of a program. Go to View
Menu Debug Viewer.
 Powerful Verification Capabilities
 Powerful Parameterization Tool
 User Friendly
 Faster Test Creation

Rounak Technologies Page 7


Quick Test Professional

 Easy to maintain

Note: By default Global Sheet is 1 and we can take maximum of 255 Action Sheets and hence total
number of sheets is 256.

Notes:

3.1 Recording Modes:


QTP supports three types of recording modes.
a. Normal Recording
b. Analog Recording
c. Low level Recording
a. Normal Recording:
In this mode based on the actions (keyboard/mouse) that user perform on the application QTP
will automatically generate the script. Hence by default QTP maintains the Normal Recording mode.
Go to Automation menu Click Record (F3).

Rounak Technologies Page 8


Quick Test Professional

b. Analog Recording:
In this mode we can record mouse pointer movements.
Example: Verifying Digital Signatures.
Open PaintRecordAutomationAnalog Recording (Shift+Alt+F3)Select Record to the Relative
ScreenStart Analog RecordingPerform Action in PaintStopRun Analyze Result.

c. Low Level Recording:


In this mode we can record standard or non-standard objects.
Go to Automation menuLow Level Recording (Ctrl+Shift+F3).

Rounak Technologies Page 9


Quick Test Professional

Conclusion:

All the three modes of recording can be used in a single test e.g. either Analog Recording
or Low level Recording can be switched in the middle of a recording session for specific steps and then
returned to Normal Recording. Analog recording and Low Level Recording require more disk space
than normal recording mode.

Low Level Recording Can Be Used When:

 Environments or objects not supported by Quick Test.


 Exact location of the operation on an application screen is necessary.
 The location of the object is important to the test.

Rounak Technologies Page 10

You might also like