sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36269
[Bug 1531164] Re: findAll
should start as question
** Changed in: sikuli
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/sikuli/+question/280606
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1531164
Title:
findAll
Status in Sikuli:
Invalid
Bug description:
Have a script that imports another Script
e.g
Settings.MoveMouseDelay = 0
import Sub_Login
def Open_User():
global Sub_Login
global ThisLogin
global ThisPassword
global ThisServer
global ThisUser
global Open_Which_App
global result
print "Open_User() ======== Import Sub_Login.Sub_Run_Single_Login"
result = 0
result = Sub_Login.Sub_Run_Single_Login(ThisLogin,ThisPassword,ThisServer,ThisUser,Open_Which_App)
print "Open_User() ======== Import Sub_Login.Sub_Run_Single_Login result ",result
I added this call to find out when my script failed
if I set the variables and call - Open_User() the scripts
Loads browser
Enters Login Details
looks for an image to click - finds image and logs in { image = if exists("1433762728604-2.png",5): }
The Problem - I need to use findAll to determine what the variables
are
if I use findAll then set the variables (using the same as above) and call - Open_User() the scripts
Loads browser
Enters Login Details
looks for an image to click - Fails to find the above image { image = if exists("1433762728604-2.png",5): }
My uneducated conclusion is that findAll is someway corrupting the
script
Is there any debug that I could add to help in finding out what is
happening
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1531164/+subscriptions
References