ATF: is possible validate if a system message appears on the screen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2019 07:21 AM
Hello,
I wanna know if I can validate the system messages that appears for the users on the the form as example below:
- Labels:
-
Automated Test Framework
- 2,102 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2019 01:05 PM
We also have a need to do this. Did you ever figure this out or have anyone provide insight as to if this is possible or not?
Thanks,
Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2021 07:41 AM
I too have this need. I want to test if message "WARNING: owner department missing" appears on my form, which is a normal form (specifically, displaying a CI record from the CMDB).
I discovered I can use ATF test step Assert Text on Page (Custom UI) to validate whether the desired message is displayed. The test works exactly as I want.
N.B. I'm not sure exactly what they mean by "Custom UI" in this context. I had wondered whether such tests might be restricted to UI Pages/Macros. Luckily that wasn't the case.
Hope this helps!
Simon