Click each record in a indeterminant list

Asked by Mingzuo Shen

Newbie question:

I have a screen with an unknown number of records.
If I double click on one of the records,
a new screen opens.
Possible to double click each of these records?
Thanks in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
carl (maibannato) said :
#1

I'm no expert, but the double-click is the maximum you can get.

considers that the click event is created by a human user.
1) Sikuli replicates a human user
2) the personal computer is for human users
3) (most likely) the program that you're watching is created for human.

for these points, I do not think there is the concept of the event you want.

p.s.
if you're working on html page you try work on code.
good luck, I will read your updates if there are :)

Revision history for this message
RaiMan (raimund-hocke) said :
#2

not that easy.

you have to somehow find out the geometry of the list:
- somehow find the first line or something above
- somehow find the last line or something below
- calculate the height of the list using these 2 matches

Then loop through the lines by successively calculating the next click point (you have to know the height of one line for that)

Can you help with this problem?

Provide an answer of your own, or ask Mingzuo Shen for more information if necessary.

To post a message you must log in.