ArturoMartinez
12 years agoOccasional Contributor
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:
So, for example in any TestStep level could I peform
Thanks in advance.
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.