Forum Discussion
omatzura
16 years agoSuper Contributor
Hi,
Not by type, but by name;
def testStep = testRunner.getTestCase().getTestStepByName("Test Request")
testStep.removeAssertion( testStep.getAssertionByName( "... ") )
or
testStep.removeAssertion( testStep.assertions["... "] )
regards!
/Ole
eviware.com
Not by type, but by name;
def testStep = testRunner.getTestCase().getTestStepByName("Test Request")
testStep.removeAssertion( testStep.getAssertionByName( "... ") )
or
testStep.removeAssertion( testStep.assertions["... "] )
regards!
/Ole
eviware.com
Related Content
- 5 years agoTheEnd