@Custom

  1. Custom Object can be used in the following scenarios:

    1. Objects which are dynamic in the oracle forms (position changes during execution).

    2. If object-specific keywords are not supported for the operations.

    3. OEBS forms which are having a table form of structure.

  2. 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".

  3. "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).

  4. Window name should be exactly as in the window (Ex: Oracle Applications - EBSDB)

Input Syntax: <Object Type_Input>; <index>

Input Syntax Table

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: CLICKELEMENT

Description: This keyword or action instructs Avo Assure Client to perform a “click” action on the object as specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

clickElement

<Object Type_Input>;<index>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: GETELEMENTTEXT

Description: This keyword or action instructs Avo Assure Client to fetch the element's text and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getElementText

<Object Type_Input; <index>

{Variable}

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: GETSTATUS

Description: This keyword or action instructs Avo Assure Client to fetch the object's status and save the result in the output variable.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getStatus

<Object Type Input>;<index>

{Variable}

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: GETTEXT

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getText

<Object Type_Input>;<index>

{Variable}

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SELECTCHECKBOX

Description: This keyword or action instructs Avo Assure Client to perform a “click” action on the object specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectCheckbox

<Object Type_Input>; <index>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SELECTRADIOBUTTON

Description: This keyword or action instructs Avo Assure Client to “select” the object specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectRadioButton

<Object Type_Input>;<index>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SELECTVALUEBYINDEX

Description: This keyword or action instructs Avo Assure Client to select the object based on the index value specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectValueByIndex

<Object Type_Input>;<index>; <value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SELECTVALUEBYTEXT

Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown based on the text provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectValueByText

<Object Type_Input>; <index>; <value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SENDFUNCTIONKEYS

Description: This keyword or action instructs Avo Assure Client to send the keyboard action/operation on the object specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

sendFunctionKeys

<Object Type_Input>;<index>; <function key>; <number (optional)>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SETTEXT

Description: This keyword or action instructs Avo Assure Client to set the text/string on the object specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

setText

<Object Type_Input>;

<index>; <value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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: UNSELECTCHECKBOX

Description: This keyword or action instructs Avo Assure Client to “unselect” the object specified in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

unSelectCheckbox

<Object Type_Input>; <index>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: VERIFYELEMENTTEXT

Description: This keyword or action instructs Avo Assure Client to verify if the element text is the same as that given in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyElementText

<Object Type_Input>;

<index>; <value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SELECTVALUEBYTEXT

Description: This keyword or action instructs to reduce the scraping.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectValueByText

<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 operation will instruct to reduce the scraping.

Keyword: SELECTFROMNAVIGATOR

Description: This keyword selects the object based on the input value.

Keyword

Input Syntax

Output Syntax

Supported Input Format

SelectFromNavigator

<Value1>, <Value2>…..<ValueN>

Optional

  • Text

  • Static Values

  • Dynamic Variables

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.

Last updated