Forum Discussion
- SiKingCommunity ExpertYou really should have a read through the documentation!
${=testRunner.testCase.testSuite.name}
- nagoorkjContributor
Hi Team,
i need to access the test case level property from test suite tear down script.
Tried with test runner or context.expand but which is not accessible so please advice on this.
- RadfordSuper Contributor
The test suite tear down script provides a testSuite variable. Try something like this:
def testCaseProprty = testSuite.getTestCaseByName('Your TestCase name').getPropertyValue('Your Property Name') log.info(testCaseProprty)
Note: It's probably best to start a new topic with a new question rather than resurrecting a 5 year old thread, it makes it a lot less confusing for people trying to help you.
- SiKingCommunity Expert
${=testRunner.testCase.name}
- roryLITContributorThanks! Is there no way to do the testSuite property name either?
Related Content
- 5 years ago