catch22Occasional Contributor8 years agoGroovy 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?
2 RepliesReplies sorted by Most LikedSort ByMost LikedOldestNewestnmraoChampion Level 38 years agoThe question is not clear.Do you want to assert the "command output"?catch22Occasional Contributor to nmrao8 years agoYes
nmraoChampion Level 38 years agoThe question is not clear.Do you want to assert the "command output"?
Related ContentNot Contains Assertion (JSON attribute value) - not XMLGroovy for assertion not contain and json pathRe: Groovy for assertion not contain and json pathhow to collect assertion message from Assertion TeststepAssertion of selective elements in a teststep
Recent Discussionscommand line on how to retrieve license file ?How to avoid JDBC connection password saving/visibility in exported .xml ready API file of project.Darshan Hiranandani : Exploring ReadyAPI Integration with Azure GitHow to hit update service multiple time with different data set.How do I prevent a file path from being altered when being parsed by JsonSlurper in Groovy Script?Solved