ClickElementWithKey

Top  Previous  Next

×V5.3Ø

S

A

W

WS

M

 

 

ü

Syntax -

ClickElementWithKey <Key To Press> <App Name> <Element Identifier>

       Where:

               <Key To Press> is ControlKey.

               <App Name> The name that represents an opened application.

               <Element Identifier> is a valid element identifier as described in Element Strings and References.

                               

Description:

This command simulates a control key press and a mouse click on an element in a windows application.  This command is used on List Items and Tree Items.

 

 

Sample 1:

       The following statement selects two list items by pressing simulating a control key and a mouse click.

ClickElementWithKey ControlKey RevCycle "Element[Type=ListItem|Index=1]"

ClickElementWithKey ControlKey RevCycle "Element[Type=ListItem|Index=2]"

 

Control Usage:

ListItem

TreeItem

 

See Also:

RightClickElement

OpenApp