Forum Discussion
nmrao
Champion Level 3
You mean to say that you have a project with test suite -> test cases -> teststeps.
And you have a request file for a certain test step and you want to update the project with above request from file?
And you have a request file for a certain test step and you want to update the project with above request from file?
deepti11sharma
7 years agoNew Contributor
Thanks rao for replying I figured out solution.
runner.getTestCase().getTestStepByName(newFileName).getProperty("Request").setValue(content);
Here content will be the modified xml you want to save in a request teststep.
Related Content
- 10 months agoIrinaManea
- 2 years agoKimdongart1
- 11 months agoMarcusBengtsson
- 9 months agoAnabelle
- 3 years agoprasath_2k
Recent Discussions
- 2 hours agoKLWallace
- 7 days agoruchisingh