sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37543
Re: [Question #290134]: Can't get a basic app to run -- app isRunning reports false
Question #290134 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/290134
Status: Open => Answered
Karl proposed the following answer:
Assuming you're using Windows, try this:
print "my.isRunning:", myApp.isRunning()
myApp = App("notepad")
print "my.isRunning:", myApp.isRunning()
App.open("notepad")
print "my.isRunning:", myApp.isRunning()
while not myApp.isRunning():
print "my.isRunning:", myApp.isRunning()
wait(1)
print "my.isRunning:", myApp.isRunning()
myApp.focus()
print "my.isRunning:", myApp.isRunning()
Here is my output:
my.isRunning:
False
my.isRunning:
False
[log] App.open [18252:notepad]
my.isRunning:
True
my.isRunning:
True
[log] App.focus: [18252:notepad.exe]
my.isRunning:
True
The problem may be with firefox.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.