Help files

If Web Page Contains Action

Description:

This Action checks whether a specific piece of text or a web page element exists in a Web Page.

Option 1: Check for Web Element (Exists/Does not Exist)

ifwebcontains1.png

Choose the Control for the element from your Repository or Add it if it is not already there.

Option 2: Check for Text (Exists/Does not Exist)

ifwebcontains2.png

This option checks the text of the Web page to determine whether a specified subtext exists or not.

Properties

Web Browser Instance:

Enter the variable that contains the Web Browser Instance you want to work with.

Check if Web Page:

Specify whether you want to check for the existence of some text or of an HTML element.

Text to Check for:

Enter the text that you want to check for.

Control:

Choose the Control for the element from your Repository or Add it if it is not already there.