If, then, else - Conditional tests


Is it possible to write tests with conditions with data tables?


Data table with column “test_scenario” with values “A” and “B”

  1. Execute action X on “test_scenario”
  2. If “test_scenario” = A, then execute step 3 next, else, skip step 3 and execute step 4.
  3. Execute action Y
  4. Execute action Z



You can write your test with if conditions but this is not the nominal use case for Hiptest.
This is only accessible from the raw editor mode, and you will not be able to modify your test step, or promote steps to an actionword if you choose to use this feature.

You can learn more about the expected syntax in this documentation: https://hiptest.net/tdl_documentation.html