Defining variables for automation

It is sometimes useful to define values that will be used during automation but make the tests unclear (for example a staging environment url such as in the test below):

Defining Hiptest variables for automation

It is possible to rewrite simply this test using symbols. They are prefixed with a column sign, like variables, as shown below:

Defining Hiptest variables for automation

Now, when exporting the code for automation, the scenario will use a variable called “staging” that can be set in the automation layer:

Screen Shot 2016-06-09 at 10.35.20

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