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

Output

Example

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

Common Error conditions

Win_Click

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

Input Arguments

Output

Example

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

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

Win_ClickButton

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

Input Arguments

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

Win_ClickHeaderItem

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

Input Arguments

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

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

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

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

Output

Example

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

Win_ClickImage

Common Error conditions

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

Output

Example

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

Common Error conditions

Win_ClickTabItem

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

Input Arguments

Output

Example

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

Common Error conditions

Win_ClickText

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

Input Arguments

Output

Example

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

Common Error conditions

Win_ClickThumb

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

Input Arguments

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

Win_Close

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

Input Arguments

Output

Example

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

Common Error conditions

Win_CloseApplication

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

Input Arguments

Output

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

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

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

Win_DoubleClick

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

Input Arguments

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

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

Common Error conditions

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

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

Example

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

Win_GetGridRowsCount

Common Error conditions

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

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

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

Output

Example

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

Common Error conditions

Win_GetObjectText

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

Input Arguments

Output

Example

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

Common Error conditions

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

Output

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

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

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

Win_LaunchApplication

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

Input Arguments

Output

Example

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

Output

Example

This keyword Maximizes the specified window of the Opened Application.

Common Error conditions

Win_Minimize

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

Input Arguments

Output

Example

This keyword Minimizes the specified window of the Opened Application.

Common Error conditions

Win_Resize

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

Input Arguments

Output

Example

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

Win_Resize

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

Win_Restore

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

Input Arguments

Output

Example

Common Error conditions

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

Output

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

Common Error conditions

Win_ScrollThumb

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

Input Arguments

Output

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

Common Error conditions

Win_SelectCheckBox

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

Input Arguments

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

Example

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

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

Output

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

Common Error conditions

Win_SelectListItem

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

Input Arguments

Output

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

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

Win_SelectRadioButton

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

Input Arguments

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

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

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

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

Output

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

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

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

Output

Example

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

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

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

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

Example

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

Common Error conditions

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

Output

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

Common Error conditions

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

Output

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

Common Error conditions

Win_SwitchExecutionMode

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

Input Arguments

Output

Example

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

Win_SwitchExecutionMode

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

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

Output

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

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

Win_GetAllWindowTitles

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

Input Arguments

Output

Example

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

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

Output

Example

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

Common Error conditions

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

Contact us