Forum Discussion
Hi dhundley!
As rraghvani mentioned, I would look into event handlers for the second portion of your inquiry.
As for the first, setting a test to only run if the preceding was successful, that is an easy one.
In the Execution Plan, you can nest your tests. You can see in the image below I have a 'ContactUs' test that is nested under my 'Login' test. Since I have 'Login' setup to stop on errors, 'ContactUs' will only run if 'Login' is successful. You can DragnDrop or use the Arrows to move the tests around.
I hope this helps!
- dhundley3 years agoRegular Contributor
i had actually thought the same thing myself. even before posting this i tried that and when the parent test case failed i saw this on the report log
and it made me think that it went ahead and tried to run the child but upon closer examination it does appear that what appears to be the child is simply the name of the keyword test that was executing in the parent when the failure occurred so I might have to go back to this and see how it behaves when i get the error corrected. thanks!
Related Content
- 4 years ago
- 11 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago