How to test applying multiple templates using ATF in a single test case

monikasilac
Giga Contributor

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:

  1. Clicks on the 3-dot button to open the template selection pop-up.

  2. Applies each available template one by one.

  3. 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.