findAll
Have a script that imports another Script
e.g
Settings.
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.
result = 0
result = Sub_Login.
print "Open_User() ======== Import Sub_Login.
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(
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(
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jeff_Vallis
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #1531164.