1. Home
  2. OpKey Help
  3. 25. OpKey Keyword Documentation
  4. 25.8 OpKey Desktop Keywords

25.8 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

setfocuseditfield.jpg

 

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

 

Error 404.jpg

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

setfocuseditfield.jpg

 

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

Keywords.jpg

 

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

 

1.jpg

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

12.jpg

 

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

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

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

Keywords.jpg

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

Keywords.jpg

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

Scenarios

Error Message

Debug Information

When the Data Input Arguments are not 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.

Argument(s) : Path should not be blank

 

 

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

 

Checked - Copy.jpg

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)