Associating functional test scripts with the keywords
You can automate an IBM® Rational® Quality Manager keyword
by associating it with an HCL OneTest™ UI script.
You can either associate an existing functional test script with a
given keyword, or record a new script against the keyword and then
associate the script. You can see the steps of a keyword when you
associate an automated script. After a keyword is automated, you can
open and execute the automated script.
Before you begin
The Keyword View must be displayed in the Functional Test perspective to associate functional test scripts with keywords. To display the Keyword View, click Keyword View from the list, and click OK.
. SelectRecording a new functional test script for a keyword
Procedure
- Click the keyword from the keyword view list to record a script and associate it with a functional test script.
- Right-click the keyword, and click Record
.
- Type a name for the functional test to be recorded in Script name. By default, the keyword name is used as the functional test script name.
- Click Finish. The Recording monitor opens and the recording starts. The keyword description is displayed in the recording monitor. For information on recording, see the related topic on Recording a script.
Associating an existing functional test script with a keyword
Procedure
Running functional test scripts from Rational Quality Manager
You can either reference external resources by accessing
a shared location or a local test machine. During execution of the
test scripts, the test resources are copied to the test machine if
it is a shared location. However, when you access resources in a local
test machine, you are accessing resources on the path that you use.
Procedure
- In Rational Quality Manager, create a test case.
- Create a test script name and associate an existing test script with the test case in Rational Quality Manager.
- Execute the test case and view the results of the test execution after the playback. For information, refer the Rational Quality Manager information center.