Escolar Documentos
Profissional Documentos
Cultura Documentos
Professional
Basic Training
Presentation by:
Madhusudhan, J (I054537)
13th Sept 2010
SCM MII Automation
Agenda
The advanced solution for functional test and regression test automation. It uses the concept of Keyword
Driven Testing. In keyword driven testing you use the recorded object to generate operations on it.
As you add steps to your test, they are displayed in the table-based Keyword View, or in the VBScript-
based Expert View. Every step in your test includes automatically generated documentation that
provides a plain language textual description of what the step does.
QuickTest Professional recognizes and learns the objects in your application so that you can design
automated tests that perform the same types of operations and business processes that your customers
do. You can then run these tests to check that your application works as expected.
How to Access QTP
Starting Quick Test
Starting Quick Test
Expert View
Keyword View
Active Screen/Debug Viewer/Data Table
Clicking Commands on a Toolbar
Viewing Product Information
Viewing Product Information
Analyze the results
Result Settings
Analyze the results
Test result
Working with Object repository
1. Search for the object on the page with the description present in OR. Use Mandatory and
Assistive Properties to identify the object.
2. If match is not found using Step 1, then invoke smart identification. Smart Identification
ignores the OR properties based recognition. Instead it uses its own set of properties
configured for the object class.
3. The Smart Identification mechanism makes use of Base Filter and Optional Properties.
4. QT creates a object identification list for objects which match the Base Filter properties.
5. Subsequently it takes the first optional property (as configured) and runs through the
objects matched in Step 4
6. If match(es) are found then it removes all other objects from the list created in Step 4. If
more than one match is found then it uses the second optional property to identify
matching objects in the new list.
7. It keeps following this mechanism till it uniquely identifies the object.
Working with Object repository
Object Identification
Working with Object repository
Smart Identification
Standard recording
Analog recording
Types of Actions…
Unexpected events and errors during a test run can disturb testing
Unattended tests require an action to recover
Q&A
Thank you