← Back to team overview

sikuli-driver team mailing list archive

[Question #216440]: Sikuli does not recognise previsouly recorded screens

 

New question #216440 on Sikuli:
https://answers.launchpad.net/sikuli/+question/216440

Hi All,

The issue I have been encountering is becoming a problem for me.  I have a calling script in sikuli that calls my other tests.
When the calling script executes each scripts, sikuli then stops because it cant find certain images such as an OK button or Exit button.

If I open the Sikuli script that stopped then execute it with using the calling script then it runs just fine with no issues.  But I use a calling script Sikuli will stop.

The strange part is sometimes it executes then the next run Sikuli stops because OK does not exist.  But it does.  

While debugging I watch it stop, the item I need to click exists, I even checked the pattern matching and it finds a single image.  So I am a little lost as to why this happens.

Also in my calling script I use the following:
myScriptPath = "C:\\Users\\AutomationUser\\Documents\\Automation\\Sikuli"
if not myScriptPath in sys.path:  sys.path.append(myScriptPath)

Version: r930 on Windows 7 64-bit.
Java 6

Thank you.

Chris Crawford

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.