LeftMouseClick
void LeftMouseClick(String control)Description
Simulates a left mouse button click on the specified control.
The function locates the given UI control (identified by its control name) and performs a click action at its position.
This is typically used to automate user interaction with buttons, menus, or other controls in the application under test.
Parameter
- control - The identifier or name of the control to be clicked.
Example
void main()
{
LeftMouseClick("BTN_LOGIN"); // Clicks the login button
}