Edit Scenario Secondary Screen View and Toolbars

Modified on Fri, 22 Aug at 6:17 PM

TABLE OF CONTENTS

1. Overview

2.1 Scenario Form

2.2 Scenario Sequence

2. Related Articles

1. Overview

In Edit Scenario feature you manage your test scenarios. To access it, navigate to the Test Design> Record Scenario.
You can access Edit Scenario secondary screen by clicking the Edit icon in the Scenarios List from the scenario you want to edit
.
 Secondary screen includes: 

  1. Scenario Form 
  2. Scenario Sequence

2.1 Scenario Form

The Scenario Form allows you to edit a specific scenario details. It includes various fields for the identification of a scenario, which are detailed in the following tabular format:

  • To access these fields in the Scenario Form, click on edit icon located besides the scenario in scenario lists. 
  • Click on edit icon besides the search bar.
  • Update the changes and click on update.


Scenario Form  Fields and Descriptions

Field Description 
Scenario Name Displays the Scenario name or Test Case name used while recording the scenarios using Follow Me feature. You can edit the name in this text box.  
Custom Tag Displays the tags that will group and execute the tests associated with the given tags. For example, if you provide a tag as @test001, then all the test cases tagged with @test001 will be executed. Similarly, you can provide tags like @Smoke001 & @Sanity001.
Separate Feature Segregates the BDD feature files module-wise by generating them in separate feature file. For more information on generating a separate feature file, refer to Generate separate feature file in a separate folder. For example, Features - User Login, User dashboard and Payment processing. 
The following screenshot represents a module-wise and  feature file structure: 
Folder Structure Segregates the BDD feature files Folder-wise by generating them in the separate folder. For more information, see Generating Separate Feature Files in a Separate Folder
Scenario OutlineProvides brief test case summary or description as an outline given during recording of the scenario using Follow Me feature.

2.2 Scenario Sequence

The Scenario Sequence section allows you to manage the sequence of test case steps within a workflow. It enables you to:

  • Edit: Modify existing test case steps.
  • Add: Add new test case steps.
  • Delete: Delete the step
  • Duplicate: Duplicate the step
  • Drag and Drop: Rearrange the steps as needed.
  • Click on edit icon besides the scenario steps, update the changes and click on save.

Scenario Sequence fields and descriptions

Field Description 
Feature Name Displays the feature name that is being tested.
Control Name Displays the UI element name provided during Node Configuration. You can modify the UI element in this textbox. 
Alias Step If you wish to add a user-specific step or modify an existing step manually, then you can use this text box. For example, a login scenario where you want to add an alias step for verifying user profile details in the Dashboard, Feature file will be generated with highlighted alias step, 
Note:
When using the same alias step multiple times, a warning is triggered in the following cases:
  • Same alias steps with different custom actions
  • Same alias steps with the same custom actions
  • Same alias steps with the same default actions
  • Same alias steps with different default actions
To proceed:
  • Click Continue to apply the new action to all instances of the alias step.
  • Click Reuse existing Action to retain the original action.
Default/Custom Action Default actions are the ones readily available as part of automation framework in algoQA.  algoQA platform allows you to create custom actions to incorporate your application specific  testing requirements. You can select the default/custom action from the drop down list.  For more information, For more information on Default Actions, refer to Default Actions  and For more information on Custom Actions, refer to Custom Actions. 
Custom Value You can provide user-specific value, keywords and parameters in the custom value text box. It will be reflected in the Feature File. For more information, see 

Keywords Used in algoQA and Their Descriptions.

When entering a value in the custom value field, adhere to the following: 
  • Custom value 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 hit spacebar to enter only spaces, then an error message will be displayed saying Custom Value cannot consist only of spaces:
  • You can include spaces at the beginning, end, or between words.
Alias Name If you choose to add a new name or modify an existing name for an UI element or a Control, then you can use this text box. You can add Alias name in the Follow Me feature too.
Note:
  1. A user must not assign the same alias name to multiple controls within the same feature.
  2. A user can reuse the same alias name for controls in different features without restriction.  
  3. Users can merge scenarios without encountering alias-related errors. 
  4. During test case generation, alias names should be validated to ensure:
    • No duplicate aliases in the same feature.
    • Compliance with alias naming rules across scenarios.
    • Correct alias linkage to the intended control.
  5. Users can create new scenarios using "Save As", including existing alias names. 
  6. Within the same scenario, a user can assign the same alias name to the same control, but cannot assign the same alias name to different controls across different features. 
Test Step Settings You can select specific condition or a parameter from the dropdown list. Allows you to customize your test steps by selecting or excluding specific conditions, ensuring that only relevant steps are included. For example, if you wish to avoid generating the default post-condition step, you can select the 'No Postcondition' option from the dropdown. This will prevent the default last step from appearing in the Feature File. 
GWT  Input To add a prefix to a  GWT step, then you can update the textbox.

By default, the initial context in a Given step is shown as "I".   For example, 'Given I have access to application' sets up the initial state for the test.

Message You can provide a comment or text for a particular GWT step.
When entering a value in the message field, adhere to the following: 
  • Message field 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 hit spacebar to enter only spaces, then an error message be displayed saying message can't be with only spaces:
  • You can include spaces at the beginning, end, or between words.

Dataset As a user, when you provide an Alias step, Dataset textbox will be enabled  for you to add the parameters manually. 
For example, if you add 'And I verified the results in the Dashboard' as an alias step and as parameters provide 'profile details' in the Dataset text box then, feature file is displayed, as follows:
Note that if you wish to update dataset in separate columns, then you can use this "|" symbol


Managing Test Cases Using Edit Scenario Workflow



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article