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

Telerik not able to record on Pop Up WIndow

5 Answers 233 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vikas
Top achievements
Rank 1
Vikas asked on 10 Mar 2011, 05:23 PM
Hi Team,

Telerik tool is not identifying pop up window opened after clicking on one of the the links from our webpage. Normally it asks whether to record steps on pop up window while switching to a pop up window but here no such option also being given. We need to do some validations on the pop up window and then close it , but tool is not allowing to record any step on pop up window not even closure. I tried to handle closure of pop up using 'Dialog Handler' but that also is not working.

Can someone please look into this problem.


Thanks & Regards
Vikas

5 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 11 Mar 2011, 06:59 PM
Hi Vikas,
   could you please provide a demo of a pop-up window that exhibits this behavior. I'd like to try to reproduce this problem. It doesn't have to be a demo of the actual application you're working on, any example that you find on the Net will do as long as the behavior exits.

Hope to hear from you soon!
  
Kind regards,
Stoich
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
karla
Top achievements
Rank 1
answered on 04 May 2011, 05:27 PM

Hi,

I have the same problem, but with pop up windows that are not part of a silverlight application. I saw in your site the explanation about how to make work the pop up record, I didn't tried that yet, b/c as I understood the assembly should be installed on the application code, so my questions are,
a. If I understood that good? (that assembly should be in application code)
b. There is another way to test the pop ups with a recording? without modify the code behind of the application? (and not with manual testing)


Note: see in the attachment the kind of pop up that I cannot record.
0
Cody
Telerik team
answered on 04 May 2011, 08:46 PM
Hello karla,

That popup looks like a standard Win32 type of popup i.e. a Windows MessageBox. If it had a title we could handle using our Generic Dialog handler. Since it has no title we have no way of positively identifying it during automation and handling it. Is there any chance you could get your developers to add a title to this dialog box?

All the best,
Cody
the Telerik team
Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
Register Today!
0
karla
Top achievements
Rank 1
answered on 04 May 2011, 11:27 PM

Hi Again and Thanks for the response,

I talked with developers, and they clarify me, that these kind of pop ups are basic message boxes from silverlight.

so, in this case, these kind of pop ups need the title too? looks like they don't have the title.

Then seeing on WebUI the Generic handle option, we have to put on the Dialog title field the pop up title name, but this option can manage when user clicks on "OK" or "Cancel"? I saw that "Confirm dialog" manage this options, but I'm not sure when is used "Generic Dialog" option

Regards,
0
Cody
Telerik team
answered on 04 May 2011, 11:43 PM
Hi karla,

This MSDN documentation shows how to add a title to the standard Silverlight MessageBox. Your developers just need to add a "Caption", the second parameter in the API.

The ConfirmDialog handler only handles the JavaScript confirm dialog, like this one. The Generic Dialog handler will find a popup dialog by it's title and then click on whichever button you specify. We just need a real title to look for.

Kind regards,
Cody
the Telerik team
Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
Register Today!
Tags
General Discussions
Asked by
Vikas
Top achievements
Rank 1
Answers by
Stoich
Telerik team
karla
Top achievements
Rank 1
Cody
Telerik team
Share this question
or