@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

ClearText

<ObjectType>; <VisibleText>; <Index>

(Optional)

Textbox

SetText

<ObjectType>; <VisibleText>; <Index>; <Input Text>

(Optional)

Textbox

SendValue

<ObjectType>; <VisibleText>; <Index>; <Input Text>

(Optional)

Textbox

SetSecureText

<ObjectType>; <VisibleText>; <Index>; <Encrypted Text>

(Optional)

Textbox

GetText

<ObjectType>; <VisibleText>; <Index>

{Variable};{Status}

Textbox, Element, Image, Textview

VerifyText

<ObjectType>; <VisibleText>; <Index>; <Input Text>

(Optional)

Textbox, Element, Image, Textview

SelectCheckbox

<ObjectType>; <VisibleText>; <Index>

(Optional)

Checkbox

UnSelectCheckbox

<ObjectType>; <VisibleText>; <Index>

(Optional)

Checkbox

SelectRadioButton

<ObjectType>; <VisibleText>; <Index>

(Optional)

Radio

ToggleOn

<ObjectType>; <VisibleText>; <Index>

(Optional)

Switch

ToggleOff

<ObjectType>; <VisibleText>; <Index>

(Optional)

Switch

GetStatus

<ObjectType>; <VisibleText>; <Index>

{Variable};{Status}

Switch, Radio, Checkbox

Click

<ObjectType>; <VisibleText>; <Index>

(Optional)

Button, Element, Textbox, Text, Image

Press

<ObjectType>; <VisibleText>; <Index>

(Optional)

Button, Element, Textbox, Text, Image

LongPress

<ObjectType>; <VisibleText>; <Index>; <timeout value>(Optional)

(Optional)

Button, Element, Textbox, Text, Image

GetButtonName

<ObjectType>; <VisibleText>; <Index>

{Variable};{Status}

Button

VerifyButtonName

<ObjectType>; <VisibleText>; <Index>; <Input Text>

(Optional)

Button

GetValue

<ObjectType>; <VisibleText>; <Index>

{Variable};{Status}

Picker

SetValue

<ObjectType>; <VisibleText>; <Index>; <Input Value>

(Optional)

Picker

SetSliderValue

<ObjectType>; <VisibleText>; <Index>; <Input Text>

(Optional)

Slider

GetSliderValue

<ObjectType>; <VisibleText>; <Index>

{Variable};{Status}

Slider

Find the snippet of the keyword below:

For the above keywords, after the test case debug, the submit button will be clicked in the first step and the value “Hello” will be entered in the textbox. The execution status “True”/ “False” will be stored in the provided variable.

Last updated