This is a migrated thread and some comments may be shown as answers.

Debugging a test with multiple iterations

4 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 01 Jul 2014, 10:47 PM
If I have a test with 25 iterations and it fails on the 24th iteration, what is the easiest way to run just the 24th iteration?

4 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 04 Jul 2014, 11:47 AM
Hello Dennis,

I am sorry to hear you are experiencing this behavior. 
If you are using local data there is no chance to run only the 24th iteration. If you are binding an external data such as excel file, xml, etc you can use to filter the data between rows and select only the data from the particular row to be executed.

For more details refer to the screenshot attached.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Dennis
Top achievements
Rank 1
answered on 18 Aug 2015, 07:50 PM

Hi Ivaylo,

Thank you for your reply. I'm using local data, but I'm curious if a column could be added to the data table that would serve as an "active flag" for each row in the table. The active-flag value would be set to true for the row(s) that need(s) to be debugged (e.g., row 24) and to false for the rows that don't need to be run during debugging (e.g., rows 1-23 and 25). I'm guessing it would require a coded step, but I'm not sure how it would be constructed. Would this approach to work? If so, can you provide some guidelines?

Thanks,

Dennis

0
Dennis
Top achievements
Rank 1
answered on 18 Aug 2015, 08:08 PM
Just to be clear, I'm using a parent test to log in to a web site one time and a child test that iterates through various pages of the site. The child test is driven by the local data.
0
Ivaylo
Telerik team
answered on 21 Aug 2015, 09:54 AM
Hello Dennis,

Unfortunately the approach described with the local data will not work as you intend to, the only way to proceed will be as already shown with the filtering, however you need to use excel as a data.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Dennis
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Dennis
Top achievements
Rank 1
Share this question
or