How to search and select?

dikkill

Client
Регистрация
12.02.2013
Сообщения
52
Благодарностей
2
Баллы
8
Hi,

I need zenno to find that name that i have it stored in a text file and once that is found, click the check box there.
The names in the list are random, so it will need to search for it and align to the check box.
Can someone help me select this check box?

Best
Dikkill
 

Вложения

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
Set a variable to 0 (zero) - A counter.
Create a regex to grab ALL rows of what you've named "Find" in your print and put them to a list.
Take the first line from that list and compare if it matches your "name".
If it's:
False - Increase the counter by +1 and take next line and let it loop.
Once it's True - Now you got the number of which match that checkbox has. Change the value/click the checkbox with match number {-variable.counter-}.
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
Here you have a live example
 

Вложения

  • Спасибо
Реакции: Alouka

dikkill

Client
Регистрация
12.02.2013
Сообщения
52
Благодарностей
2
Баллы
8

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)