windows


UIAutomation won't work in a VPS if I am not connected via RDP


I am stuck in a strange situation. I have script which uses mircrosoft's UIAutomation to automate an application. The script is inside a VPS running Windows Server 2012
The script works perfectly while I am connected to the VPS via RDP (Remote Desktop). When I am not connected, the script seems to be stuck on SetFocus for a object... which leads me to believe that the script needs a Display/Screen/Session in order to work... but I am not sure if it is possible to do it while I am not connected to the VPS.
I can see 2 possible solutions here, either modify the script in someway to work in this environment or make the VPS have a virtual desktop while I am not connected (this solution might be more related to Server Fault rather than StackOverflow).
I am very confused, thanks for the help in advance :)

Related Links

Programmatically grabbing DLL manifest information with Python or other common scripting language / tool
Mobile Device emulator cannot access localhost
Is it acceptable for a server-based application installer to create a new group?
shotgun gem explodes when starting a Sinatra app on windows
Windows: add security restrictions to current process?
realtime logging [closed]
How does porting between Linux and Windows work?
Serial Ports, CreateFile and SetCommState
How to give process specific privileges in windows
How can I tell if a file has the Windows “hidden bit” in Emacs?
TCP and UDP are using different OS Buffer?
ShowHTMLDialog and buttons style
Porting X/Motif GUI application to Windows using wxWidgets
How to register an nsIModule DLL on Windows
How to resolve replsync.dll DLL load Error? Please see the attached screenshot
Creating a wine static executable?

Categories

HOME
hyperlink
dns
rdbms
fftw
gradient
r-googlesheets
static-site
tivoli
maxscript
vsm
retrofit2
recordrtc
computer-science
extjs4.2
project-intu
datastage
openbugs
speech-synthesis
gource
enterprise-architect
flash-player
cumulocity
qsqlquery
entitymanager
intershop
wolframalpha
google-container-registry
solrcloud
microsoft-ocr
zxing
highstock
interpreter
data.stackexchange.com
itunes
beautifier
fat
appirater
amazon-quicksight
nstimer
progress-bar
rpgle
code-snippets
keras-layer
activexobject
sharding
protege4
reactivekit
projects-and-solutions
ods
typesafe-config
c9.io
comparison-operators
avcapturedevice
openrasta
identification
amq
java-6
boo
check-mk
objectscript
dimension
highland.js
java-money
rewrite
xvim
typemock
skspritenode
snoop
bcache
cryptographichashfunction
ejb-2.x
beatsmusic
boost-program-options
sonarqube-5.0
sql-scripts
teaspoon
rickshaw
gii
mdichild
build-script
live555
ray
buffering
solace-mq
http-patch
mbunit
flex++
octal
jquery-1.9
traceability
twisted.web
pyunit
correlated-subquery
inkcanvas
fitbounds
floating-point-exceptions
entitydatasource
msr
tmx
codebase
objective-j
rowlex
duplex
tui
localizable.strings
appliance

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App