How to test applying multiple templates using ATF in a single test case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 03:44 AM
Hi all,
I'm trying to test the template functionality on the Incident form using ATF. At the bottom of the form, there's a 3-dot button that opens a pop-up list of templates (e.g., "Incident Call Type", "Major Incident", etc.).
My goal is to create one ATF test that:
Clicks on the 3-dot button to open the template selection pop-up.
Applies each available template one by one.
Verifies that the correct data is populated after each template is applied.
Is it possible to loop through all templates in a single ATF test, or simulate template selection via a script step?
Also, does ATF support interacting with this kind of template pop-up/modal?
Any best practices or workarounds would be appreciated!
Thanks in advance.