sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37812
Re: [Question #292695]: Table row button selection based on row data
Question #292695 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/292695
Status: Open => Answered
RaiMan proposed the following answer:
<region of first column>.find(<image of BBB>).right(500).click(<select
button>)
or if you find out the wanted row number through another way, then you can use
buttons = list(<region of button row>.findAll(<select button>))
buttonsTopDown = sorted(buttons, key=lambda m:m.y)
click(buttonsTopDown[<rowNumber>]
Take care: index in [<index>] counts from 0
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.