Forum Discussion
Anonymous
15 years agoIt is possible to create a new testStep ?
Yes : via testCase.addTestStep(...)
How to set the position of this new Step ?
??
- How to say that the teststep is a groovy script or transfert or a soap steps ?
The different teststeps are different objets. Try the in setup script :
for (s in testCase.testStepList)
log.info(s.getLabel()+" "+s.getClass()) ;
- In case of groovy script testStep, how to set the value of the script ?
setScript() and getScript() are defined on groovy testStep()
- Is it possible to change the script of known teststep ?
yes setScript()
Yes : via testCase.addTestStep(...)
How to set the position of this new Step ?
??
- How to say that the teststep is a groovy script or transfert or a soap steps ?
The different teststeps are different objets. Try the in setup script :
for (s in testCase.testStepList)
log.info(s.getLabel()+" "+s.getClass()) ;
- In case of groovy script testStep, how to set the value of the script ?
setScript() and getScript() are defined on groovy testStep()
- Is it possible to change the script of known teststep ?
yes setScript()