Check if Web page contains "text"

Post your questions and help other users.

Moderator: Martin

Post Reply
danusko
Posts: 7
Joined: 16 Jan 2016 07:33

Check if Web page contains "text"

Post by danusko » 03 Mar 2016 21:27

Hi, I tried figured out if is in this perfect app option to check, if on loaded page exist text which I search. I use existing ui control to check existing buttons and click, but I didn't find condition to check text.
Is there something? thx

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Check if Web page contains "text"

Post by Martin » 04 Mar 2016 19:38

Hi,

Automagic has a function getText in action Control UI, however it seems not to work with browsers. I think I could add a workaround respectively a new function to get the content description of an element. Browsers (at least Chrome) seem to provide the plain text of the page element as the content description.

Regards,
Martin

danusko
Posts: 7
Joined: 16 Jan 2016 07:33

Re: Check if Web page contains "text"

Post by danusko » 08 Mar 2016 15:03

Yes it would be great. thx

Post Reply