1

In a remote machine where Selenium Grid is configured - I integrated an AutoIT script with Selenium script to upload a file, but the browser window is not being identified by AutoIT. However, the same AutoIT script is identifying the browser window in my local machine when the selenium script is run from my local machine (without grid).

Any workarounds or suggestions to make it work on a remote machine with Selenium Grid, please?

2

I assume that the remote machine is locked, and thus AutoIT can not work. It works on your desktop because it is not locked.

Solution: Keep the desktop unlocked (no screensaver etc). Of course, this reduces the security as well.

Possible other solution: Instead of AutoIT, use Kantu for the file uploads. Kantu works inside Chromium, and runs fine on locked system and/or headless.

  • Thanks Steven for the reply, I will try Kantu. And the remote machine is not locked, I could see the execution till the Browse window (Windows OS) opens but AutoIt script not identifying that window - I think its due to Selenium Grid setup in remote machine? – S K Jun 30 '17 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.