Forum Discussion

sparrowenclave's avatar
sparrowenclave
Occasional Contributor
3 years ago
Solved

Running test step with context

I have Soap Request test step name as Add and Groovy Script test step name as Run

 

In Run test step I have following code which is responsible to run Add test step

 

def stored = testRunner.testCase.testSteps["Add"]
stored.run(testRunner,context)

 

Can someone explain me what is the use of testRunner and Context in run method?

 

Note: I have got 2 line of code from internet.

2 Replies