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

Upload file in chrome not working when user inactive

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jin Khai
Top achievements
Rank 1
Jin Khai asked on 25 Mar 2018, 08:10 AM

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?

1 Answer, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 28 Mar 2018, 01:53 PM
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!
Tags
General Discussions
Asked by
Jin Khai
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Share this question
or