Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Conditioned steps in TM4J Testscripts

Claudius Hauser July 8, 2020

Hi everyone,

I have a question concerning the Test Script within a Test Case in TM4J.

When using the Type "Step-by-Step", is it possible to configure the single steps in a "IF ELSE" manner ? Means, like a "conditioned-step-structure" like:

IF the expected result is true goto step X

ELSE goto step Y

I could workaround this with a Gherkin - Script, but it would be desirable that there is a way to do that with the "Step-by-Step" type.

 

Thanks in advance for any help

Claudius

 

1 answer

1 accepted

0 votes
Answer accepted
Claudius Hauser August 11, 2020

After quite a few days of research, I found out, it can NOT be down with the step-by-step configuration.

I now changed it by using the Gherkin-Script workaround. It seems to me, that this is the best way to go.

Suggest an answer

Log in or Sign up to answer