Custom
Custom Object can be used in the following scenarios:
Objects which are dynamic in the web page (either position/visible text changes during execution).
If object-specific Actions are not supported for the operations.
Custom object does not require scraping. These Actions can be used for all valid HTML tags (Textbox, Button, Link, Image, Div, Span..), User should provide the appropriate tag name in the input: "Object Type_Input".
"verifyExists" step is required before using @custom functionality. (This indicates the starting point for execution of custom Actions.)
Input Syntax: <Object Type_Input>; <Visible Text>; <index>; <abs (optional)>
Input Syntax Table:
S.No
Object Type
Object Type_Input
Visible Text
1
Radiobutton
radio;; <index>; <abs (optional)>
Empty
2
Checkbox
checkbox;; <index>; <abs (optional)>
Empty
3
Dropdown
dropdown; <visibleText>; <index>; <abs (optional)>
Should be the value selected in the dropdown by default/empty. Note: All single selection objects come under dropdown.
4
Listbox
listbox; <visibleText>; <index>; <abs (optional)>
Should be the value selected in the list by default/empty. Note: All single selection objects come under the list.
5.1
Table cell, Table
tablecell; <visibleText>; <index>; <abs (optional)>
Optional
5.2
Table cell, Table
table;; <index>; <abs (optional)>
Empty
6
Textbox/search, email, password, number, url, file, textarea
textbox; <visibleText>; <index>; <abs (optional)>
Optional
7
Link
link; <visibleText>; <index>; <abs (optional)>
Tool tip/name of the link
8
Image
img; <visibleText>; <index>; <abs (optional)>
Tool tip/optional
9
Button, submit, reset
button; <visibleText>; <index>; <abs (optional)>
Button name
10
Valid html tags (Eg: span, div)
<tag>; <visibleText>; <index>; <abs (optional)>
Optional
11
Grid
grid, <visibleText>, <index>; <abs (optional)>
Empty
Last updated
Was this helpful?