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

Export window is not getting recorded

4 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Deepa
Top achievements
Rank 1
Deepa asked on 17 May 2012, 03:07 PM

Hi,

In my application, i have "Export" button which is used to export the reports from the database to the user system. If i click on the "Export" button, another window named "FIle Download" with the buttons "Open", "Save" & "Cancel" will be displayed. I will be able to open or save the document using those buttons. But if i use test studio to check the functionality of the "Export" button, while recording i got the step as "Handle 'Download' dialog". But while running the same script i got the below error in the log.

Failure Information:
~~~~~~~~~~~~~~~
Timed out waiting '25000' msec. for download dialog to be handled.
InnerException:
System.TimeoutException: Timed out waiting '25000' msec. for download dialog to be handled.
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DownloadDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

The "File DOwnload" is not been captured by the test studio for recording. Kindly help me with this issue.



Thanks,
Deepa.C

4 Answers, 1 is accepted

Sort by
0
Byron
Telerik team
answered on 17 May 2012, 07:11 PM
Hello Deepa,

It is possible that the download dialog is not being triggered. This could be because the button click step before is not working. If so, please try using the element menu to record a simulated mouse click on the 'export' button.

As Plamen mentions in your other post, we may need more information about your application to help with your issue. Please provide us with a copy of your test. Also, please provide your failure log and a copy of the DOM at the time of failure. You can export these to file from the failure tab for your test.  If possible, please take a Fiddler trace and attach it to a support ticket in zip file. If you are unfamiliar with how to do that please refer to this short video. You can download Fiddler application from here. A Jing video demonstrating the issue may also help us to better understand what is happening.

Regards,
Byron
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Deepa
Top achievements
Rank 1
answered on 28 May 2012, 12:22 PM

Hi,

Thanks for the reply. But the short video for the Fiddler Trace is not available in the link whihc you have mailed. Kindly help me with that so i can send the exact problem to you with which you can solve my issue.

Thanks,
Deepa.C
0
Deepa
Top achievements
Rank 1
answered on 29 May 2012, 07:06 AM

Hi,

On seeing the "General Discussion" i could find most of them have faced the same issue with the "DialogueHandler". I have followed the steps mentioned in the "User Guide" for handling the pop ups. Kindly help me with this as i have to complete this task by tomorrow.
I have already mentioed in my other post that im not able to view the video about the "Fiddler Trace".

Thanks in advance,
Deepa.C
0
Byron
Telerik team
answered on 30 May 2012, 11:08 PM
Hello Deepa,

It appears that tv.telerik.com is temporarily unavailable. You may want to see the videos at Fiddler2.com explaining the use of the software. All you need to do is start Fiddler and execute the test through Test Studio. Fiddler will record the HTTP traffic, which you can export as a session archive (SAZ) file. This file will allow us to run your test and observe the same results.

Greetings,
Byron
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Deepa
Top achievements
Rank 1
Answers by
Byron
Telerik team
Deepa
Top achievements
Rank 1
Share this question
or