Table Of Contents - Adobe FLEX 2-TESTING FLEX APPLICATIONS WITH MERCURY QUICKTEST PROFESSIONAL Manual

Testing flex applications with mercury quicktest professional
Table of Contents

Advertisement

Contents
Introduction to the testing process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Deploying Flex files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
About the Flex installed testing files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
About the testing environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Test creation overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
About the QTP object model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Storing objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
About the application hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Recording tests. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
About the testing script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Identifying objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
About operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Using checkpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Standard checkpoints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Bitmap checkpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table checkpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Using common methods and properties . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Playing back Flex tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Chapter 2: Advanced Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Working with containers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Working with Repeater objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Working with data-driven and List-based controls. . . . . . . . . . . . . . . . 22
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
General troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Resolving playback synchronization issues. . . . . . . . . . . . . . . . . . . . 24
Delaying startup test time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Making a test fail but continue to the end . . . . . . . . . . . . . . . . . . . . . . 28
Limitations of automated testing with Flex . . . . . . . . . . . . . . . . . . . . . . . 29
3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX 2-TESTING FLEX APPLICATIONS WITH MERCURY QUICKTEST PROFESSIONAL and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flex 2

Table of Contents