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 DiscussionsMismatch between response from a CURL request and ReadyAPI responseReading dynamic parameter from resource pathParameterising JDBC Connection Settings..Can you do it?Test Runner - Report All in One FileGroovyScript Help - Repeating JSON Attributes Have Specific Value.....some of the time?Solved