Generate tests

Definition

Test is an instance of a scenario, a sequence of steps where action words and parameters have been interpreted. So basically, the scenario is a higher level description of the behavior of the application. It generates one or more test instances that will be executed.

Test view

You can view the test directly from the scenario page

Hiptest test view

Tests are generated so you cannot modify them directly.

Test generation

The way the interpretation works during the test generation process is straightforward:

  • a step action generates an action where parameters (if any) are interpreted with their values
  • a step result generates a result where parameters (if any) are interpreted with their values
  • an action word is replaced by the steps it contains or by an action containing its name if it is empty.

So basically a test doesn’t have any action words. It is a sequence of actions and results.

If a scenario has no datatable, it will generate one test. If a scenario has a datatable with N datasets, it will generate N tests, one per dataset.

Example

Given the Scenario Simple Sign in Workflow

HIptest test scenario

with the following datatable

HIptest datatable

and using action word Login

Hiptest actionword parameters

Step in Hiptest action word

It generates 2 tests:

First test from a Hiptest scenario and datatable

Second test from Hiptest scenario and datatable

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