Forum Discussion
Do you expect all of this data to work or do you have some planned failures?
- diwakar_sh123 years agoOccasional Contributor
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.
Related Content
- 4 years ago
- 6 months ago
- 3 years ago
- 3 years ago
Recent Discussions
- 2 days ago