Learning Objectives
To allow the student to successfully use Quality Center immediately following the end of the class. The student will have a comprehensive understanding of tool use and potential.
Audience
Those who will advance to become proficient scripters and those who will support those activities by designing test cases &/or providing data for tests.
Prerequisites
Minimum: A basic understanding of testing.
Recommended: Basic knowledge of programming in any procedural language
.
Student Preparation
If time permits, the students should review the tutorial included with QTP. Further, reviewing VBScript programming will be valuable
Suggestions for Post Class Activities
Review the course material and redo all of the exercises.
Learn VBScript programming.
Take the Advanced QTP training course.
Duration
This is a three day course
Course outline
Overview of the Components of Automated Testing
- How to launch the testing tool
- An overview of the testing tool and some basic concepts
Recording a basic script
- Understand the pre-requisites for recording a test
- Record a basic script
- Ensure playback of the basic script
Object Recognition
- Learn how QTP recognizes objects
- Be able to use the Object Spy to investigate objects
- Understand the basic use of the Object Repository
- Use the Active Screen
- Understand Regular Expressions and how they are useful in recognizing objects
- Update a value in the Object Repository
- Selected issues with object recognition
Synchronization
- Understand why Synchronization is critical to playback
- Be able to implement a standard synchronization point with QTP
- Be able to implement the alternative synchronization points
Basic Verification
- Identify the types of built in Checkpoints
- Be able to insert a Standard Checkpoint using the dropdown menus
- Be able to insert a Standard Checkpoint using the Active Screen
- Review Regular Expression Concepts
- Add flexibility to the Checkpoint using a Regular Expression
.
Complex Verification
- Understand how we can capture values from the screen and save them in the data table
- Use the Excel spreadsheet to perform calculations or other data manipulations to increase our ability to verify our applications
- See how we can use the 'GetROProperty' method to extract data from the application
- Develop some basic code to improve our ability to test our applications
Database Verification
- Understand the purpose of Database Verification
- Be able to set up a Data Source using Microsoft Query
- Be able to set up simple Database Checkpoint
- Understand the Database Query as an object
- Be able to set up a dynamic Database Checkpoint
Data Driving
- Understand the importance of data driving
- Use the data table to input values into the script
- Manage multiple paths through your application
- Understand that the most expensive component of data driven testing is almost always the data
- Understand the different roles that are created by data driven testing - it's not all about the code (note previous objective)!
The Object Repository
- Understand the role of the Object Repository
- Perform basic tasks
- The Object Repository Manager
- Merging Object Repositories
- Strategies for Minimizing Conflicts
- Shared and Local Object Repositories
Multiple Actions
- Reusability - the Key to:
- Lower costs
- Higher quality
- Faster script generation
- Splitting Actions
- Calling Actions
- Managing Data Issues with Multiple Actions
Web Testing
- General Approach for Any New Environment
- Using the Web Addin
- How web testing is different
- How web testing is the same
- How all other environments are different - and the same
.
Selected Object Recognition Issues
- Analog recording
- Low level recording
- Virtual objects
Recovery Scenarios
- Use of Recovery Scenarios
Selected Items
- Local System Monitor
- Process Guidance
- Test Flow
- Resources
- To Do Pane
- Missing Resources
- Bitmap Checkpoint
Lesson Schedule
- Day 1
- Overview of QTP
- Record a Basic Script
- Object Recognition
- Synchronization
- Basic Verification Using Standard Checkpoints
- Day 2
- Complex Verification
- Database Verification
- Data Driving
- The Object Repository
- Day 3
- Multiple Actions
- Web Testing
- Selected Object Recognition Issues
- Recovery Scenarios
- (Optional) Selected Items
|