504Testing
■
Compile your application with the
RIATest
module embedded in it, or use its
loader feature to dynamically wrap the agent around your application.
■
Record your dry runs through the application (optionally, you can hand-write
the test scripts).
■
Play back your scripts to verify the results.
Key features include:
■
An Action Recorder simplifies the process of recording actions into a human-
readable script.
■
Syntax highlighting makes those human-readable scripts even easier to read via
color coding.
■
The engine comes with its own scripting language, which is modeled after
ActionScript. This gives you a lot of control while using a language you already
know.
■
A Component Inspector allows you to mouse over a UI component and inspect
its properties.
■
Built-in script debugging helps you figure out problems with your test scripts.
RIATest has a lot of momentum behind it. What’s interesting is that it has a public
mechanism for submitting enhancement requests and bug reports—making it com-
munity driven.
23.2.7 HP QuickTest Pro (functional testing)
QuickTest Pro (a.k.a. QTP) is an industrial-strength product from HP (via acquisition
of Mercury Interactive). It’s powerful and versatile—hence the price tag: $6,000–
$9,000
U.S. (pricing may vary depending on licensing options). Go to http://
www.hp.com and search for QuickTest Professional.
QTP was the first functional-testing
tool available for Flex, and for a long time it was the only choice.
Some key features are:
■
Defect replication
■
Keyword-driven test case development
■
The ability to update multiple test scripts quickly using a shared object repository
■
Easy to use, with minimal training required
■
Simple interface
Test cases are in the context of business workflows (versus a purely technical perspec-
tive), which makes
QTP easy for QA users to relate to.
Test-case creation is advanced: for example, contextual and conditional test cases
can go down various branches depending on the results; you can query your database
to find data that is in a current state, then perform tests on that data; and so on.
Comentarios a estos manuales