Use the recording feature of IBM® DevOps Test UI (Test UI), to record actions on the test applications. The actions on the test applications are
generated in the form of a simplified test script when you stop recording. The generated
simplified test script is displayed in the simplified Script editor in
Test UI. You can also view the
corresponding Java™ code of the recorded test script in
the Java script editor.
Prerequisites:
- The Enable Simplified Scripting option is enabled on the Functional Test
Preferences page.
- The test application and the required environments must be configured
for functional testing.
- A functional test project is created.
- Click .
The Record a Functional Test Script page is displayed.
-
Select the project to associate the script and then enter a name for the script.
- Optional:
Select Add the script to Source Control option to add the script to
a source control.
-
Select the Simplified Scripting option in the Select
Mode list, if it is not already selected.
Note: You can make simplified scripting as the default script mode by
selecting the Default checkbox.
- Click Next.
The Select Script Assets page is displayed.
-
Modify the values of the test object map, helper superclass, or test dataset fields, if you
do not want to use the default settings.
- Click Finish to start recording.
The Recording Monitor is displayed and the recording starts.
-
Click Start Application
icon in the
Recording Monitor toolbar to start the test application.
Notes:
- If the HTML test application has UI controls and the controls open a new window, you
must perform any of the following actions to enable Test UI
to capture the user actions on UI controls in the new
window:
- Click any area within the window.
- Click the Maximize button on
the window.
- If you want to record verification points or data-drive your test script, you can use
the tools available in the Recording Monitor toolbar.
- If you want to insert statements to call another script, specify log information, timer
or comments during recording, you can click Insert Script Support
Commands in the Recording Monitor toolbar.
-
Perform the actions in the test application that you want to record.
The recording monitor displays the actions that you performed.
- Click Stop recording (
) when you finish recording.A simplified
test script is generated and displayed in the simplified Script editor.