Test DesigningRecording the scenarios using Record Scenario feature for a Desktop Application

Recording Scenarios Using the Record Scenario Feature for a Desktop Application

The Record Scenario feature is used to record and save a workflow, scenario, or use case. The scenario will be saved in the same sequence it was recorded.

Recording for the Record Scenario feature is done in the offline model. It doesn’t interact with the live application.

User Actions: Adding two numbers

  1. Open the Calculator application
  2. Select two numbers and click the + button to add them
  3. Verify the addition of the two numbers

Recording a Scenario

To record a scenario, perform the following:

  1. Click the node for which you have to record a scenario, then click Record Scenario to view the Record Scenarios pop-up window.

    Save Scenario dialog with Scenario Name, Scenario Outline, Custom Tag fields and Cancel, Reset, Submit buttons
  2. Enter the scenario name and outline, and click Submit to create a sequence.

  3. Select the required feature (Cal Menu) under Node (Calculator) to view all the added UI element details.

    Cal Menu controls list with Recorded Scenario panel showing When/And steps and Submit button
  4. Similarly, select all the required features and the associated UI elements to create a sequence. Click Submit.

  5. Once you click Submit, you will see a 'Scenario created successfully' message.

    Note that you can select multiple UI elements repeatedly in a single workflow.

  6. When entering a value in the Custom Value and Message fields, adhere to the following:

    • Custom Value and Message fields cannot be just blank spaces. If you wish to include spaces, you can use the keyword _empty_. For more information, see Keywords used in algoQA. If you enter only spaces in any of the fields, an error message is displayed saying Custom Value cannot consist of only spaces.
      Edit Step dialog showing Custom Value and Message fields with validation errors, Reset and Save buttons
    • You can include spaces between words.