cancel
Showing results for 
Search instead for 
Did you mean: 

Can i automate clearing results DataSource-DataConnection after each run?

SOLVED
Voropaeva_Kris
New Contributor

Can i automate clearing results DataSource-DataConnection after each run?

I have a DataSource step with the type DataConnection. 
Now I have the next problem: each time when I run new trying of a test - results in DataSource step keep and each time using the first result, but I have to use the last result.
How I can do this? Maybe, I can clear result after each running?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
TanyaYatskovska
Community Manager

Re: Can i automate clearing results DataSource-DataConnection after each run?

Hi @Voropaeva_Kris,

 

As far as I know, DataSource doesn't allow specifying the record number to start the iteration.

The only way you can use is to create a groovy script that will iterate through your DB store in a way you want.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
TanyaYatskovska
Community Manager

Re: Can i automate clearing results DataSource-DataConnection after each run?

Hi @Voropaeva_Kris,

 

As far as I know, DataSource doesn't allow specifying the record number to start the iteration.

The only way you can use is to create a groovy script that will iterate through your DB store in a way you want.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors