← Back to team overview

sikuli-driver team mailing list archive

[Question #274947]: Failed to extract multiple texts on a screen with similar images

 

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

Hi,

On a screen, have 2 similar images with name site_1 and site_2(only name difference between those images and rest is similar )  and wants to extract the texts "site_1" and "site_2" from the images with below code. 

                 find(Pattern("sites.png").exact()).below(10).text()
                 find(Pattern("sites2.png").exact()).below(10).text()

Note: sites.png image has a text "site_1" and site2.png image has a text "site_2".

but i can able to extract  text "site_1" only with above codes (as it placed before  site_2(site2.png) on screen)
may i know how can i extract site_2 from "sites2.png"

Im using sikuli 1.1.0(with options 1 and 3) and windows machine.

Thanks in Advance

regards
Siddu

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.