I have already located the syntat to set a test cases custom property:
testRunner.testCase.setPropertyValue( "foo", bar )
This writes to the property defined under the "Custom Properties" tab, but I want to write to a property defined in the test cases local "Properties" test step.
Is this supported?
Solved! Go to Solution.
Hi @sprice090161 ,
If you are talking about Properties Test Step inside a Test Case, then you can use below syntax:
testRunner.testCase.getTestStepByName("Name of properties step").setPropertyValue("foo",bar);
If you are looking for something else then please elaborate.
Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓
Hi @sprice090161 ,
If you are talking about Properties Test Step inside a Test Case, then you can use below syntax:
testRunner.testCase.getTestStepByName("Name of properties step").setPropertyValue("foo",bar);
If you are looking for something else then please elaborate.
Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓
Perfect!
Yes, the test step, not the test cases properties. For that I had the syntax from the Tips/Tricks section.
Thank you
Hi @Satyadip28 ,
Can you please provide any screenshot ro error message that you are getting.
It wil be good it you start new thread as this is answered so that others can also help you.
Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓