- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2017 08:48 AM
With Automation - how can I confirm the text of a pop-up that was triggered by a particular action? For example, if I attempt to create an Incident, do NOT fill in all required fields, and click submit, a pop-up message appears. Can automation confirm that the pop-up message contains the correct text? If the text in the pop-up should say "This field is missing data" - can automation confirm the UI pop-up message actually has that text in it?
Solved! Go to Solution.
- Labels:
-
Automated Test Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2017 12:46 PM
Correct, currently there is no way to test that.
On the client side (visible data loaded in the browser window) ATF only provides a way to test some of the form functionality, there is no way to test how lists are loaded or the left nav items.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2017 03:04 PM
It all depends on what exactly you are trying to test and what you mean by 'UI links', but I would go with a: No -- you can't test UI components from the service-side scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 01:41 AM
Hey masha,
Didn't want to create a new question just for this.
Therefore, as kind of an extension to this, we have created our own button in the top menu, "Save", which updates but stays on the page.
How can I access and click that button?
And when the button is clicked, would I be able to then assert that data on the form has been updated as expected?
Thanks,
Michael

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 04:11 PM
Hi Michael,
If your new "Save" button is a UI Action, you will be able to test it with Form -> Click a UI Action test step. You will have to make sure you select the correct "Save" action, as from my experience there will be several, by comparing the sys_ids. Also that step comes with optional assertions of submitting or not submitting the form to the server.
Hope this helps. Let me know if you have any other questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 01:50 AM
Hi Masha
The reason I asked, was because the field where to pick a UI Action, wasn't visible.
I thought I had done something wrong.. But found out that it's an issue with my account/user, and I'm working with someone who will try and examine why I can't see the field.
I've impersonated someone else, who was able to see the field.
But thanks for the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2018 05:29 AM
In the GlideDialogWindow UI page, I'm using a comment (ui_multiline_input_field). How can I please set this comment fields using ATF before clicking on the button?