Forum Discussion
nmrao
Champion Level 3
Can you please elaborate your use case?
senthil1
9 years agoOccasional Contributor
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.
- nmrao9 years agoChampion Level 3I am not sure if the problem I got it right.
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.
Related Content
- 9 years ago
Recent Discussions
- 17 days ago