GetText

Item Description

Use with:

Web components (for example, Internet Explorer and Netscape)

SecureLogin version:

2.5 and later

Type:

Action

Usage:

GetText variable

Arguments:

variable

Defines where the captured text will be stored.

Description:

Gets all of the text from the screen and saves it to the specified variable. This command Is rarely used and is generally unnecessary. Use this command in a large Web script that might contain several If-text statements.

Under Netscape, each If-text statement scans the screen to find the specified text. Each scan of the screen will result in the screen flashing. However, if you use GetText (for example, if ?text -in ?URLFromGetText), the script can contain multiple If-text commands, with only one scan of the screen.

Example:

GetText ?Text 
If Login -in ?Text 
 Type $Username 
 Type $Password Password
EndIf