Forum Discussion
rayapudi904
Occasional Contributor
Hi Rao,
Please find the below sample
Event : TestRunListener.afterStep
def step = testStepResult.testStep.name
log.info step
def stamp = testStepResult.timeStamp
def timeTaken = testStepResult.timeTaken
testRunner.testCase.getProperty("TimeStamp").setValue(stamp)
testRunner.testCase.getProperty("TimeTaken").setValue(timeTaken)
nmrao
9 years agoChampion Level 3
So, what is the issue with above script?