Hi Team,
My requirement is that i want to skip an iteration if an expected data is found in a row
for example my data table looks like
Flag Username Password
Red red_ted 123
Blue blue_glue 123
Yellow yellow_glow 123
if (Data["Flag"] == "Blue")
{
<Skip Iteration logic>
}
Expected Result is current iteration should be skipped and move to next iteration i.e., row of "Yellow". Please advise how to achieve this
5 Answers, 1 is accepted
Team,
Any information on above query ? please guide me
How to Skip Iteration based on a cell value in local data table ?
Thanks
Abdul
Team,
Please guide me on the above query.
How to Skip the current Iteration if an expected cell value is found ?
Expected Result : Next Iteration should start
Regards
Abdul
Thank you for your interest in Telerik Test Studio and contacting us.
The exact scenario you have is not documented exactly. Though there is a described approach for non iterative data driven test which could be used as a base line for your use case. Please review the shared article and let me know if it would be suitable to be modified for your needs.
Regards,
Elena Tsvetkova
Telerik by Progress
Thanks Elena for the reply
Unfortunately in my use case we are not using any external data sources like XML, Excel etc.
We are totally dependent on Local Data table of Test Studio because we have to capture the results of tests in each iteration from the Results tab of Test Studio.
Please advise any way by which we can control the iteration of Local Data table ? Specifically Skip the Iteration based on a cell value - attached snaps
Regards
Abdul
You could include your data in an external data source as well. Please have a look on this article and let me know if that will be useful in your case.
Regards,
Elena Tsvetkova
Telerik by Progress