Textbox
Last updated
Last updated
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 {Clear}.
Description: This keyword or action instructs ICE to click on the specified text box.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
click
NA
(Optional)
NA
Note: “Press” keyword can also be used as an alternative to “Click”.
Find the snippet of the keyword below:
In the above example, after the test case debug, click operation will be performed on the textbox and the execution status “Fail”/ “Pass” will be stored in variable {click}.
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}.
Description: This keyword or action instructs ICE to get the maximum text box length defined by the developer and save the result in the output variable.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getTextboxLength
NA
{Variable}; {Status}
NA
Note: This keyword fetches the maximum number of supported characters by the text box not the user input character length.
Find the snippet of the keyword below:
In the above example, after the test case debug, the maximum length of textbox will be fetched and stored in variable {len} and the execution status “Fail”/ “Pass” will be stored in variable {Status}.
Description: This keyword or action instructs ICE to click operation on the specified text box.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
press
NA
(Optional)
NA
Note: This keyword is useful where mouse down press operation is involved.
Find the snippet of the keyword below:
In the above example, after the test case debug, press operation will be performed on the textbox and the execution status “Fail”/ “Pass” will be stored in variable {press}.
Description: This keyword or action instructs ICE to send individual keystrokes to the textbox.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
sendValue
<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 will be entered in the specified textbox and the execution status “Fail”/ “Pass” will be stored in variable {SendValue}.
Description: This keyword or action instructs ICE to accept an encrypted text and pass the decrypted value in to the application.
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, 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}.
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}.
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 {verify}.
Description: This keyword or action instructs ICE to verify the maximum length of the text box to the value that is provided in the input field.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyTextboxLength
<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 maximum length of textbox is verified with the input provided and the execution status “Fail”/ “Pass” will be stored in variable {verifyLen}.
Description: This keyword or action instructs ICE to accept an encrypted text and send the individual keystrokes to the application.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
sendSecureValue
<Encrypted Text>
(Optional)
Text
Static Values
Dynamic Variables
Note: In order to provide encrypted text as input to sendSecureValue keyword, 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 {SecuredValue}.