Textbox

Keyword: SETTEXT

Description: This keyword or action instructs ICE to enter text in textbox.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

SetText

<Input Text>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: The “sendvalue” keyword can be used as an alternative.

Find the snippet of the keyword below:

In the above example, after the test case debug, the operation will set the provided text and the execution status “Fail”/ “Pass” will be stored in variable {SetText}.

Keyword: SETSECURETEXT

Description: This keyword or action instructs ICE to accept an encrypted text and pass the decrypted value in to the textbox.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

SetSecureText

<Encrypted Text>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: In order to provide encrypted text as input to SetSecureText keyword, the user should encrypt the required text using “AES Encryption” from the tool encryption utilities.

Find the snippet of the keyword below:

In the above example, after the test case debug, the decrypted text will be entered in the specified textbox and the execution status “Fail”/ “Pass” will be stored in variable {SecuredText}.

Keyword: VERIFYTEXT

Description: This keyword or action instructs ICE to verify if the text present in the textbox is the same as that present in the input field.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

VerifyText

<Input Text>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Find the snippet of the keyword below:

In the above example, after the test case debug, the text provided will be verified and the execution status “Fail”/ “Pass” will be stored in variable {VerifyText}.

Keyword: GETTEXT

Description: This keyword or action instructs ICE to get the text from the textbox and save the results in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

GetText

NA

{Variable}; {Status}

NA

Find the snippet of the keyword below:

In the above example, after the test case debug, the text of the textbox will be fetched and stored in variable {GetText} and the execution status “Fail”/ “Pass” will be stored in variable {Get}.

Keyword: CLEARTEXT

Description: This keyword or action instructs ICE to clear the text from the textbox.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

ClearText

NA

(Optional)

NA

Find the snippet of the keyword below:

In the above example, after the test case debug, it clears the text from the textbox and the execution status “Fail”/ “Pass” will be stored in variable {ClearText}.

Keyword: SENDSECUREFUNCTIONKEYS

Description: This keyword or action instructs ICE to accept an encrypted text and send the individual keystrokes to the application’s textbox.

Following is the syntax for performing the operation on a scraped textbox object:

Keyword

Input Syntax

Output Syntax

Supported Input Formats

sendSecureFunctionKeys

<Encrypted Text>

(Optional)

  • Text

  • Static values

  • Dynamic Variables

Note: In order to provide encrypted text as input to sendSecureFunctionKeys keyword, the user should encrypt the required text using “AES Encryption” from the tool encryption utilities.

Find the snippet of the keyword below, with input specified directly:

In the above example, after the test case debug, the decrypted text will be entered in the sample_txtbox object and the execution status “Fail”/ “Pass” will be stored in variable {output}.

Last updated