← Back to team overview

sikuli-driver team mailing list archive

[Question #240637]: Query which OS? Need different image set per OS

 

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

Perhaps this isn't the right solution (something simple please!)

I have a series of scripts to test some software; these need to run on a variety of (Windows) OSs. However since XP uses different controls to Win7 I'm finding scripts failing due to image matching failures.

One solution would be to query the OS and then choose a new image folder ...

    myImagePath = "k:\\ItemPropertiesGrid\\test\\IPWCommands.sikuli\\images"

    if not myImagePath in getImagePath ():  addImagePath (myImagePath)

Is this possible? Do we know of another solution?

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