Re: JavaScript pop up message box

sriharini sriharini <[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]>
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="//img[@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>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.