← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #207178]: How to click a specific UI element using regular expression

 

Question #207178 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207178

    Status: Answered => Open

Siva is still having a problem:
Thanks for a quick turnaround RaiMan.

I have tried with the option given. In the Windows Mobile, I have
created a region (On Sikuli - Create Region, captured that region).

reg=Region(here comes captured image of region)
myText=reg.text()
wait(2)
print myText

I was able to see the below results in the Sikuli


F7nd
 m?ion 
I VS 1-10 EF $7 lgults 
Best Match 
2..1\| 
lnsignia'? - 39" Class ? LCD - 
10EOp - 60Hz - HDTV 
**** ?k 
on sane $279.99 
AF 
A AAI 
19 reviews 
Shipplng: Usually leavesourwarehouse in1 business d ay 
32" Class / LCD/ 
Dynex?? 
~ 
*** 7k vk 
On Sale $189.99 
S4 reviews 
Shlpplng: Usually le avesourwarehouse ln1 business day 
19" Class/ LED / 
Insignia'? 
720p / 60Hz/ HDTV 
i ink i ir 
On Sale $99.99 
67 reviews 


For your information, on my Windows mobile application, the first image will have the below content
Insignia TM - 39" Class - LCD - 1080p - 60Hz - HDTV
Five Star symbols 19 reviews
On Sale #279.99
Shipping: Usually leaves our warehouse in 1 businessday

Region.Text() is capturing the information but how can I check whether
one particular text is present on the region and how can I click on that
UI element only (Please see the above Insignia information, say for
example, I want to move up/down and click on any similar product on the
windows mobile),

How can I do this?

Any help would be great!
Thanks
Siva

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