How to use the Action Recorder to record interactions with UI controls in the sample
- If the Car Rental application is running, return to the
Login window; otherwise, start the application by
- In TestArchitect, select and ensure that the settings are set as follows:
The Generate "navigate" action for web
, Highlight element on hover
Ignore formatting tags
settings only apply to
browser-based recording (learn
), and may be ignored for purposes of this
In the TestArchitect explorer tree, select any item within the Car
Rental project, then click Create new test module
The New Test Module dialog box appears.
as the name, then click
A new test module appears in the main
panel, ready for editing.
In the editor, in column C of the TEST
CASE line, enter a description such as Recording an
Return to TestArchitect, and in test case
TC 01 of the editor, select an empty cell in the first
column (for example, A16).
Attention: Once the Action Recorder starts, it
records all actions, including any actions you take with this
tutorial. For that reason, it is recommended that you pre-read this exercise
8 to ensure that the actions you record
with Action Recorder are only those that relate to this exercise.
Click Record on the toolbar:
The Action Recorder panel appears in the lower right corner of the
screen, indicating recording mode is now in effect:
Within the Car Rental sample application, click Login to
log in using the User nameJohnand
an empty Password field.
In the Welcome window of the Car Rental application, click
The Select Date and Location dialog box
Select Florida in the Pick Up State
Clear the contents (if any) of the Pick Up City text
box, replacing them with Miami.
Click Stop on the recording panel.
Because the controls you clicked were already defined in the interface
definitions for the sample application, nothing new was detected by the
recorder. Had the recording involved previously unrecorded screens or controls,
you would now be given the opportunity to review and edit the auto-generated TA
names that TestArchitect created for
The actions representing the operations you performed on the dialog box
have been generated and inserted into the test module, which should now resemble
Now, to examine the results of your work, return to the Car Rental
Login window: In the sample application's Car
Rental-Select Date and Location window, click a different state
(for example, Alabama).
In the Car Rental-Select Date and Location window,
Click Yes when asked for confirmation.
In the Car Rental-Welcome window, select
You are now returned to the application's
With your test module displayed in the TestArchitect editor, click
on the toolbar.
The Execute Test dialog box appears.
Click Execute in the Execute Test
A replayof your recorded actions should now be displayed in the
application window, repeating the steps of logging into the application,
navigating to the Select Date and Location window,
selecting a Pickup state of
Florida and entering a City of