Issue with test step : Handle 'FileUpload' dialog

4 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
    750 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
    750 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!
Back to Top