ATF Assert type - not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 10:56 PM
Hello All,
We have created an alert if user change the impact and try to resolve the Incident, the alert will be displayed as warning message by saying-
"As the priority has changed, please ensure you select save prior to resolving this incident.”
Now we are trying to create an ATF to validate the new alert on the Incident (native view).
Please find below test steps we have applied, our test fails at step-7
We have tried all 4 Assert type but it didn't worked
- None- Click a UI Action and continue without making an assertion
- Form submitted to server- Click a UI Action, and assert the form was submitted to the server
- Form submission canceled in browser- Click a UI Action, and assert the form was not submitted to the server
- Page reloaded or redirected- Click a UI Action, and assert the page was reloaded or redirected. Does not assert form submission
In our case by clicking on the resolve we just get the error message so we thought below 2 are applicable but no luck can any one help us to solve this ?
- Form submission canceled in browser-
- Page reloaded or redirected
Test Result:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 11:38 PM
Hi @Community Alums
Good Day!
Kindly select assert type as none. and uncheck "Fail on server error".
Also, On the pop-up do you need to click something?
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 04:52 AM - edited 02-19-2024 04:53 AM
Hello Shaqeel,
Thank for the quick response. Yes, we need to click on Resolve to get the error message.
and this selecting none didn't work selected assert type as none test failed again as [Object Object]
Regards,
Lakhani04
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2024 11:35 PM
Hi @Community Alums
You can not use Click UI action step here.
Its a pop-up.
You can try click a modal button.
Regard
ShQl
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel