Forum Discussion

catch22's avatar
catch22
Occasional Contributor
9 years ago

Groovy Script TestStep with a not-contains assertion on Log Output.

I am executing a batch via a Groovy Script TestStep.

 

log.info"C:/batchname.exe".execute().text

 

I need to add Groovy Script TestStep with a not-contains assertion on the Log Output.

 

How do I do this?

  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    The question is not clear.
    Do you want to assert the "command output"?