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

Importing files to silverlight webapp

5 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 14 Oct 2010, 11:36 AM
I have been trying to automate a full regression test of our silverlight based website, however there are some areas that I can't seem to automate.

One of the main areas has been when I need to import a file to the site (xml, csv) and need to select from a MS 'Open' window.  WebUI doesn't seem to like recording actions when I use this area.

Can anyone help...point me in the right direction.

Thanks
Adam

5 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 14 Oct 2010, 10:25 PM
Hello Adam,

I need some clarification. This post was filed in the Testing Framework forum. The Framework is a .NET library you can use for programming your own coded tests. It has no recording capabilities as you make mention of in your post.

So are you actually referring to our QA or Developer edition of WebUI Test Studio and it's recorder? If you are, are you asking about recording of a Windows popup dialog? Can you get a screenshot of this dialog? We do support recording of a small set of Windows dialogs, but not just any dialog. It has to be one that we recognize (File download, File upload, Javascript alert, Logon).

All the best,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Adi
Top achievements
Rank 1
answered on 19 Oct 2010, 11:07 PM
Hi Cody,

While looking for a similar issue I came across this thread. I am using the telerik webUI studio (Dev)and its recorder. In my case, Its a popup windows dialog for file upload. However I am not able to see recording capabilities on the popup window. Could you let me know if its possible to record on the pop up window and if yes, how do I go about achieving it.

Thanks,
Adi
0
Cody
Telerik team
answered on 20 Oct 2010, 11:54 PM
Hello Adi,

During recording of a WebAii test we try to automatically handle recording a "Handle FileUpload Dialog" test step. We don't record the individual actions you perform in the dialog, but rather add this one step automatically when you click the Open/Save/Cancel button. This means when you click one of the buttons we'll automatically read the file & path entered and which button you clicked. We'll populate the properties of the test step with these values.

If the recording doesn't work this way, you can always manually add a "Handle FileUpload Dialog". See the attached screenshot for how to do this. Once you add this test step you can adjust the properties as you need.

Best wishes,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Adi
Top achievements
Rank 1
answered on 25 Oct 2010, 03:00 PM
Sorry my bad its not a pop-up but it is a windows dialog box and there is no way to connect to dialog box. So in this case, how would I need to go about doing it?
0
Cody
Telerik team
answered on 25 Oct 2010, 04:56 PM
Hello Adi,

Does your windows dialog resemble the attached screenshot? This is the standard File Upload dialog that IE uses and we automatically handle and extract information out of it when we see you click the Open button.

If your dialog looks different than this, please attach a screenshot of it. Then I'll be able to better help how to handle it.

Regards,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Cody
Telerik team
Adi
Top achievements
Rank 1
Share this question
or