How run remaining rows when Validate fails for current row?

Class library usage, coding and language questions.
lyn5000
Posts: 50
Joined: Mon Feb 13, 2012 5:52 pm

How run remaining rows when Validate fails for current row?

Post by lyn5000 » Fri Mar 09, 2012 12:57 am

How do you fail only the current row and not abort the test case from running the remaining rows?

When I use Validate.IsTrue(...), it throws an exception if it fails which fails the current row and the test case stops and the remaining rows are logged as blocked.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How run remaining rows when Validate fails for current row?

Post by Support Team » Mon Mar 12, 2012 11:46 am

Hi,

If you want to continue with the iteration you have to set this on the expected test case. Therefore please open the property dialog of the test case with the data connector and then select the error behavior "continue with iteration".

Regards,
Peter
Ranorex Team
.
Image