Menu

How to validate test in Error Window

Help
2007-05-21
2013-04-25
  • Dhanraj Muthiyan

    Hi,

    I'm testing an application on Microsoft Windows platform (IE 6.0).

    On a particular web page an error is expected and is being displayed as an error window. I want to validate the text displayed on the error window and also click on OK button. But I don’t know achieve that. (I’m using Jiffie plug-in.)

    Thanks in anticipation.

    Dhanraj

     
    • Christian Hargraves

      If you are talking about an alert dialog, then you can't validate the text in a dialog. You can only use the sendKeys methods to send the key to the screen that will end up pressing the okay button for you.

       
      • Dhanraj Muthiyan

        Thanks Engrean,

        I'm talking about Alert Dialog only.

        As suggested sendKeys is working fine.

        Regards,

        Dhanraj

         

Log in to post a comment.