Forum Discussion
omatzura
17 years agoSuper Contributor
Hi Raymond,
thanks.. it's a bug that occurs when trying to enabled a teststep that is already enabled (and hasn't been disabled previously..)..
you can work around this by first checking if it already is enabled before setting disabled to false.. ie
def testStep = testRunner.testCase.getTestStepByName( "step 2" )
if( testStep.disabled )
testStep.disabled = false
sorry for the inconvenience.. I can send you a patched jar if you want..
regards!
/Ole
eviware.com
thanks.. it's a bug that occurs when trying to enabled a teststep that is already enabled (and hasn't been disabled previously..)..
you can work around this by first checking if it already is enabled before setting disabled to false.. ie
def testStep = testRunner.testCase.getTestStepByName( "step 2" )
if( testStep.disabled )
testStep.disabled = false
sorry for the inconvenience.. I can send you a patched jar if you want..
regards!
/Ole
eviware.com
Related Content
- 10 months agoMussieG