@Custom
Last updated
Last updated
Custom Object can be used in the following scenarios:
Objects which are dynamic in the oracle forms (position changes during execution).
If object-specific keywords are not supported for the operations.
OEBS forms which are having a table form of structure.
Custom object does not require scraping. These keywords can be used for all valid objects (Textbox, Button, Listbox, Checkbox, and Radiobutton). The user should provide the appropriate object name in the input: "Object Type_Input".
"verifyVisible" step is required before using @custom functionality. (This indicates the starting point for execution of custom keywords until it encounters the next verifyVisible keyword).
Window name should be exactly as in the window (Ex: Oracle Applications - EBSDB)
Input Syntax: <Object Type_Input>; <index>
Input Syntax Table
Description: This keyword or action instructs Avo Assure Client to perform a “click” action on the object as specified in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, the Click operation will be performed on the element, and the execution status “True” / “False” will be stored in variable {click}.
Description: This keyword or action instructs Avo Assure Client to fetch the element's text and save the result in the output variable.
Find the snippet of the keyword below:
In the above example, after the test case debugs, the operation will fetch the element text and store it in variable {GetElmntTxt}, and the execution status “True” / “False” will be stored in variable {Elestatus}.
Description: This keyword or action instructs Avo Assure Client to fetch the object's status and save the result in the output variable.
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will fetch the checkbox status and store it in variable {Status}.
Description: This keyword or action instructs Avo Assure Client to perform the “getText” operation on the object and save the result in the output variable.
Find the snippet of the keyword below:
In the above example, after the test case debugs, the text of the textbox will be fetched and stored in variable {gettext}, and the execution status “True” / “False” will be stored in variable {gtstatus}.
Description: This keyword or action instructs Avo Assure Client to perform a “click” action on the object specified in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will select the checkbox provided, and the execution status “True” / “False” will be stored in variable {Checked}.
Description: This keyword or action instructs Avo Assure Client to “select” the object specified in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will select the Radiobutton, and the execution status “Fail” / “Pass” will be stored in variable {radio}.
Description: This keyword or action instructs Avo Assure Client to select the object based on the index value specified in the input.
Note: Only numerical values are allowed in the input. The index starts with “0, " the first value from the dropdown/list.
Find the snippet of the keyword below:
In the above example, after the test case debug, the provided index_value will be selected, and the execution status “True” / “False” will be stored in variable {listbox}.
Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown based on the text provided in the input.
Find the snippet of the keyword below:
In the above example, after the test case debugs, the provided value will be selected, and the execution status “True” / “False” will be stored in variable {listbox1}.
Description: This keyword or action instructs Avo Assure Client to send the keyboard action/operation on the object specified in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, the “enter” operation will be performed on the object link, and the execution status “True” / “False” will be stored in variable {key}.
Description: This keyword or action instructs Avo Assure Client to set the text/string on the object specified in the input.
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 Avo Assure Client to “unselect” the object specified in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will unselect the checkbox provided, and the execution status “True”/ “False” will be stored in variable {unchecked}.
Description: This keyword or action instructs Avo Assure Client to verify if the element text is the same as that given in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will verify the input text, and the execution status “Fail”/ “Pass” will be stored in variable {verify}.
Description: This keyword or action instructs to reduce the scraping.
Find the snippet of the keyword below:
In the above example, after the test case debug, the operation will instruct to reduce the scraping.
Description: This keyword selects the object based on the input value.
Find the snippet of the keyword below:
In the above example, the keyword will select the object based on the input value after the test case debugs.
S. No.
Object Type
Object Type_Input
1
Radiobutton
Radio; <index>
2
Checkbox
checkbox; <index>
3
Dropdown
dropdown; <index>
4
Listbox
listbox; <index>
5
Textbox/search, email, password, number, url, file, textarea
textbox; <index>
6
Button, submit, reset
button; <index>
Keyword
Input Syntax
Output Syntax
Supported Input Formats
clickElement
<Object Type_Input>;<index>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getElementText
<Object Type_Input; <index>
{Variable}
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getStatus
<Object Type Input>;<index>
{Variable}
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getText
<Object Type_Input>;<index>
{Variable}
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectCheckbox
<Object Type_Input>; <index>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectRadioButton
<Object Type_Input>;<index>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectValueByIndex
<Object Type_Input>;<index>; <value>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectValueByText
<Object Type_Input>; <index>; <value>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
sendFunctionKeys
<Object Type_Input>;<index>; <function key>; <number (optional)>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
setText
<Object Type_Input>;
<index>; <value>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
unSelectCheckbox
<Object Type_Input>; <index>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyElementText
<Object Type_Input>;
<index>; <value>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectValueByText
<Input Text>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Format
SelectFromNavigator
<Value1>, <Value2>…..<ValueN>
Optional
Text
Static Values
Dynamic Variables