Reviewing and Editing your Scenario
Reviewing and Editing your Scenario
Upon saving, you'll be taken back to your specific scenarios page. Instead of it being blank however, it will be populated with every action you, as a user, has taken. Here is an example scenario -
From here there are a number of things you can do to review or edit your scenario. Let's bring attention to some of these items.
Each step is given a number at the top left hand corner. This can be useful to help keep track when referring to a specific screenshot. At the bottom of each step there is a short description of what action was taken. Most steps will also include a screenshot of the action taken. At the top right, next to the "Save" button, there are three dots. If you click on these dots, it will give you a few options:
Show Test History: Will bring you to another page that shows every test result that has been run from this scenario. Very useful to compare test runs to see differences.
Show Version History: If you make changes to the scenario through editing (more on this later), a new version will be made. This serves two purposes - to view the changes that have been made or revert a change that you made.
Show Related Test Plans: Will show every test plan that the current scenario appears in. More about test plans in a future section.
Duplicate: Gives you the ability to duplicate the scenario per your needs.
Duplicate as Step Group: Similiar to duplicating a scenario except for duplicating a scenario to a step group! More on step groups later!
You also have the ability to review and modify each individual step. You may click any one of your steps to bring up more detailed options for that step. You can also mouseover the desired step and at the top right of the step there will be an icon that has a pencil to bring up more detailed options.
The above example shows a typical "click" step.
Step Name: If you want to name a step, you can enter it here
Memo: If you want to give a further description about a step, you can enter it in the text box.
You can see these two options reflected in the below example step:
Action: Lists out what type of action is being done in the step.
When this Step Fails: Dictates what should happen with the test if the step fails. There are three options that can be chosen from the dropdown:
- Abort - The test will abort if this step fails. The test is marked as failed. This is the standard option for each step.
- Mark this step as failed and continue: - The step will be marked as failed, but the test will continue to run. The test is marked as failed after the run is over. This is useful for places where you would like to still see if future steps work.
- Ignore and Continue: - This step will not fail the test after the run is over, though it will mark the step as failed. The test will continue as normal and will still get a full pass.
Reviewing Input Steps and Assertion Steps
Everything from above still applies to input and assertion steps. There are however, additional options that are provided to you for these steps.
Action: when reviewing a step, this will be a dropdown and give you a list of options if that step is an assertion step. This way you can change what that action should be without having to go back and rerecord that step.
For Input Steps and Assertions that require a value to be provided, there will be an additional area that can be changed. See the below example -
Where it says given value, you can change that value to assign whatever text you'd like to input. There are also other things you can input by clicking on the "Given Value" dropdown. The options:
Given Value: Whatever text you assign to this will be input or checked.
Test email address: If you have created an email address to use, you can assign this email to be used in this step by selecting this from the dropdown.
Dummy email address: Just like test email address, it will assign a random email address to this steps value. The difference being that this email address will not actually work and will not receive an email directed to it.
Data: If you have data from a CSV that you have entered in the "data" tab at the top of your scenario, you can assign it to this step here. More on data in a later section.
Next Section: Adding and Deleting Steps