While automating the Oracle forms, script is getting passed even if it is not executed properly (using selenium with robot js and nut js)

[Here the Another.png not present in that particular form still it is not coming to the catch block .
And even if it doesn’t find the correct Capture.png it is clicking somewhere in the form and script is getting passed.

  1. post click step 65, getting one popup because of that it is not executing rest of the step still that method getting passed
    Can anyone help me in this for proper validation – it should fail if the step doesn’t execute properly] (https://i.stack.imgur.com/mK0zQ.png)

Can anyone help me in this for proper validation – it should fail if the step doesn’t execute properly