Forum Discussion

ArturoMartinez's avatar
ArturoMartinez
Occasional Contributor
12 years ago

TestSuite public function definition

Maybe I'm wrong, but could be possible to define some functions in a TestSuite? So they could be accesible from any inner TestCase and testStep?

I mean, there's a way to define at the TestSuite level something like:

public String getAPathProperty(testSuite){
return testSuite.getProperty('property').getValue().toString();
}


So, for example in any TestStep level could I peform

log.info(testRunner.testCase.testSuite.getAPathProperty());


Thanks in advance.
No RepliesBe the first to reply