Recording control actions

How to use the Action Recorder to record interactions with UI controls in the sample application.

Before proceeding:

  1. In the TestArchitect explorer tree, select any item within the Car Rental project, then click Create new test module in the toolbar.

    The New Test Module dialog box appears.

  2. Enter Recording Lesson as the name, then click Create.

    A new test module appears in the main panel, ready for editing.

  3. In the editor, in column C of the TEST CASE line, enter a description such as Recording an action

  4. 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 up to Step 8 to ensure that the actions you record with Action Recorder are only those that relate to this exercise.

  5. Click Action Recorder icon on the toolbar:

    The Action Recorder panel appears in the lower right corner of the screen, indicating recording mode is now in effect:

  6. Within the Car Rental sample application, click Login to log in using the User name John and an empty Password field.

  7. In the Welcome window of the Car Rental application, click New Order.

    The Select Date and Location dialog box appears.

  8. Select Florida in the Pick Up State list box.

  9. Clear the contents (if any) of the Pick Up City text box, replacing them with Miami.

  10. 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 them.

    The actions representing the operations you performed on the dialog box have been generated and inserted into the test module, which should now resemble the following:

  11. 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).

    1. In the Car Rental-Select Date and Location window, click Home.

    2. Click Yes when asked for confirmation.

    3. In the Car Rental-Welcome window, select File > Logout.

      You are now returned to the application’s Login window

  12. With your test module displayed in the TestArchitect editor, click Execute on the toolbar.

    The Execute Test dialog box appears.

  13. Click Execute in the Execute Test dialog box.

    A replay of 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 Miami.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400