- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 10-21-2019 06:34 PM
ATF - How to use “Click Model button” test step
This describes how to use “Click Model Button” test step of ATF. Deleting an Incident is the used test case. Please note that I have used only the required steps to explain the clicking model button step.
Scenario
- Create Incident
- Open the created Incident
- Click “Delete” button of Incident form
- Click “Delete” button of confirmation pop up window
ATF Test Steps
How to find the “Model Window” and Name of the “Model Button”
First, we should find a scenario where we can see a pop-up window such as “Deleting an Incident”
- Click on the button which displays a model window
- Make sure pop-up window is visible as mentioned below
3. Right Click on the page and click “Inspect Element(Q)”
- Find the id of the model window from “Inspector” by clicking on the pop-up window
- Click on the button in the pop-up window and find the id of that button from the inspector.
- 7,981 Views

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thanks for this Dona! This was exactly what I needed in my current ATF Test 🙂
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I'm glad I was able to help. Thanks for the reply Gerald.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
This is really very helpful and exact solution I was looking for. Thanks Dona for good explaination with screenshot 🙂
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thanks for sharing this way to identify the button ID.
The selection pop-up window does not show the required button.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Dona,
Thanks for your precious help !
I want to add something : if the Modal has a text area, that may be mandatory, use "Set Component Value (Custom UI)" to fill it.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
can anyone help me what should be the button and how to fech it
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Saha,
Just copy the ID of the HTML button element to fetch the button's name as shown in the first post.