Upload file in chrome not working when user inactive

2 posts, 0 answers
  1. Jin Khai
    Jin Khai avatar
    11 posts
    Member since:
    Mar 2018

    Posted 25 Mar Link to this post

    Hi, 
    I am writing a test case to upload file using chrome browser, tried a few methods, the closest one is using the blind click (so called offset click) from:
    https://www.telerik.com/forums/issue-with-test-step-handle-'fileupload'-dialog
    https://www.telerik.com/forums/handle-file-upload-dialog-in-chrome

    This method works if I am present and actively looking at the progress of the test runs,

    but if i minimize the browser, or run this remotely at other machine (without seeing the screen), then it won't works anymore.

    Anyone face this issue and how to solve it?

  2. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 28 Mar Link to this post

    Hi Jin,

    The problem you are facing is related to the know Windows OS limitation. When you use blind click or another desktop action you will need an active user session to be able to execute such actions during the test run.
    This problem is discussed in those article1 and article2 and you may find a lot more information and possible workarounds on the web - like this one for example.

    I hope this helps.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top