Hi Rupert, nmrao
many thanks for your reply, also watching the youtube vid.
actually my biggest confusion is related with the path, class and available method.
Like in above youtube vid for 2nd webinar, they write
println workspace
.
I am trying the same syntax in groovy test step and got error no such property workspace for class
i know in teststep groovy there is variable log, context, testRunner,
still i don't know the method i can use for each of them
i am trying
log.info context.metaClass.methods*.name
got error can not get property methods
i am trying
log.info testRunner.metaClass.methods*.name
got below result
[equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait, cancel, fail, getLog, getReason, getRunContext, getStartTime, getStatus, getTestRunnable, getTimeTaken, isRunning, setRunContext, start, waitUntilFinished, getResults, getRunContext, getTestCase, gotoStep, gotoStepByName, runTestStep, runTestStepByName, setMockRunContext]
still i am confuse, usually when i am googling some script, people write like this
testRunner.testCase.testSuite...
from above metaClass result i can't find after testRunner i can write testRunner.testCase.
how does people know about this?