Forum Discussion
Hi
I need to create 50 test cases like the test case in the image, with change in values with Properties test step. If I have a groovy to do this, without manually creating each test case with change in properties file.
Is not it candidate for the data driven instead of copying them to 50 times?
- senthil19 years agoOccasional Contributor
I am looking something more like this
This is very basic, if I am copy a test case, then edit using groovy script, will make my life easier.
Regards
- nmrao9 years agoChampion Level 3Well, may be not able to get your point.
It was mentioned in earlier comment that there is values changes for different test cases, so need to copy 50 cases.
I still believe that the data driven is best for this need and have all the test case specific values in the data source (excel ?) a row for a test case and loop it thru the rows. That way, you can even scale it for 100's of tests.- bs019 years agoOccasional Contributor
Data driven is the answer for this, however, Soapui can not support the Html results in this apporach.
We tried this apporach to avoid duplication of code, but due to the problem (it does not write Html results as step-wise, rather test case-wise) with Soapui, we gave it up.
Created each step as a test case, now we are able to get the results in .HTML format. The tool should be modified to meet the requirements.
Related Content
- 9 years ago
Recent Discussions
- 24 hours ago
- 17 days ago