Solved
Forum Discussion
HimanshuTayal
5 years agoCommunity Hero
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.
- sprice0901615 years agoContributor
Perfect!
Yes, the test step, not the test cases properties. For that I had the syntax from the Tips/Tricks section.
Thank you
- Satyadip285 years agoNew ContributortestRunner.testCase.getTestStepByName("Name of properties step").setPropertyValue("foo","bar");
Iam doing the same using setPropertyValue to add Custom Property to TESTSTEP but it doesnt add atall.
This works when adding to TestCase or TestSuite but not to a TestStep.
ReadyAPI Version 2.5.0.
Can you please help.- HimanshuTayal5 years agoCommunity Hero
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.