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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
Thanks Engrean,
I'm talking about Alert Dialog only.
As suggested sendKeys is working fine.
Regards,
Dhanraj