Clear field Version 11 (Net)

Action group: Windows 


Description

The action clears the text field.

Action icon 


Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ElementResource with data of selected element in applicationRobin.WinElement
Yes
Time-outTime in milliseconds to find required window.Robin.Numeric
No
Window orderWhen found more than one window, action would interact with window defined by orderRobin.Numeric
No

Special conditions of use

None.

Example of use

Task

There is an open "Parameters" window with a filled in input field, clear it.

Solution

Use the "Clear field" action.

Implementation

  1. Move the "Clear field" action to the workspace.



  2. Set the "Clear field" action parameters. Get the element using the WinSpy tool. Find more on how to work with the WinSpy 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.



  3. Click "Start" in the top panel.

Result

The program robot completed successfully.

The field is cleared.

  • Нет меток