Title / Description
Code <TestSuite> <Test> <!-- Launch ipconfig.exe --> <Process name="ipconfig" output="foo" error="err" timeout="5"> <Arguments> <Argument /> </Arguments> </Process> <!-- Declare a variable --> <Variable name="blank" value="" /> <!-- Print out the output or the error message based on the outcome of ipconfig process --> <If test="$(err) -ne $(blank)"> <Message text="Error: $(err)" /> </If> <Else> <Message text="Success: $(foo)" /> </Else> <Test> </TestSuite>
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code