Hi,
I am having trouble in making the script click OK button on the
pop-up JavaScript message box (pop-up has only 'OK' option) when the
'Cancel' button is clicked on the main page. Once the pop-up message is
clicked OK, the main page is navigated to other page

Test result shows the steps as passed, but result screen shows the pop-up
with same main page

Can you guys please share some light how to proceed with this.


Appreciate your input.

Regards,
srini

my steps ------

<click xpath="//i...@alt='Cancel']"/>

<steps description="Pop-up warning message for exchanges">
<expectDialogs description="cancel transaction">
<alert description="Are you sure you want to cancel this transaction? "/>
</expectDialogs>
</steps>

Reply via email to