@Custom

Note: Inputs for all the keywords under @iOS_Custom should start with three compulsory fields: <ObjectType>; <VisibleText>; <Index>

Keyword

Input Syntax

Output Syntax

Supported Input Formats

clickElement

<ObjectType>; <VisibleText (optional)>; <Index>

(Optional)

Elements (All)

getElementText

<ObjectType>; <VisibleText (optional)>; <Index>

{Variable}; {Status}

Elements with InnerHTML text

getObjectCount

<ObjectType>; <VisibleText (optional)>; <Index>

{Variable}; {Status}

Elements (All)

getStatus

<ObjectType>; <VisibleText (optional)>; <Index>

{Variable}; {Status}

Switch, Radio, Checkbox

getText

<ObjectType>; <VisibleText (optional)>; <Index>

{Variable}; {Status}

Textbox

selectCheckbox

<ObjectType>; <VisibleText (optional)>; <Index>

(Optional)

Checkbox

selectRadioButton

<ObjectType>; <VisibleText (optional)>; <Index>

(Optional)

Radio

selectValueByIndex

<ObjectType>; <VisibleText (optional)>; <Index>; <Index>

(Optional)

Dropdown/ List

selectValueByText

<ObjectType>; <VisibleText (optional)>; <Index>; <Text>

(Optional)

Dropdown/ List

sendValue

<ObjectType>; <VisibleText (optional)>; <Index>; <Input Text>

(Optional)

Textbox

setSecureText

<ObjectType>; <VisibleText (optional)>; <Index>; <Encrypted Text>

(Optional)

Textbox

setText

<ObjectType>; <VisibleText (optional)>; <Index>; <Input text>

(Optional)

Textbox

unSelectCheckbox

<ObjectType>; <VisibleText (optional)>; <Index>

(Optional)

Checkbox

verifyElementText

<ObjectType>; <VisibleText (optional)>; <Index>; <Input text>

(Optional)

Elements with InnerHTML text

verifyText

<ObjectType>; <VisibleText (optional)>; <Index>; <Input text>

(Optional)

Textbox

getColumnCount

<ObjectType>; <VisibleText (optional)>; <Index>

{Variable}; {Status}

Table

getColNumByText

<ObjectType>; <VisibleText (optional)>; <Index>; <Input text>

{Variable}; {Status}

Table

getCellValue

<ObjectType>; <VisibleText>; <Index>; <Row>; <Col>

{Variable}; {Status}

Table

getAllValues

<ObjectType>; <VisibleText>; <Index>

{Variable};{Status}

Dropdown/ List

cellClick

<ObjectType>; <VisibleText (optional)>; <Index>; <Row>; <Col>; <ObjectType (optional)>; <Index (optional)>

(Optional)

Elements (All) within a Table

getRowCount

<ObjectType>;<VisibleText (optional)>;<Index>

{Variable}; {Status}

Table

getRowNumByText

<ObjectType>;<VisibleText (optional)>;<Index>; <Input Text>

{Variable}; {Status}

Table

sendSecureValue

<ObjectType>;<VisibleText (optional)>;<Index>; <Encrypted Text>

(Optional)

Textbox

verifyAllValues

<ObjectType>; <VisibleText (Optional)>; <Index>; <Value1>; <Value2>; …; <ValueN>

(Optional)

Dropdown/ List

verifyCellValue

<ObjectType>; <VisibleText (Optional)>; <Index>; <Value>

(Optional)

Table

selectByAbsoluteValue

<ObjectType>; <VisibleText (Optional)>; <Index>; <Value>

(Optional)

Dropdown/ List

Find the snippet of the keyword below:

For the above keywords, after the test case debugging, the submit button will be clicked in the first step, and the value “Hello” will be entered in the textbox as the second test step depicts. The execution status “True”/ “False” will be stored in the output variable (if specified).

Last updated

Logo