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

[Solved] Problem in File Upload

3 Answers 68 Views
Automation Design Canvas
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Charles W
Top achievements
Rank 1
Charles W asked on 14 Dec 2009, 11:26 AM
Hi ,



I am using WebUI Testing Studio beta version. I could not upload the file using File Upload Handler even though i followed the exact steps  .I gave the path of the file in the Properties window.The upload dialogue box is opening but the file didn't selected.
I have attached the screenshots for ur better understanding.

Regards,
Charles

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 14 Dec 2009, 04:11 PM
Hi Charles,

From your screen shots, it looks like you are entering the file path into the data binding dialog box. The file upload handler has a FileUploadPath property which would use and enter one file path steing.

You can also data bind the file upload handler, as in video. An example from the built in data grid would be to add file paths to the column 'Col1', then enter '$(Col1)' into the data binding dialog box property.

Also, there is a known issue with 64 bit Windows dialog versions not working with the dialog handlers in WebUI, so please note this if you are using 64 bit Windows.

All the best,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Charles W
Top achievements
Rank 1
answered on 15 Dec 2009, 03:49 AM
Hi Nelson,

              Thanks for the reply.

We are using 32 bit Windows . will the file handler work in that ?

And i tried data binding method .but its not recognizing the file .i have attached the screenshot for ur reference.

Regards,
Charles
0
Missing User
answered on 15 Dec 2009, 04:29 PM
Hello again Charles,

The File Upload handler should work for 32 bit Window dialogs. I re-tested the data binding for a file upload handler and it worked on this end for all 3 browsers. I'm attaching a test for reference which is based on the data driven process described in this video.

-Please note that File Upload Handler step is bound to 'Col1' in the built in WebUI Data Grid.

-In the Data Driven Editor, found in the File Upload Handler step's '(Bindings)' Property drop down menu,  the syntax is '$(Col1)'.

-The built in Data Grid (click FileUploadDataBinding.aii tab -> 'Data' tab) contains data that will cause the test to iterate 3 times over the column's 3 rows

Let us know if you have any further questions on this.

Sincerely yours,
Nelson
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Automation Design Canvas
Asked by
Charles W
Top achievements
Rank 1
Answers by
Missing User
Charles W
Top achievements
Rank 1
Share this question
or