[SOLVED] Opposite of check text presence?

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
This might sound bizarre, but is it possible to do the opposite of a check text presence?

Sometimes a page fails to show a line of text (this isn't a good thing btw). So I need to see if the text is missing, if so, loop back to the beginning again.
 

hotohori

Client
Регистрация
10.02.2012
Сообщения
154
Благодарностей
40
Баллы
28
You just need an if action after your check text presence action

'{Variable.text}'==''

If true, loop back.
 

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
Thanks for the pointer.

It seems to work when there's no text (loop to the start), but when the text is present it also loops back.

When I'm allowed to proceed on the site, the text given is: 'Post another article'. But when the text is absent, I can't proceed and so ZP throws me out as it doesn't know how to proceed.

+++Edit+++

Mananaged to pull it off with check text & the switch. Bit unorthodox, but hey!
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
you dont need switch, simple if is enough...All you need is to use negative exit on your if statement...


so this means that you check for text with simple '{your variable}'!='' ...if text is there continue with work, if not you connect negative exit (red dot of action block) back to start or what ever you wanna do
 

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