Hi All, The below steps are working fine. The test was failing for a different error message which is related to the functionality of the application.
Sorry for the trouble. Regards, Srini On Thu, Dec 16, 2010 at 1:29 PM, sriharini sriharini <[email protected]>wrote: > 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> > >

