Hi,
I am performing one scenario in which when I hit Save Button, message box appears/pop-up and I need to hit OK button to go further. I am attaching Screenshot of Messagebox which appears on Screen. Now challenge is, nor test studio is able to capture this messagebox neither hover over highlighting method. Also this messagebox is not showing in DOM tree. Let me know how I put test step for this?
Thank you.
I am performing one scenario in which when I hit Save Button, message box appears/pop-up and I need to hit OK button to go further. I am attaching Screenshot of Messagebox which appears on Screen. Now challenge is, nor test studio is able to capture this messagebox neither hover over highlighting method. Also this messagebox is not showing in DOM tree. Let me know how I put test step for this?
Thank you.
5 Answers, 1 is accepted
0
Hello Darshana,
This type of message box is called a JavaScript Confirm dialog box. It's displayed as a Windows window i.e. a Win32 type of window. It does not appear in the DOM. There are no HTML elements and our element highlighting doesn't work with this type of window.
When you click the OK or Cancel button Test Studio should automatically pick up the button press and add a "Handle Confirm Dialog" test step for you. If that isn't happening automatically, you can manually add that step from the Dialogs drop down found in the ribbon bar then set the properties as you need i.e. which button to click on.
Regards,
Cody
Telerik
This type of message box is called a JavaScript Confirm dialog box. It's displayed as a Windows window i.e. a Win32 type of window. It does not appear in the DOM. There are no HTML elements and our element highlighting doesn't work with this type of window.
When you click the OK or Cancel button Test Studio should automatically pick up the button press and add a "Handle Confirm Dialog" test step for you. If that isn't happening automatically, you can manually add that step from the Dialogs drop down found in the ribbon bar then set the properties as you need i.e. which button to click on.
Regards,
Cody
Telerik
0
Amy
Top achievements
Rank 1
answered on 10 Jun 2014, 07:22 PM
Hi,
I've run into this same type of dialog box. I need to verify the text of the message it displays. Is there any way to do that? Thanks.
I've run into this same type of dialog box. I need to verify the text of the message it displays. Is there any way to do that? Thanks.
0
0
Amy
Top achievements
Rank 1
answered on 10 Jun 2014, 09:49 PM
Thanks, Cody, I'll give that a try.
0
Hi,
Great! I'll be here if you get stuck.
Regards,
Cody
Telerik
Great! I'll be here if you get stuck.
Regards,
Cody
Telerik