Forum Discussion
It's not clear to me what's your goal.
Are you asking how to use the loop iteration data in Groovy script (using DataSource)?
Or, how to implement the data-driven looping in Groovy script (without DataSource)?
Hi KarelHusa ,
I want script to use the loop iteration data in Groovy script (using DataSource).
(what i am trying to do is, i am creating groovy class as a frame work and going to use that class method in each test case setup script, so that the entire execution will happen from that groovy only. The structure of each case is exactly same like which i mentioned in the first post. Here my question is how to achieve that through groovy script. I am getting test case name then getting all the steps, till this point its working fine after that how to run the datasource step(is there any specific syntax) and how to to make the data source loop call multiple test steps based on the datasource row count)
Related Content
- 2 years ago
- 2 years ago