Textbox Operations
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, ICE will clear the text displayed in “User” textbox and if output variable is provided for execution status “True”/ “False” will be stored in it.
Keyword: GETINPUTHELP
Description: This keyword or action instructs ICE to make an action for input help window to appear for the textbox.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetInputHelp | NA | (optional) | NA |
Find the snippet of the keyword below:
In the above example after the test case debug, ICE will perform action so that input help window appears for “Material_MM01-TextBox” and if output variable is provided for execution status “True”/ “False” will be stored in it.
Keyword: GETTEXT
Description: This keyword or action instructs ICE to fetch the text of the textbox and save the result 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, ICE will fetch the text of the textbox “Client” and store the value in {GT}. If output variable is provided for execution status “True”/ “False” will be stored in it.
Keyword: GETTEXTBOXLENGTH
Description: This keyword or action instructs ICE to fetch the length of the textbox.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetTextBoxLength | NA | {Variable}; {Status} | NA |
Find the snippet of the keyword below:
In the above example after the test case debug, ICE will fetch the length of the textbox “Username” and store the value in {Length}. If output variable is provided for execution status “True”/ “False” will be stored in it.
Keyword: SETTEXT
Description: This keyword or action instructs ICE to enter the text in the textbox.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SetText | <Input Text> | (Optional) |
|
Find the snippet of the keyword below:
In the above example after the test case debug, ICE will enter the text “SLK-1968-01” in the “User” textbox. If output variable is provided for execution status “True”/ “False” will be stored in it.
Keyword: SETSECURETEXT
Description: This keyword or action instructs ICE to set encrypted text in the textbox.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SetSecureText | <Input Text> Ex: d1mREXcm+e03gcfXbC+yww= | (Optional) |
|
Find the snippet of the keyword below:
In the above example after the test case debug, ICE will enter the encrypted text “t+NtA4FZzqVs2hA+hrDyig==” in the “Password” textbox. If output variable is provided for execution status “True”/ “False” will be stored in it.
Keyword: VERIFYTEXT
Description: This keyword or action instructs ICE to verify if the text present in the textbox is the same as that provided in the input.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
VerifyText | <Input Text> | (Optional) |
|
Find the snippet of the keyword below:
In the above example after the test case debug, ICE will verify the text present in the textbox “Client” with the value “100” given in the input. If output variable is provided for execution status “True”/ “False” will be stored in it.
Keyword: VERIFYTEXTBOXLENGTH
Description: This keyword or action instructs ICE to verify if the maximum length of the textbox is the same as that provided in the input.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
VerifyTextBoxLength | <Input Text> | (Optional) |
|
Find the snippet of the keyword below:
In the above example after the test case debug, ICE will verify the length of the textbox with the value “12” given in the input. If output variable is provided for execution status “True”/ “False” will be stored in it.
Last updated