This is a migrated thread and some comments may be shown as answers.

Messagebox is not capturing by recording nor by hover over highlighting

5 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Darshana
Top achievements
Rank 1
Darshana asked on 14 Mar 2014, 09:02 PM
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.

5 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 19 Mar 2014, 09:12 PM
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
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
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.
0
Cody
Telerik team
answered on 10 Jun 2014, 09:46 PM
Hi Amy,

We created this code sample as a demonstration how.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Amy
Top achievements
Rank 1
answered on 10 Jun 2014, 09:49 PM
Thanks, Cody, I'll give that a try.
0
Cody
Telerik team
answered on 11 Jun 2014, 01:08 AM
Hi,

Great! I'll be here if you get stuck.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Darshana
Top achievements
Rank 1
Answers by
Cody
Telerik team
Amy
Top achievements
Rank 1
Share this question
or