You are on page 1of 14

CSE 5324 Spring 2013

QUICK TEST PROFESSIONAL(QTP 11.5)

Murtuza Dalal. 1000914199

Ways of Testing :
Manual Testing : Testing of the Software manually i.e. without using any automated tool or any script. Testers use test plan, test cases or test scenarios to test the Software to ensure the completeness of the software. 2) Automation Testing : Automation testing which is also known as Test Automation, is when the tester writes scripts and uses another software to test the software.
1)

Difference between Manual and Automation testing


Manual Testing
1. Time consuming and tedious: Since test cases are executed by human resources so it is very slow and tedious. 2. Huge investment in human resources: As test cases need to be executed manually so more testers are required in manual testing. 3. Less reliable: Manual testing is less reliable as tests may not be performed with precision each time because of human errors. 4. Non-programmable: No programming can be done to write sophisticated tests which fetch hidden information.

Automation Testing
1. Fast Automation runs test cases significantly faster than human resources. 2. Less investment in human resources:Test cases are executed by using automation tool so less tester are required in automation testing. 3. More reliable: Automation tests perform precisely same operation each time they are run. 4. Programmable: Testers can program sophisticated tests to bring out hidden

information.

QTP
It is an automated testing tool provided by HP/Mercury

Interactive. QTP uses VB scripting language which is more user friendly and easy to understand. QTP has two views and ways to modify test scripts
Keyword View : Actions are generated in tabular format similar to

manual test cases. Expert View : Actions are generated in VB-Scripting. It also has the Action Screen which shows the screen shots .

QTP works on only Windows Environment(Drawback).

Keyword View and Action Screen

Editor View

Object Repository
It stores the properties and values of the Object

It is an Important feature as when QTP replays the scripts

it looks at the Object repository (OR) for the Object Identification. Two Types :
Local Repository : It is created for every action automatically during

recording which cannot be shared among tests Shared Repository : It creates shared repository by adding objects which can be shared among number of tests if the tests have same properties, can be used to save time

How to Generate Tests


Record and Play Back Keyword Driven Methodology Descriptive Programming

Record and Play Back


Record:

It will generate the script related to the user actions.


It will then store the required and related information in

the OR. Play Back: It will read the instruction and understand what action is performed on which object. It searches the OR for the required information. If the information is available ,it will try to identify the object and then perform the action on it.

Modes of recording
Normal Recording It records the objects in your

application and the operations performed on them. Analog Recording Records the Mouse Movements . Clicks Low Level recording It is the combination of above two, mainly for recording custom objects, it records some operations on non-supported environments apart from normal operations.

Object Spy
Object spy gives the runtime property of the object.

It lists the methods and syntax that could be implemented

on that particular object

Check Points
Standard: Checks multiple properties of a single object

Text :Checks part or all the text within an object


Text Area : Checks part or all the text within a text area

object Bitmap : Checks the visual layout of an entire object or a portion of the object Database : Checks data in the database Accessibility : Checks web content accessibility against W3C accessibility rules for the disabled XML : Checks files using XML rules

References
https://wiki.uta.edu/display/serc/CSE-5324+Tools :
Geethu Gopinath (1000744763 Spring 2012)

http://quicktestproguide.blogspot.com http://www.guru99.com/ http://www.tutorialspoint.com/software_testing/testing_typ

es.htm

Questions

You might also like