Autoit script issue with remote desktop

247 views
Skip to first unread message

Uma S

unread,
Oct 9, 2019, 9:48:15 AM10/9/19
to seleniu...@googlegroups.com
Hi,

We use Citrix receiver to connect with remote desktop . Present framework we use is selenium webdriver with cucumber.

The issue we are facing with batchrun here is we use autoit to login webpage to deal with authentication popup.the browser we use is ie.

Our requirement is to provide nightly run report.Whenever the remote vdi gets locked autoit script stops executing so all our cases are failing in login.


Has anyone faced this issue before?. How to deal with this?.

Thanks,
Uma

thilana Athi

unread,
Oct 9, 2019, 11:41:53 AM10/9/19
to seleniu...@googlegroups.com
It seems like auto IT has some limitations when system gets locked out.

Hence you need to maintain system from not being locked out by constantly triggering some key press events with VB scripts.

You can have a look out below reference :






--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAPP%3D4-5Av9XGHLTtRmYx%2BqqKxr0tCziKk8LCCBrfBqZ0rw6Emw%40mail.gmail.com.

David

unread,
Oct 9, 2019, 8:48:31 PM10/9/19
to Selenium Users
So with Citrix receiver, is the actual target server being remote desktop'd to a physical server or a virtual machine? And is it IT configured policy to have the desktop lockup after certain period of inactivity?

Can't say for Citrix receiver / remote VDI, but this should work for native remote desktop, could probably be adapted for your use case: https://web.archive.org/web/20140924124140/http://www.allianceglobalservices.com/blog/executing-automation-suite-on-disconnectedlocked-machines

if you have more control over that server than what IT gives you, setting up a VNC server (with password) would be the optimal setup, and running the automation against the (physical or virtual) server's primary local desktop via VNC for the initial connection/setup. But that only works provided the desktop doesn't auto-lock on inactivity, or else you'd need to follow the example given above.
Reply all
Reply to author
Forward
0 new messages