I have a database filled with profiles to be entered into an application. I can read the data through SQL in a testcase, and loop through each record. The disadvantage of this, however, is if one entry fails, the testcase fails and the remaining records will not be entered.
What I need is to loop through the records. Validate the entry and results. If there is an error, log it and proceed to the next record. How can I do this?
Is the error an error you are raising in the event the verification isn't as expected? Or is SilkTest raising an error? If SilkTest is raising the error, try wrapping your verification in a do/except. in the except put in a LogError to log the error to the results file.
Thanks for your input, however I have over 100 fields to verify. It would actually save more time for me to simply have that particular scenario/testcase fail and then proceed with the next scenario entry. Can I loop a testcase? If I could do this, I can define the variables, run the testcase X times, log the failures and have the results I need.