Databinding the recorded function

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 110
Joined: Sun Apr 14, 2019 9:46 am

Databinding the recorded function

Post by theraviz » Thu Dec 17, 2020 9:06 am


I have a test case with recorded function for which the input needs to be taken from database. The test case needs to be executed 10 times, that means 10 iterations.

for each iteration the input values are different - First iteration takes data from 1 row, second iteration data is from 2nd row of the results provided by executing the sql querry and so on..

How to achieve this? If I use smart folder then I have to copy paste the test case 10 times. Is there a way to use test case without copy pasting 10 times?

User avatar
Posts: 474
Joined: Fri Jul 15, 2016 1:35 pm

Re: Databinding the recorded function

Post by Stub » Mon Jan 04, 2021 10:24 am

Is the Iteration Count property available on a Smart Folder of any use? You can probably repeat a test case x times using this property, using a single row of data.