Cannot use check text presence on a particular page

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
I'm unable to do a check text presence on a particular page. The reason being is that all the possible text variations are already in the page's source code - thus ZP finds true (in IF) even if it isn't showing on the page (the message that I'm looking for in text presence pops up whilst you're typing).

I'm trying to use IF to check for a particular message (if none is present, then abort).

If I can't use the check for text presence, then is there another way?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
You can look for text in {-Page.Source-}, {-Page.Dom-} or {-Page.Text-}
Try to parse these variables with text that you're looking for with Word processing - regex
 

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
You can look for text in {-Page.Source-}, {-Page.Dom-} or {-Page.Text-}
Try to parse these variables with text that you're looking for with Word processing - regex
Yeah I've tried this, but it won't work because the error message I'm looking for is already in the source of all 3 : {-Page.Source-}, {-Page.Dom-} or {-Page.Text-}

Oh well. I'll wait until ZP has a search by picture with OCR capability. :rolleyes:
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
There are such sites. I came across it on twitter. It is not shown, but there is in Page.Text. Better check htmlelement presence, since it also works for multilanguage
 

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