Create scenarios

Definition

A scenario is a sequence of steps that represents a behavior of the application as expected by the user. It should focus on the goal of the test rather than expressing UI level interactions. A scenario may be executed either manually and/or automatically. In Agile project, an user story is typically associated with one or more Hiptest scenarios.

Scenario page

Hiptest scenario page

A scenario is defined by different data:

  • Name: the name of a scenario is unique within a given project.
  • Folder path: path of the folder that contains the scenario. See Project organization section.
  • Description: Field text used to add a description. See Description formatting section.
  • Tags: you can add tags to a scenario. The search feature from the scenario page can be used to search for scenarios based on tags (as well as folders). See Project organization section.
  • Attachments: you can attach many files to the scenario by clicking on the button  ‘Add attachment’ or  by using the drag-and-drop function.
  • Datatable: you can add parameters to a scenario and define several datasets with the Datatable. See Datatable section.

Step editor

The step editor is a feature we have particularly invested on to enhance test authoring. Steps of a scenario can be either:

  • an action : “Log in with default account”.
  • a result : “check that user is logged in”.
  • an Action Word : See Action word section.

The step editor comes along with a powerful suggestion capability that enables you to reuse existing steps and streamline the design of scenarios.

Add new step with suggestion in Hiptest step editor

Parameters

You can add parameters to your scenario with the datatable. It will enable you to generate several tests with different datasets for a given scenario.

To include a parameter in a step (being an action or result), use the following syntax: ${param_name}. For example, if you have UserName as parameter of your scenario, you can write the following step: login with ${UserName} to the application.

Actions on steps

  • To move/reorder a single step, click on the step and do drag&drop. You can also pull down its menu Hiptest step menu on the right, and click on Move up or Move down.
  • To delete a step, click on Hiptest step menu and select Remove.
  • You can also select a group of steps, move it, delete it or promote it into an Action Word (see refactoring section).

Bulk actions in Hiptest steps editor

Execution summary

Execution summary on Hiptest scenario page

Just bellow the step editor you have access to the different execution status of your scenario, organized by test run.

Other actions available on a Scenario

Hiptest scenario actions: clone, move, add to test run, delete

You can apply the following actions to a scenario:

  • Clone: to duplicate the scenario. You will have to select the destination folder.
  • Move: to move the scenario in another folder.
  • Add to test run: to add the current scenario to a test run.
  • Delete: to delete the scenario. Be carefull, you will not be able to restore it !

Download the ebook

This field is required

This field is required

Please enter a valid email address

Thank you, the ebook has been sent to your mailbox

Hiptest is FREE for open source projects

We actually utilize a number of open source components, which is why Hiptest service is free for any open source project. We are giving back to the community!

Your open source project must meet the following criteria to be approved:

  • Your project is licensed under a license approved by the Open Source Initiative
  • Your project source code is available for download
  • Your project has a publicly accessible website

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close