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

File upload dialog freezing

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
koljazaretsky
Top achievements
Rank 1
koljazaretsky asked on 10 Sep 2015, 08:11 AM
Hello,

I'm having trouble with File Upload dialog. Sometimes file upload window just freezes for as long as I choose a file or close the window manually. As a browser I use IE11, IDE - Visual Studio 2013. The code below is used to provide functionality:

private readonly DialogMonitor _dialogMonitor;
public void HandleUploadDialog(string path, HtmlInputFile controll)
        {
            var dialog = new FileUploadDialog(Manager.Current.ActiveBrowser, path, DialogButton.OPEN);
 
            _dialogMonitor.Start();
            _dialogMonitor.AddDialog(dialog);
 
            controll.Click();
            dialog.WaitUntilHandled(10000);
        }


I attached a screenshot as an example of frozen window
Could you suggest me a solution? What could be a reason of such behavior? Is there any other way to handle this dialog?

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 15 Sep 2015, 07:26 AM
Hello Mykola,

Could you please adjust your code as it is described in this article and let me know the results.

If the issue persists please grant us a direct access to your application so we can reproduce this issue and give you a solution.

Hope to hear from you soon.

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