sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32887
Re: [Question #267957]: I am new on sikuli and started using sikuli as project requirement.PLease tell me any advance sikuli tutorial website
Question #267957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267957
RaiMan proposed the following answer:
@Zeks
-- Abstract away interface elements such as buttons and table cells
again good point.
to better support such solutions is on the list for version 2
... but already 1.1.0 will have some abstracting features like
findAny(imageList) and findBest().
the button problem could the be solved like that:
btnOn = "btnOn.png"
btnOff = "btnOff.png"
imgList = (btnOn, btnOff)
m = someRegion.findBest(imgList)
m.highlight(1)
if m.getIndex() == 0:
print "*** should be ON"
else:
print "*** should be OFF"
findBest() is already available in the latest build
internally the findops are threaded and hence run in parallel (timing
advantage with 3 and more images)
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.