Forum Discussion
Do you expect all of this data to work or do you have some planned failures?
Hi Marsha_R,
Thanks for looking into this issue.
We are expecting all data to be worked however during execution some may fail in validation. In a failure scenario, our expectation is to fail that particular test case and pick the next in the row.
Thanks,
Diwakar
- Marsha_R3 years agoModerator
I don't know your syntax but it sounds like your Try and Next are working ok together, but when you hit the Exception, it doesn't know how to go on. I would try putting another Next under the Exception and see what happens.
- diwakar_sh123 years agoOccasional Contributor
Marsha,
I tried to use another Next in except block but no luck.
I've uploaded the code and test data file for your reference. Please change the TestDataPath variable value.
There are 3 rows in the test data file, each is treated as a different Test case.
- Marsha_R3 years agoModerator
Thank you for the information.
For security reasons, I won't open that .zip file. If you'd like to post a screenshot, I'd be happy to look further.
Related Content
- 4 years ago
- 9 months ago
- 8 years ago
- 3 years ago
Recent Discussions
- 15 hours ago