Forum Discussion
The need is for testcases that are not run by testrunner to have the logs on a network folder because other applications need to know if the run of the case was successful or not so they can continue automatically. Teststeps are not so practical because 1st i have up to two hundreds in my different cases and secondly some of them are purposely failing (e.g. wrong input address country codes...)so it would take also some way to bring the positive negative for other applications to know.Since there's now way to store the error logs outside of \user\.readyapi I only have this solution
- nmrao7 years agoChampion Level 3When would that happen (testcases that are not run by testrunner)?
- groovyguy7 years agoCommunity Hero
One thing I noticed with the groovy script snippets posted is that your reference to "testsuite" is not defined as far as I can see.
Instead of this:
import com.eviware.soapui.support.*; def tc = testsuite.getTestCaseByName("CLUB-ATM-UC") /def testStep = tc.testSteps['brianSisClubWrite - Request'] def req = new File(tc)
You may want this:
import com.eviware.soapui.support.*; def tc = context.testCase.testSuite.getTestCaseByName("CLUB-ATM-UC") /def testStep = tc.testSteps['brianSisClubWrite - Request'] def req = new File(tc)
Related Content
- 4 years ago
Recent Discussions
- 22 hours ago
- 17 days ago