How to run an ATF test positively without failing for the negative test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 09:24 AM
Hi All,
Good Evening. I have a scenario where I have to show that an error is displayed but the test should not fail. I am not sure if it can be done. I will explain you step by step via pictures. Kindly help.
Now when I click on Release, it will throw an error.
Is there a way to read the error without failing my ATF Test case? Any ideas please?
Regards
Suman P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 11:03 AM
In my click UI Action I have Assert type as Form Submitted to Server. Try setting it to None and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 11:09 AM
I set it to None and tried, same result Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 11:18 AM
Have you tried Form submission canceled in browser. Maybe it has to do with a UI Policy generating the error. Where mine is a Business rule that stops the form submission. Other than that I'm note sure what else it would be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 11:24 AM
I have no idea about that Brian.
Regards
Suman P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 11:25 AM - edited 10-26-2022 11:26 AM
I will give them a suggestion to make the fields mandatory so that I can validate them.
Regards
Suman P.