Importing files to silverlight webapp

6 posts, 0 answers
  1. Adam
    Adam avatar
    3 posts
    Member since:
    Oct 2010

    Posted 14 Oct 2010 Link to this post

    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
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 14 Oct 2010 Link to this post

    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
  3. Adi
    Adi avatar
    25 posts
    Member since:
    Jun 2010

    Posted 19 Oct 2010 Link to this post

    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
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 20 Oct 2010 Link to this post

    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
  5. Adi
    Adi avatar
    25 posts
    Member since:
    Jun 2010

    Posted 25 Oct 2010 Link to this post

    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?
  6. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 25 Oct 2010 Link to this post

    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
Back to Top