17.9 Opkey Desktop Keywords

Win_ClearEditBox

This keyword clears the value of specified Edit box. It takes Edit box Object as Object Input argument. It does not take any Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an Edit Box object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

This keyword clears the text in the highlighted edit field.

In the above screenshot, if you want to clear the Text in the “E-mail Address ”  EditBox then you can use the “Win_ClearEditBox” keyword as follows:

Win_ClearEditBox

Object

<  Choose an Edit Box Object from the OR  > Here,  E-mail Address

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

 

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_Click

This keyword clicks on the specified object. It takes OR object as input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes one object as object  input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data Input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Application

Comments

Opkey

 

In this Application, user clicks on Help to view other help options.

In the above screenshot, if you want to click on “Help” of Opkey desktop application then this is how you will use “Win_Click” keyword.

Win_Click

Object

<  Choose an Object from the OR  > Here, Help

While using “Win_Click” keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your desktop application for clicking over desired object.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickButton

This keyword clicks on the specified object of type button. It takes Button object as object input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes Button Object as

object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

User clicks on

Login

button

in this Application

In the above screenshot, the user clicks on “Login” button of the Desktop application. While using “Win_ClickButton” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickButton” keyword.

Win_ClickButton

Object

<   Choose a button Object from the OR  > Here, Login

 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static

Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickButtonInGridCell

This Keyword  clicks on a Button present in the specified Cell of a Grid. It takes a Grid Object as Object Input Parameter. It also takes RowIndex and ColumnIndex of the Grid cell as Data  Input Parameter.

For Win_ClickButtonInGridCell  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid  object input argument. You can choose the  Grid object from your Object Repository.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the Row number of the Grid Cell in which the Button  appears.
Note: Row Index start from zero .

Column Index

Yes

Specify the Column number of the Grid Cell in which the Button  appears.

Note: Column Index start from zero .

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

This keyword  Clicks on the button in  the specified Grid cell.

 

In the above Screenshot, if you want to click “Submit” button then  you can do so by using Win_ClickButtonInGridCell  keyword as follows:

Win_ClickButtonInGridCell

Object

<    Choose a  Grid Object from the OR  >

Row Index

0

Column Index

1

Common Error conditions

Scenarios

Error Message

Debug Information

If object in Object Input Argument is given but Data input Argument not given

Object Input Argument: Object given

Data Input Argument: not given

 

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘object’. Expected StaticValue was empty.

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_ClickEditBox

This keyword Click in the specified Edit box. It takes Edit box Object as Object Input argument. It does not take any Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an Edit Box object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

This keyword Click in the  highlighted edit box.

In the above screenshot, if you want to click in the edit box  in the “E-mail Address ”  EditBox then you can use the “Win_ClickEditBox” keyword as follows:

Win_ClickEditBox

Object

<  Choose an Edit Box Object from the OR  > Here,  E-mail Address

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

 

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickGridCell

This Keyword  clicks  on a specified Data Cell of a Grid Object. It takes a DataGrid Object, RowIndex and ColumnIndex of the Grid Cell as Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one Grid object Input argument. You can choose Grid object from your Object Repository

Data Input Arguments

Required?

Description

Row Index

Yes

This argument takes row number of the Grid Cell where starting index is “0”.

 

Column Index

Yes

This argument takes Column number of the Grid Cell where starting index is “0”.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Application

Comments

 

This keyword clicks

on the specified

cell of the Grid.

In the example above, if you want to click in the Grid cell Object Text Area “Your Comments” then, use Win_ClickGridCell keyword as shown below:

Win_ClickGridCell

Object

<      Choose your Grid Object From OR     >

Row Index

  1  

Column Index

    1   

Common Error conditions

Scenarios

Error Message

Debug Information

If object in Object Input Argument is given but Data input Argument not given

Object Input Argument: Object given

Data Input Argument: not given

 

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘object’. Expected StaticValue was empty.

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_ClickHeaderItem

This Keyword clicks on the Header Text of  a specified Object. It takes an OR Object as Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an Object as

object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

 

User clicks on

Header named Column-1

in this Application

In the above screenshot, the user clicks on “Column-1″ of the table. While using “Win_ClickHeaderItem” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickHeaderItem” keyword.

Win_ClickHeaderItem

Object

<   Choose an Object from the OR  > Here, Column-1

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickHyperlink

This keyword clicks on the specified Hyperlink object of the application. It takes Hyperlink object as object input argument. It does not take any Data Input Argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes Hyperlink Object as

object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

User clicks on

Hyperlink object named “About opkey”

in this Application

In the above screenshot, the user clicks on “About Opkey” of the Application.

While using “Win_ClickHyperlink” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickHyperlink” keyword.

Win_ClickHyperlink

Object

<   Choose a Hyperlink Object from the OR  > Here, About opkey

 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickHyperlinkInGridCell

This Keyword Clicks on a Hyperlink inside any Grid Cell. It takes a Grid  as ObJect Input Parameter. It also takes RowID and Column ID of the Grid cell as Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword requires a Grid Object  from the OR as Object Input Argument.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify Row Id of grid cell. Starting index must be zero.

Column Index

Yes

Specify Column Id of grid cell. Starting index must be zero.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

1.jpg

In the above Screenshot, if you want to click on “Raees” hyperlink then  you can do so by using Win_ClickHyperlinkInGridCell  keyword as follows:

Win_ClickHyperlinkInGridCell

Object

<    Choose a  Grid Object from the OR  >

Row Index

2

Column Index

1

Note:

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickImage

This keyword clicks on a specified image Object. This keyword is mostly used when user want to click on any given image. It takes one Image object as object input arguments. It does not take any Data Input Arguments.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This Keyword takes image object from OR as Object Input Argument .

Data Input Arguments

Required?

Description

Data

No

This Keyword does not take any Data Input Argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

If you click on the highlighted image then here is how you will use “Win_Click Image” keyword.

Win_ClickImage

Image

<   Choose your Image Object From OR  >

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickMenuBar

This keyword clicks on the specified Menu Bar of the application. It takes MenuBar object as object input argument. It does not take any Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes MenuBar Object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Application

Comments

Opkey

 

User clicks on MenuBar in this Application.

In the above screenshot, the user clicks on “MenuBar”   of the Application .

While using “Win_ClickMenuBar” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickMenuBar” keyword.

Win_ClickMenuBar

Object

<   Choose a MenuBar Object from the OR  >  

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickTabItem

This keyword clicks on the specified item in the Tab. It takes TabItem object as object input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes TabItem Object as

object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

User clicks on

TabItem  named “Fl_key01

in this Application

In the above screenshot, the user clicks on “Fl_key01″  TabItem  of the Application . While using “Win_ClickTabItem” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickTabitem” keyword.

Win_ClickTabitem

Object

<   Choose an Object from the OR  > Here, Fl_key01

 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickText

This keyword clicks on the specified Text of the application. It takes an object as object input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an Object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

User clicks on

Text named “Authentication Mode

in this Application

In the above screenshot, the user clicks on “Authentication”  Text  of the Application . While using “Win_ClickText” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickText” keyword.

Win_ClickText

Object

<   Choose a an Object from the OR  > Here, Authentication Mode

 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickThumb

This Keyword clicks on Specified Thumb of the application. It takes an OR Object as Object Input Argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes Thumb Object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

User clicks on

Thumb

in this Application

In the above screenshot, the user clicks on “Thumb” of the Application .

While using “Win_ClickThumb” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickThumb” keyword.

Win_ClickThumb

Object

<   Choose an Object from the OR  >

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_ClickToolTip

This Keyword Clicks on the Object which contains the specified ToolTip Text. It takes an  OR Object as Object Input Parameter. It does not take any Data Input Argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes ToolTip Object as

object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

User clicks on

the icon which has the Tool tip Text

Create New File

in this Application

In the above screenshot, the user clicks on the Object having “Create New File” as the Tooltip.

While using “Win_ClickToolTip” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. This is how you will use “Win_ClickToolTip” keyword.

Win_ClickToolTip

Object

<   Choose an Object from the OR  >

 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_Close

This Keyword closes a specified Window. It takes an Object as Object Input Argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an Object as Object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

Opkey

The user will click on the Close button in this Application.

In the above screenshot, the user clicks on “Close” of the Application.

While using “Win_Close” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon.

This is how you will use “Win_Close” keyword.

Win_Close

Object

<   Choose a button Object from the OR  > 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_CloseApplication

This Keyword closes a target application. It does not take any Object or Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

While using “Win_CloseApplication” keyword, you should ensure that you are using the keyword with a relevant keyword (like Win_launchApplication) which can open your Desktop application having button to be clicked upon. Suppose you wish to close Opkey application then you will use “Win_CloseApplication” keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Unsatisfied Dependencies (-14200) 

Argument(s) : Unable to close the Application

Win_DeselectCheckBox

This keyword deselects the selected checkbox. It takes checkbox object as Object input argument but it doesn’t take any data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes checkbox object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

This keyword deselects the selected checkbox

In this example, “Win_DeselectCheckBox” keyword deselects the selected checkbox . While using “Win_DeselectCheckBox” keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your web application having checkbox to be cleared/unchecked.

Win_DeSelectCheckBox

Object

<  Choose an CheckBox Object from the OR  > Here, CheckBox

Common Error conditions

Scenarios

Error Message

Debug Information

If OR object is not mapped with the

DeSelectCheckBox keyword.

Object Input Argument: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

 

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Unsatisfied Dependencies (-14200) 

Argument(s) : Unable to close the Application

Win_DeselectCheckBoxInGridCell

This Keyword Deselects the Selected CheckBox inside any Grid cell. It is mostly used in situations where you want to deselect checkbox present in Grid cell before performing any action on it. This Keyword takes a Grid Object as Object Input Parameter. It also takes Row Index and Column Index of the Grid cell as Data Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the object from your Object Repository.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the Row number of the Grid Cell in which the CheckBox  appears.

Note: Row Index start from zero .

Column Index

Yes

Specify the Column number of the Grid Cell in which the CheckBox   appears.

 

Note: Column Index start from zero .

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Checkbox.jpg

Suppose you want to deselect the highlighted CheckBoxes in the Grid, then this is how you will use Win_DeSelectCheckBoxInGridCell Keyword:

Win_DeSelectCheckBoxInGridCell

Object

<   Choose your Grid object from OR   >

Row Index

        

      1

Column Index

             

 2

Common Error conditions

Scenarios

Error Message

Debug Information

If object in Object Input Argument is given but Data input Argument not given

Object Input Argument: Object given

Data Input Argument: not given

 

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘object’. Expected StaticValue was empty.

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_DoubleClick

This keyword double clicks on the specified object. It takes one object as Object input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

 

In this Aplication, this keyword double clicks on the Honey_18 folder to open it.

In the above Image, we will double click on “Honey_18″ folder to open it. While using Win_Doubleclick keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having an object on which double click is accepted.

Win_DoubleClick

Object

<   Choose your object from Object Repository   > Here, Honey_18

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Object Input Argument: Honey_18

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

 

Object not found

-plugin-unable-to-take-screenshot-

 

When No object is provided.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Win_GetChildObjectCount

This keyword gets the count of child Objects of Specified Parent object. This keyword is mostly used in situations where you want to know the number of child objects present in parent object. For example, you want to know the number of child object available in parent.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object as Object input argument. You can choose the object from your Object Repository.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

Returns the count of the child Object

If the keyword passes successfully

 

It does not display anything if the keyword fails

Example

In the example given, you want to know the number of child objects available in parent object and in the output it will give you the count as how many child objects are there in a particular parent object, here is how you will use this keyword:

https://lh5.googleusercontent.com/XfkHdJnyKMexGi8OJeMp-Fei1OYKZcnrnytouskBB5oF1LaRBMyLmqy0nXIn5TjsH5VJFQ-B9oKEC92gX4rugDBZNpg3XspHtOmZyj0JZiCk7L-D6_NJINYGki3O4sAU1CeFH8InJUhnDMdbCA

Win_GetChildObjectCount

Object

<   Choose your Parent Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument is not given

Object Input Argument: Object not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetChildObjectText

This keyword gets the Text of child items of Specified object. This keyword is mostly used in situations where you want to know the text of child objects present in parent object.

For example, you want to know the text of child object available in parent.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object as Object input argument. You can choose the object from your Object Repository.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

Returns Text of the Child Object

If the keyword passes successfully

 

It does not display anything if the keyword fail

Example

In the example above, you want to know the Text of child objects available in parent object and in the output it will give you the Text of the  child object, here is how you will use this keyword:

https://lh5.googleusercontent.com/XfkHdJnyKMexGi8OJeMp-Fei1OYKZcnrnytouskBB5oF1LaRBMyLmqy0nXIn5TjsH5VJFQ-B9oKEC92gX4rugDBZNpg3XspHtOmZyj0JZiCk7L-D6_NJINYGki3O4sAU1CeFH8InJUhnDMdbCA

Win_GetChildObjectText

Object

<   Choose your Parent Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument is not given

Object Input Argument: Object not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetGridCellText

This keyword will get Text which is available inside the specified grid Cell. This keyword is mostly used in situations where user want to get Text which is available inside Grid Cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object as Object   input argument. You can choose the grid object from your Object Repository From where user want to fetch the Text

 

Data Input Arguments

Required?

Description

RowIndex

Yes

Specify the Row Index of the Grid Cell in which Text is available

Note: Row Index start from zero

ColumnIndex

Yes

Specify the Column Index of the Grid Cell in which Text is available
Note: ColumnIndex start from zero

Output

Returns Text of the Specified Grid cell

If the keyword passes successfully or the object has any  value

 

It does not display anything if the keyword fail or the object does not have any value

Example

https://lh4.googleusercontent.com/VCt4tbFoIE_urP24w_0kQhhB57CSUSuqFe7rjL8tWBBp1JCzbffOh8tno4HGU1-8ClKCR2ZwdOttLEpyAinw5Q-Rz9ASiTxLJ_vwmp87SD5TmWEdOB8Ye2NnAjhNZC0-mVoYK2pb

In the example table above, if you want to get a text “of” from “width of area” available in “Comment” column i.e Column Index 3 and Row Index 1, we can get the required text using this keyword, here is how you will use this keyword “Win_GetGridCellText”.

Win_GetGridCellText

Object

<   Choose your Grid object from OR   >

Row Index

<    1   >

Column Index

<   3    >

Common Error conditions

Scenarios

Error Message

Debug Information

When valid object provided but data input argument not provided

Object Input Argument: Object given

Data Input Argument: Item not given

 

Object Not Found (-11100)

N.A

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetFullGridText

This keyword is used to fetch the full Grid text present in the Grid object. This keyword is mostly used in situations where you want to get the full text/content which is present in the Grid. It takes Grid object as object input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one Grid object as Object  input argument. You can choose the Grid object from your Object Repository.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

Returns the Text of the Grid Object

If the keyword passes successfully or the object has any  value

 

It does not display anything if the keyword fail or the object does not have any value

Returns the Text of the Grid Object

If the keyword passes successfully or the object has any  value

It does not display anything if the keyword fail or the object does not have any value

Example

In the given example, if user want to get the full text present in the Grid then user can use this keyword.

fulltabletext

Win_GetFullGridText

Object

<   Choose your Grid Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

 

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument is not given

Object Input Argument: Object not given

 

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetGridColumnsCount

This Keyword Returns the number of Columns in the specified Grid. It used in such a condition where user want Column Count of Specified Grid with the help of Row Index .

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object as Object  input argument. You can choose the grid object from your Object Repository. 

Data Input Arguments

Required?

Description

RowIndex

Yes

Specify the Row Index of the Grid

Note: Row Index start from zero

Output

Returns the count of the Columns in Specified Grid

If the keyword passes successfully or the object has any  value

 

It does not display anything if the keyword fail or the object does not have any value

Example

In the example Grid , if user want  to get Column Count of  First Row here is how you will use this keyword.

Win_GetGridColumnsCount

Object

<   Choose your Grid object from OR   >

Row Index

<   0  >

Common Error conditions

Scenarios

Error Message

Debug Information

When valid object provided but data input argument not provided

Object Input Argument: Object given

Data Input Argument: Item not given

 

Object Not Found (-11100)

N.A

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetGridRowsCount

This Keyword Returns the number of Rows in the specified Grid. It is used in such a condition where user want to Count rows of Specified Grid.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object as Object  input argument. You can choose the grid object from your Object Repository.

 

Data Input Arguments

Required?

Description

Data

No

This Keyword does not require any Data Input Argument.

Output

Returns the count of the Rows in Specified Grid

If the keyword passes successfully or the object has any  value

 

It does not display anything if the keyword fail or the object does not have any value

Example

In the example table, if user want to get Row Count of Grid here is how you will use this keyword.

Win_GetGridRowsCount

Object

<   Choose your Grid object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument is not given

Object Input Argument: Object not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetObjectExistence

This keyword returns whether the specified object exists in DOM or not. This keyword can be used to get the existence of element before performing any action on it.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object as Object  input argument. You can choose the  object from your Object Repository.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

 

It does not display anything if the keyword fail

True

If the keyword passes successfully

It does not display anything if the keyword fail

Example

If you want to get the existence of an object, here is how you will use this keyword

  • Add Win_LaunchApplication and provide Application Path
  • Add Win_GetObjectExistence keyword
  • Map the object from OR

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument is not given

Object Input Argument: Object not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetObjectPropertyValue

This Keyword Retrieves the property value of specified property of a given object of the Application. It takes object as object input argument and property name as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object as Object Input argument. You can choose Object from your Object Repository.

Data Input Arguments

Required?

Description

Property Name

Yes

Give the Property name of the Object

 

Output

Returns Value of the Object Property

If the keyword passes successfully or the object has Property  value

 

It does not display anything if the keyword fail or the object does not have any value of the specified Property

Example

Application

Comments

 

This keyword  fetches the Property Value of the specified property of an object.

 

 

 

 

 

 

In the above example we require to fetch the specified property of the “Global Variable” Object of the application, we can do so by using “Win_GetObjectPropertyValue” keyword  as shown below:

Win_GetObjectPropertyValue

Object

< Choose your Object From OR >

Property

< height >

Common Error conditions

Scenarios

Error Message

Debug Information

When valid object provided but data input argument not provided

Object Input Argument: Object given

Data Input Argument: Item not given

 

Object Not Found (-11100)

N.A

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetObjectText

This keyword returns the text of the specified object. It takes object input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes Object from OR as object input argument whose text has to be fetched.

 

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

Returns Text of the Specified Object

If the keyword passes successfully or the object has any  Text

 

It does not display anything if the keyword fail or the object does not have any Text

Example

Application

Comments

 

This keyword returns the text of the specified object.

In the above screenshot, if you wish to fetch the text of the “Help” object  then you can use “Win_GetObjectText”  keyword as follows:

Win_GetObjectText

Object

<   Choose an Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

 

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument is not given

Object Input Argument: Object not given

 

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetObjectValue

This keyword returns value of the specified object. It can be used to get the value of element after action is performed.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes Object from OR as object input argument whose Value has to be fetched.

 

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

Returns Value of the Specified Object

If the keyword passes successfully or the object has any  value

 

It does not display anything if the keyword fail or the object does not have any value

Example

If you want to get the value of an object, here is how you will use this keyword –

  • Add win_LaunchApplication and provide Application Path
  • Add Win_GetObjectValue keyword
  • Map the object from OR to get the status

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument is not given

Object Input Argument: Object not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetSingleGridColumnText

This Keyword fetches the text of single column Text of a grid. It takes Grid object as object input argument and column index, Row index as data input arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one grid object as Object  Input argument. You can choose grid object from your Object Repository.

Data Input Arguments

Required?

Description

Column Index

Yes

Specify the Column Index of the Grid whose Text has to be fetched.


Note: ColumnIndex start from zero

Output

Returns Value of the Specified Column

If the keyword passes successfully or the object has any  value

 

It does not display anything if the keyword fail or the object does not have any value

Example

Application

Comments

 

This keyword  fetches text of single column of a grid .

In the above example we need to fetch the text of single column of a grid separated  by using  Win_GetSingleGridColumnText keyword  as shown below:

Win_GetSingleGridColumnText

Object

<   Choose your Grid object from OR   >

Column Index

<   0  >

Row Index

<   0  >

Common Error conditions

Scenarios

Error Message

Debug Information

When valid object provided but data input argument not provided

Object Input Argument: Object given

Data Input Argument: Item not given

 

Object Not Found (-11100)

N.A

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_GetSingleGridRowText

This Keyword fetches the text of single Row of a grid. It takes Grid object as object input argument, Rowindex as data input arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one grid object as Object  Input argument. You can choose Grid object from your Object Repository.

 

Data Input Arguments

Required?

Description

RowIndex

Yes

Specify the Row Index of the Grid whose Text has to be fetched.

Note: Row Index start from zero

Output

Returns Value of the Specified Row

If the keyword passes successfully or the object has any  value

 

It does not display anything if the keyword fail or the object does not have any value

Example

Application

Comments

 

This keyword  fetches text of single Row of a grid .

In the above example we need to fetch the text of single Row of a grid separated  by using  Win_GetSingleGridRowText keyword  as shown below:

Win_GetSingleGridRowText

Object

<   Choose your Grid object from OR   >

Row Index

<   0  >

Common Error conditions

Scenarios

Error Message

Debug Information

When valid object provided but data input argument not provided

Object Input Argument: Object given

Data Input Argument: Item not given

 

Object Not Found (-11100)

N.A

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_LaunchApplication

This keyword opens the Application of given Path. It takes the Application Path as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Application Path

Yes

Specify the Path of Application with .exe Extension.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Application Path

Comments

 

 

 

This keyword opens the Application based on the Data Input Arguments provided.

This Keyword opens the Application based on the Application path provided in the Data Input Argument.

Common Error conditions

Win_Maximize

This keyword maximizes a specified window of the Application. It does not take any input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes one object from OR as object input argument.

Data Input

Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Application

Comments

 

This keyword maximizes the opened Application.

This keyword Maximizes the specified window of the Opened Application.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

 

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_Minimize

This keyword minimizes a specified window of  the Application. It does not take any input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes one object from OR as object input argument.

Data Input

Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Application

Comments

 

This keyword minimize the opened Application.

This keyword Minimizes the specified window of the Opened Application.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

 

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

Win_Resize

This Keyword Resizes a specified window Object. It takes OR Object as Object Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword requires an Object  from the OR as Object Input Argument.

Data Input Arguments

Required?

Description

Data

No

This Keyword does not require any Data Input Arguments.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

If you want to resize a  specified window object then  you can do so by using Win_Resize keyword as follows:

Win_Resize

Object

<    Choose an Object from the OR  >

Note:

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot–

If object is not found

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

Win_Restore

This Keyword Restores a specified window Object. It takes an Object as Object Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an Object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Application

Comments

 

This keyword restores the opened Application.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Unsatisfied Dependencies (-14200) 

Argument(s) : Unable to close the Application

Win_RightClick

This keyword Right clicks on the specified object. This keyword is mostly used in situations where you want to Right Click on an Object before performing any action on it.

For example, you want to Right Click on an Object.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object as Object  input argument. You need to select the any Object on which you want perform Right Click.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example above, if you want to right click on a folder then, here is how you will use Win_RightClick keyword

Win_RightClick

Object

<  Choose an OR object from the Object Repository  >

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Unsatisfied Dependencies (-14200) 
Argument(s) : Unable to close the Application

Win_ScrollThumb

This keyword scrolls the thumb inside scrollbar. It takes thumb as Object Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object as Object  input argument.

Data Input Arguments

Required?

Description

Set Percentage

Yes

Specify the percentage to be set on n Scroll thumb.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example above, if you want to right click on Find Flights Object, here is how you will use this keyword

Win_ScrollThumb

Object

<  Choose an OR object from the Object Repository  >

Set Percentage

30

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is selected

 

Argument Data Missing (-13200) 

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

 

If Percentage  data is wrong

Object not Found

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

 

Win_SelectCheckBox

This Keyword selects a specified CheckBox. It takes a CheckBox Object as Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes CheckBox  object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

This keyword checks the specified checkbox on the given Desktop Application.

In this example, this keyword selects the CheckBox 3 of the Desktop application.

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Here, is how you will use Win_SelectCheckBox keyword :

Win_SelectCheckBox

Object

<  Choose an checkbox object from the Object Repository  >

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Unsatisfied Dependencies (-14200) 

Argument(s) : Unable to close the Application

Win_SelectCheckBoxInGridCell

This keyword selects checkbox present in Grid cell. This keyword is mostly used in situations where you want to select checkbox present in Grid cell before performing any action on it. It  takes a Grid Object as ObJect Input Parameter.It also takes RowIndex and ColumnIndex of the Grid cell as Data  Input Parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object as Object input argument. You can choose the object from your Object Repository.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify Row Id of grid Cell. Starting index must be zero.

Column Index

Yes

Specify Column Id of grid Cell. Starting index must be zero.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPictures19.png

Suppose you want to select the highlighted CheckBoxes in the Grid, then this is how you will use Win_SelectCheckBoxInGridCell Keyword:

Win_SelectCheckBoxInGridCell

Object

<   Choose your object from OR   >

Row Index

        

      1

Column Index

             

 2

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

When No object is provided.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Win_SelectDropDownItem

This keyword selects the specified value in the given dropdown object. It takes Dropdown object as Object Input Argument and Value name as data input argument that has to be selected from the dropdown object.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes dropdown object from the OR as object input argument.

Data Input Arguments

Required?

Description

Value

Yes

Specify the Item to be selected from the drop down list.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

 

This keyword selects the given value from the dropdown list.

While using Win_SelectDropDownItem keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having dropdown list of items.

Common Error conditions

Scenarios

Error Message

Debug Information

When value to be selected from dropdown list is not given.

Object Input Argument: Object given

Data Input Argument: Item not given

Object Not Found (-11100)

Cannot locate element with text:

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_SelectDropDownItemInGridCell

This Keyword selects the Dropdown Value in Grid Cell. This keyword is mostly used in situations where you want to select the dropdown value from a dropdown placed in a Grid cell before performing any action on it. It takes a Grid Object as Object Input Parameter.It also takes RowIndex and ColumnIndex of the Grid cell as Data  Input Parameter.

For example, you want to select dropdown value in Grid cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes Grid  object as Object input argument. You need to select the Grid Object in which you want to select the drop down value.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify RowId of Grid Cell. Starting index must be zero.

Column Index

Yes

Specify Column Id of Grid Cell. Starting index must be zero.

Item

Yes

This Keyword takes the Item value which has to be selected from the  dropdown.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPictures14.png

In the example above, if you want to select the value in marital status, here is how you will use Win_SelectDropDownInGridCell keyword.

Win_SelectDropDownInGridCell

Object

<   Choose your Grid object from OR   >

Row Index

2

Column Index

1

Item

                       Married

Common Error conditions

Scenarios

Error Message

Debug Information

If object in Object Input Argument is given but Data input Argument not given

Object Input Argument: Object given

Data Input Argument: Item not given

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘object’. Expected StaticValue was empty.

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Win_SelectListItem

This Keyword selects a specified Item from List View. It takes List View Object as Object Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword requires a Listview Object  from the OR as Object Input Argument.

Data Input Arguments

Required?

Description

Value

Yes

Specify the Item to be selected from the List View.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In the above Screenshot, if you want to select the List Item “Cloud” then  you can do so by using Win_SelectListItem keyword as follows:

Win_SelectListItem

Object

<    Choose a  List view Object from the OR  >

Value

Cloud

Note:

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

When Invalid Data Input Arguments are provided.

Value : General

Argument Data Invalid 13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Actually Found :<general;editing;new default=”” span=””></general;editing;new>

Recent Files History;File Association;Language;Highlighting;

Print;Backup;Auto-Completion;Multi-Instance;Delimiter;Cloud;Search Engine;MISC.> and Expected :

If object is not found

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

Win_SelectRadioButton

This keyword selects the specified Radio button. It takes a Radiobutton object as Object input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes Radiobutton object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

 

This keyword selects the specified radio button.

In this example, this keyword selects the given radio button. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having radio button(s).

Win_SelectRadioButton

Object

<   Choose a Radio Button Object From the OR  >

Common Error conditions

Scenarios

Error Message

Debug Information

When no Object is provided.

Object Input Argument: Object given

Data Input Argument: Item not given

 

Object Not Found (-11100)

Cannot locate element with text:

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

 

Object not found

-plugin-unable-to-take-screenshot-

 

Win_SelectRadioButtonInGridCell

This keyword selects radio button available inside any Grid cell. This keyword is mostly used in situations where you have to select radio button within your Grid cell. It takes a Grid Object as Object Input Parameter. It also takes Row Index  and Column Index of the Grid cell separated by commas and placed in Square Brackets as Value as Data  Input Parameter.

For example, you want to select radio button available inside any Grid cell and perform action on it.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object input argument. You can choose the Grid object from your Object Repository within which you want to select the Radio button.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the Row number of the Grid Cell in which radio button appears.
Note: Row Index start from zero .

Column Index

Yes

Specify the Column number of the Grid cell in which radio button appears.

Note: Column Index start from zero .

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

https://lh3.googleusercontent.com/FfYWkp5L7pZR2-9o8b18V055hDkDS7jOzC1y7AdXmgh8PHSzzZZHxOSRV2_ETQWScROcAsicSM4n_QSQQblGai-P6jlRJmRUjJtYRBmrjmx9Q9bShd4grDB-cXubgQc8khmM4yEDEKJ63RqjRw

In the example table above, if you want to select “shirt size” as “S” radio button in 2nd Row last column, here is how you will use this “Win_SelectRadioButtonInGridCell” keyword .

Win_SelectRadioButtonInGridCell

Object

<   Choose your object from OR   >

Row Index

1

Column Index

1

Common Error conditions

Scenarios

Error Message

Debug Information

If object in Object Input Argument is given but Data input Argument not given

Object Input Argument: Object given

Data Input Argument: not given

 

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘object’. Expected StaticValue was empty.

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

 

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_SelectTreeItem

This Keyword Selects the Item Specified in a given Tree. It takes Treeview Object and Value to be Selected in the given Tree as Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword requires a Treeview Object  from the OR as Object Input Argument.

Data Input Arguments

Required?

Description

Value

Yes

Specify the Tree Item to be selected from the Tree View.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

treeitem.jpg

In the above Screenshot, if you want to select the Tree Item “Images” then  you can do so by using Win_SelectTreeItem keyword as follows:

Win_SelectTreeItem

Object

<    Choose a  Tree view Object from the OR  >

Value

Desktop::This PC::Desktop::autoit-v3.3.14.0::install::Examples::GUI::Simple

You can provide the Data Input argument as follows:

1.jpg

Note:

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

When Invalid Data Input Arguments are provided.

Value : General

Argument Data Invalid 13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Actually Found :<general;editing;new default=”” span=””></general;editing;new>

Recent Files History;File Association;Language;Highlighting;

Print;Backup;Auto-Completion;Multi-Instance;Delimiter;Cloud;Search Engine;MISC.> and Expected :

If object is not found

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

Win_SelectTreeViewItem

This Keyword Selects the Item Specified in a given Tree. It takes Treeview Object and Value to be Selected in the given Tree as Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword requires a Treeview Object  from the OR as Object Input Argument.

Data Input Arguments

Required?

Description

Value

Yes

Specify the Tree Item to be selected from the Tree View.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

treeitem.jpg

In the above Screenshot, if you want to select the Tree Item “Images” then  you can do so by using Win_SelectTreeViewItem keyword as follows:

Win_SelectTreeViewItem

Object

<    Choose a  Tree view Object from the OR  >

Value

Desktop::This PC::Desktop::autoit-v3.3.14.0::install::Examples::GUI::Simple

You can provide the Data Input argument as follows:

1.jpg

Note:

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

When Invalid Data Input Arguments are provided.

Value : General

Argument Data Invalid 13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Actually Found :<general;editing;new default=”” span=””></general;editing;new>

Recent Files History;File Association;Language;

Highlighting;

Print;Backup;Auto-Completion;Multi-Instance;Delimiter;Cloud;

Search Engine;MISC.> and

Expected :

If object is not found

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

Win_TypeSecureText

This Keyword types the text in secure manner; by not displaying its actual content. It types given text in asterisk format (encrypted form). This Keyword is mostly used in situations where you do not want to share or display the text like password etc. It takes an object as object input argument and value as data input argument.

For win_TypeSecureText Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose web object from your Object Repository where you want to type the secure text.

Data Input Arguments

Required?

Description

Value

Yes

Here you need to provide the text to be typed as secure text.

Output

It types the given text in encrypted format

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

This keyword types the specified text in a secure manner within the specified Object.

In the above screenshot if you want to type the “password” in a secure manner then you can use “Win_TypeSecureText” keyword as follows:

Win_TypeSecureText

Object

<  Choose the Object from OR  >

Value

Password@1

Object

<  Choose the Object from OR  >

Value

Password@1

When we provide a string value with Win_TypeSecureText keyword then it types the string in asterisk format.

SecureText.jpg

The keyword is executed as follows:

2.png

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

 

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_TypeTextInGridCell

This keyword types the specified Text in an Editable Textbox inside a Grid. It takes a Grid Object as Object Input Parameter. It also takes RowIndex  and ColumnIndex of the Grid cell separated by commas and placed in Square Brackets as Value as Data Input Parameter.

For Win_TypeTextInGridCell  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object input argument. You can choose the Grid object from your Object Repository within which you want to select the Radio button.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the Row number of the Grid Cell in which the Text box  appears.
Note: Row Index start from zero .

Column Index

Yes

Specify the Column number of the Grid cell  in which the Text box  appears.

Note: Column Index start from zero .

Value

Yes

Specify the Text to be typed in the Text Area placed inside the Grid cell.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

 

This keyword   types the specified Text in the highlighted object inside Gridcell.

In the above Screenshot, if you want to type the value “MyComment” in the highlighted Grid cell, you can do so by using Win_TypeTextInGridCell keyword as follows:

Win_TypeTextInGridCell

Row

Index

 

 

1

Column

Index

 

0

Value

 

MY Comment

Common Error conditions

Scenarios

Error Message

Debug Information

If object in Object Input Argument is given but Data input Argument not given

Object Input Argument: Object given

Data Input Argument: not given

 

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘object’. Expected StaticValue was empty.

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Win_TypeTextOnEditBox

This keyword types the specified Text in an Editable Textbox. It takes a Edit Box Object and  text to be typed on Edit Box  as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an Edit Box object as object input argument.

Data Input Arguments

Required?

Description

Value

yes

Specify the Text to be typed in the Edit Box.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

 

This keyword types the specified Text in the given Edit Box.

In the above image, suppose you wish to type the Text “Micheal” in the Text Area which is editable then here is how you will use Win_TypeTextOnEditBox keyword:

Win_TypeTextOnEditBox

Object

<    Choose an Edit Box Object from OR    >

Value

Micheal

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Object not found

-plugin-unable-to-take-screenshot-

If Object in Object input argument and Value in Data input argument is not given

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Win_VerifyGridCellText

This keyword verifies content available inside any grid cell. It is mostly used in situations where you have verify text of a cell in the grid.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the grid object from your Object Repository within which you want to verify text.

 

Data Input Arguments

Required?

Description

 

Row Index

 

Yes

Specify the Row number of the Grid Cell in which text appears.

Note: Row Index start from zero

Column Index

Yes

Specify the column number of the Grid Cell in which text appears.

Note: Col Index start from zero

Expected Text

Yes

Expected Text to be verified

Output

True

If the keyword passes successfully

False

If the Keyword Fails

Example

https://lh4.googleusercontent.com/dWMuY6rTSuxTLXNhllLvNOaeX-G_bocbbtbRCEJCmB65KtIb5FqlMpNQ4myJoZd9p6Vc1_9G9YiII4jMo3ybcu_30XR-AkJ_OSNpPMOnEW_5qi0oQZNE0Ksi86WFDcs6pRyKJLRC

In the example table above, if you want to verify a text “of” from “width of area” available in “Comment” column i.e Column Index 3 and Row Index 1, we can verify it using this keyword, here is how you will use this keyword “Win_VerifyGridCellText”.

Win_VerifyGridCellText

Object

<   Choose your Grid Object From OR   >

Row Index

<  1   >

Column Index

<  3  >

Expected Text

of

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

 

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

 

If Expected Value Does not match With Actual value

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view. 

 

Actually Found :< Width > and Expected :< of >

Win_VerifyGridColumnCount

This keyword verifies the number of columns corresponding to the specified grid RowIndex. It takes an OR Object of grid type as Object Input Argument and Row Index, Expected Column Count as Data Input Argument.

For example, you want to verify the number of columns in specified row of a grid.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object as Object input argument. You can choose the grid object from your Object Repository for which the Column Count has to be verified.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the Row number of the Grid

Note: Row Index start from zero .

Expected Column Count

Yes 

Specify the number of expected Columns. Count Starts from ‘0’.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

Application

Comments

 

 

This keyword  verifies the number of columns in specified Grid row.

In the example above, if you want to verify the number of columns in the highlighted row of the Grid then, use this keyword as shown below:

Win_VerifyGridColumnCount

Object 

<      Choose your Grid Object From OR     >

Row Index

1

Expected Column Count

4

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

 

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

 

If Expected Value Does not match With Actual value Row Index :   1

Count: 4

Object : Table

Verification Failed (-16100)

DESCRIPTION:

The value which is required, was not found on the currently active page or view. 

 

Actually Found :

<  4  > and Expected is  <  3  >

Win_VerifyGridRowCount

This keyword verifies the number of rows in a grid. It takes an OR Object of Grid type as Object Input Argument and Expected Row Count as data input arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Grid object as Object input argument. You can choose the grid object from your Object Repository for which the row count has to be verified.

Data Input Arguments

Required?

Description

Expected Row Count

Yes 

Specify the number of expected rows. Count Starts from ‘0’.

Output

True

If the keyword passes successfully

False

If the Keyword Fails

Example

Application

Comments

 

This keyword  verifies the number of rows in a grid.

In the example above, if you want to verify the number of rows in the  Grid then, use this keyword as shown below:

Win_VerifyGridRowCount

Object 

<      Choose your Grid Object From OR     >

Expected Row Count

< 10 >

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

 

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

 

If Expected Value Does not match With Actual value Row Index :   1

Count: 4

Object : Grid

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view. 

 

Actually Found :

<  3  > and Expected is  <  4   >

Win_VerifyObjectEnabled

This keyword verifies that the specified Object is enabled on the page or not. It is mostly used in situations where you have to provide an Object and want to verify that the particular object is enabled on the page or not.

For example, you want to verify the Object enabled.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object as Object  input argument. You need to select any object which needs to be verified.

Data Input

Arguments

Required?

Description

Data

No

This Keyword does not require any Data Input Arguments.

 

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example above, if you want to verify that Object Authentication Mode is enabled or not, here is how you will use this keyword

Win_VerifyObjectEnabled

 Object

<   Choose an  Object  From OR   > Here, Authentication Mode

Common Error conditions

Scenarios

Error Message

Debug Information

If the provided object doesn’t exist on the page

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

Object not found

If Object is not  Provided

No Object Attached

 

Win_VerifyObjectExists

This keyword verifies whether the specified object exist over the given page or not. It takes object as object input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes Object from OR as object input argument which has to be verified.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 

This keyword verifies whether the specified ‘My Account’ object exist on the given page or not.

Suppose you want to Verify that the highlighted object “My Account” Exists on the page then, this is how you will use “Win_VerifyObjectExist” keyword:

Win_VerifyObjectExist

Object

<   Choose an Object From OR   > Here, My Account”

Common Error conditions

Scenarios

Error Message

Debug Information

If the provided object doesn’t exist on the page

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

Object not found

If Object is not  Provided

No Object Attached

N.A

Win_VerifyObjectPropertyValue

This keyword verifies the Value of the Specified Property of given object. It is mostly used in situations where you have to verify the property value of particular Object before clicking or performing any action on it. It takes an OR object along with PropertyName & Expected PropertyValue to be verified as input parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes Object from OR as object input argument whose Property Value has to be verified.

Data Input Arguments

Required?

Description

Property Name

Yes

Specify the Property name of the Object whose Property  Value has to be verified.

For Example:- Xpath, Class, name, height etc.

Expected Property Value

Yes

Specify the Expected Property Value

Note :-This is Case Sensitive

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPicturesproperty_Value.png

In the example above, if you want to verify the property value of an object, here is how you will use Win_VerifyObjectPropertyValue keyword.

Win_VerifyObjectPropertyValue

 Object

<   Choose Object from OR   >

Expected Property Value

<   234  >

Property Name

<   height >

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

 

If Expected Value Does not match With Actual value

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view. 

 

Actually Found :

<  235  > and Expected is  <  234   >

Win_VerifyObjectText

This keyword verifies if Specified Text exists on the object or not. It takes an OR object and text to be verified as input parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object as Object  Input argument. You can choose an Object from your Object Repository.

Data Input Arguments

Required?

Description

Expected Text

Yes

Specify the Expected Text that has to be matched with the current Text

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

URL

Comments

 

 

 

This keyword Verifies the Text of a specified object on the  page.

In the above example we need to find the Text  of the “Baahubali 2: The Conclusion” element on the page, we can do so by using “Win_VerifyObjectText” keyword  as shown below:

Win_VerifyObjectText

Object 

<   Choose your object from OR     >  Here,  Baahubali 2: The Conclusion.

Expected Text

Baahubali 2: The Conclusion

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

 

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

 

If Expected Value Does not match With Actual value

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view. 

 

Actually Found :

<  The Conclusion  > and Expected is  <  Baahubali 2: The Conclusion   >

Win_VerifyObjectValue

This keyword verifies the specified Object value. This keyword is mostly used in situations where you have to verify the Value of Particular Object on page before clicking or doing any action on it. It takes object and value to be verified as input parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You need to select any object whose value needs to be verified.

Data Input Arguments

Required?

Description

Expected Value

Yes

Specify the Expected Value that has to be matched with the current value

Tip: The Provided Value should be in string Format and is Case Sensitive.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

C:Userspallavi.goelPicturesverifyObjectVisible.png

In the example above, if you want to verify the Value of Find Flights Object, here is how you will use this keyword

Win_VerifyObjectValue

Object

<   Choose Object From OR   >

Expected Value

<  Search Now   >

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

 

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

N.A

 

If Expected Value Does not match With Actual value

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view. 

 

Actually Found :

<  Find  > and Expected is  <  Search Now   >

Win_VerifyObjectVisible

This keyword verifies that the specified Object is Visible on the page or not. It is mostly used in situations where you have to verify that the particular Object is visible on page before clicking or performing any action on it.

For example, you want to verify the object visibility

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object as Object  input argument. You need to select the object whose visibility has to be verified.

 

Data Input Arguments

Required?

Description

Data

No

This Keyword does not take any Data Input Argument.

 

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPicturesverifyObjectVisible.png

In the example above, if you want to Verify the Find Flights Object is Visible or not, here is how you will use this keyword.

Win_VerifyObjectVisible

Object

<   Choose Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If the provided object doesn’t exist on the page

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

Object not found

If Object is not  Provided

No Object Attached

NA

Win_SwitchExecutionMode

This Keyword facilitates to switch the playback mode. It takes a Coordinate/Object/Mix as Data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword does not require any Object Input Argument.

Data Input Arguments

Required?

Description

Mode

Yes

Specify the Mode for Execution i.e Coordinate/Object/Mix

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

If you want to  to switch the playback mode for EXecution then here, is how you will use Win_SwitchExecutionMode Keyword:

Win_SwitchExecutionMode

Mode

< Specify the Mode for Execution  >  Here, Coordinate

Note:

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Unsatisfied Dependencies (-14200) 

 

Win_WaitForWindow

This keyword waits for the specified window until window is completely visible on the screen. It takes title of the window as input parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword does not require any Object Input Argument.

Data Input Arguments

Required?

Description

Title

Yes

Specify the window title.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

1.jpg

In the above screenshot, if you want to waits for the specified window until window is completely visible on the screen here, is how you will use Win_waitForWindow Keyword:

Win_waitForWindow

Title

< Specify the Title of the Window  >  Here, the highlighted portion

Note:

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like Win_LaunchApplication) which can open your Desktop application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

When Invalid Data Input Argument is provided.

Argument Data Invalid (-13300) DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Unable to find window- title name .

When the keyword is used without using Web_LaunchApplication Keyword prior to it

Unsatisfied Dependencies (-14200) 

 

Win_GetAllWindowTitles

This keyword is used to retrieve the titles of all windows. It doesn’t take any object/data Input arguments.

Input Arguments

Object Input Arguments

Required?

Description

No

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

This keyword always passes successfully and retrieves titles of all windows of the desktop application(s). If you have not launched any desktop application then it retrieves titles of system programs running in the background.

 
 

False

This keyword never fails.

Example

Image

Comments

 GetAllWindowTitles-new.jpg

Here, user wants to retrieve the titles of all windows.

Example: VLC media player, VLSub 0.9,  &

Select one or more files to open

In this screenshot, there are three windows (in open state) of the same application, if you want to retrieve the titles of those windows then you can use the “Win_GetAllWindowTitles” keyword as follows:

Win_GetAllWindowTitles

Object

<  No object required  >

Common Error conditions

There are no error scenarios for this keyword as it always passes successfully.

Win_GetCurrentWindowTitle

This keyword is used to retrieve the title of the current active window. It doesn’t take any object/data Input arguments.

Input Arguments

Object Input Arguments

Required?

Description

No

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

This keyword always passes successfully and retrieves the title of the current active window of the desktop application. If you have not launched any desktop application then it retrieves title of any of the application.

 
 

False

This keyword never fails.

Example

Image

Comments

 GetCurrentWindowTitle.jpg

Here, user wants to retrieve the titles of the OpKey Auth window.

In this screenshot, there are three windows (in open state) of the same application, if you want to retrieve the titles of those windows then you can use the “Win_GetCurrentWindowTitle” keyword as follows:

Win_GetCurrentWindowTitle

Object

<  No object required  >

Common Error conditions

There are no error scenarios for this keyword as it always passes successfully.

Article

No items found.