Forum Discussion
nmrao
Champion Level 3
Please show the below:
1. screen shot of test case
2. show groovy script
3. what do you mean by groovy driver?
1. screen shot of test case
2. show groovy script
3. what do you mean by groovy driver?
spartanhooah
7 years agoOccasional Contributor
I can't show a screenshot of the test case since it might have proprietary information; same with the groovy script. I can give an example, though:
TestCase:
Groovy script step
Request step
Groovy script:
new File(/path/to/file/).splitEachLine(',') { items -> first_part = items[0] second_part = items[1] // do some processing on the parts testRunner.runTestStepByName("Request step") }
This script is what I mean by the groovy driver.
One of my colleagues said it might be the case that the test case's log shows when a step is finished, as opposed to when it starts (which is what I thought the log showed).
Related Content
- 9 months agojomy10