Input text when attribute names changing?

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
I need to input long text into a message box on different contact pages. I've tried Actions Designer to set the value - usually this works ok. But sometimes the message box uses different Attribute Names, so ZP won't recognize the element and fails.

In this scenario, is there a solution? I can't use keystroke emulation as it's too slow.
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
You could try scraping the page with a regex like (?<=<textarea.*name=").*?(?=") or (?<=<textarea.*id=").*?(?="). Or find what the majority of the pages are calling their text box. Use the variable as your search criteria.
 

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