Set checkbox value Version 11 (Net)
Action group: Windows
Description
The action sets or resets checkbox value.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Element | Resource with data of selected element in application | Robin.WinElement | Yes | |
Action | Selecting an action for the checkbox. | Robin.String | Yes | |
Time-out | Time in milliseconds to find required element. | Robin.Numeric | No | |
Window order | When found more than one window, action would interact with window defined by order | Robin.Numeric | No |
Special conditions of use
None.
Example of use
Task
There is an open window "Find" on the screen. Switch the value of the "Reverse search direction" checkbox to "enabled (true)".
Solution
Use the "Set checkbox value" action.
Implementation
- Move the "Set checkbox value to the workspace
and set its parameters. Get the element with the WinSpy tool. Working with WinSpy is described in section Get Win-element
Setting a timeout does not, in general, increase the execution time of an action beyond the time it takes for the item we are using in the action to become visible and accessible. During the set timeout, the action tries to access the element it is working with. As soon as the item is available, the waiting timeout expires. - Click "Start" in the top panel.
Result
The program robot completed successfully.
The "Reverse search direction" checkbox value is changed to True.
Обзор
Инструменты контента