Forum Discussion
omatzura
17 years agoSuper Contributor
Hi mermet,
this is what TestSuite properties are for.. you first TestCase should write the desired value to corresponding TestSuites properties and the following TestCases can read the values from there..
ie do the following:
1) Define the desired properties at the TestSuite level in the TestSuite editor
2) Write the desired values to these properties in your first TestCase, either using a PropertyTransfer or a groovy script;
testRunner.testCase.testSuite.setPropertyValue( .., .. )
3) access these properties in your following testcases with property-transfers, property-expansion or a groovy script..
Hope this makes sense / helps!
regards,
/Ole
eviware.com
this is what TestSuite properties are for.. you first TestCase should write the desired value to corresponding TestSuites properties and the following TestCases can read the values from there..
ie do the following:
1) Define the desired properties at the TestSuite level in the TestSuite editor
2) Write the desired values to these properties in your first TestCase, either using a PropertyTransfer or a groovy script;
testRunner.testCase.testSuite.setPropertyValue( .., .. )
3) access these properties in your following testcases with property-transfers, property-expansion or a groovy script..
Hope this makes sense / helps!
regards,
/Ole
eviware.com
Related Content
Recent Discussions
- 5 hours agoemoya
- 9 hours agoMyBalanceNow
- 6 days agoKLWallace