ATF Assert type - not working properly

Community Alums
Not applicable

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

 

lakhani04_0-1707460698177.png

 

We have tried all 4 Assert type but it didn't worked

lakhani04_1-1707460939958.png

 

  • 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: 

lakhani04_2-1707461561233.png

 

 

3 REPLIES 3

Shaqeel
Mega Sage

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

Community Alums
Not applicable

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]

lakhani04_0-1708346844903.png

 

Regards,

Lakhani04

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