Issue with test step : Handle 'FileUpload' dialog

6 posts, 0 answers
  1. Bhavin Patel
    Bhavin Patel avatar
    3 posts
    Member since:
    Feb 2010

    Posted 08 Jun 2015 Link to this post

    While recording, I used Firefox browser. The recorded steps included uploading a file. My application uses AjaxFileUpload control for file upload.

    In the test step, I click on 'Select file', a dialog box appears, I select the required files, press 'open' and then press upload.

    While executing, the dialog box doesn't appear even though the test step 'click select file' passes. The test execution hangs at Handle 'FileUpload' dialog step.

    I have attached the log and a screenshot of the application. 

    This is my application Url - https://ctoweb.ovcr.uic.edu

    I went through solutions for similar issues discussed in the forum but they don't seem to work.

  2. Ivaylo
    Admin
    Ivaylo avatar
    760 posts

    Posted 11 Jun 2015 Link to this post

    Hello,

    You are experiencing this behavior due to application specific problem.
    The input element is floated to the left when highlighted and since Test Studio clicks in the center of the element by default the click is performed on the wrong place. If you enable the annotations while executing you will see the behavior. For more clarity I've added a screenshot.

    In order to overcome this behavior you will have to click on specific point using a blind click as shown in this short video (no audio).

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Bhavin Patel
    Bhavin Patel avatar
    3 posts
    Member since:
    Feb 2010

    Posted 11 Jun 2015 in reply to Ivaylo Link to this post

    Hello Ivaylo,

    Thank you so much for the inputs. Using blind click and setting the proper offset coordinates I was able to handle file upload.

    I am trying this for all my applications and in case if any issues crop up, I will consult you.

    Thanks again! I highly appreciate it.

  4. Ivaylo
    Admin
    Ivaylo avatar
    760 posts

    Posted 15 Jun 2015 Link to this post

    Hello,

    I am glad I was able to help.

    I am closing this case as resolved now.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. tichuot
    tichuot avatar
    1 posts
    Member since:
    Dec 2016

    Posted 07 Jan Link to this post

    Hi Telerik,

    I use Telerik to implement a project "webtest" to test some steps.

    the website is http://tokiwi.com/. I am stuck at the point "handle Upload dialog". even though I followed the similar situation and its solution in this post, it could not make it through. When I click on the button "Profile Picture",  a new popup is displayed with 

    first, then I can click on the profile picture to be able to choose a new photo. At this point, a file up dialog appears....

    I also attached pictures as steps and log file so that you can understand my situation better.

    can you please tell me how to solve this problem to get successful webtest?

    I tried to apply the solution you offered above but there is no pointer or highlight to the specific point so that I can relocate it to the Save button as a chosen specific point.

    I hope to get some support from you soon.

     

    Thanks

    Regards

  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 11 Jan Link to this post

    Hi,

    What version of Test Studio do use?

    Could you please also send me the test project so I can reproduce the issue and give you a solution? This will be fastest and easiest way to resolve this.

    Thank you!

    Regards,
    Boyan Boev
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top