Hello Humberto,
.Click() - A click event for the target element is injected directly into browsers DOM. Works most of the time, but bypasses some event handlers, such as jQuery events that may be attached to the target element.
Can be used on a locked machine.
.MouseClick() - Injects a Windows mouse click event at a specific screen coordinate (calculated based on the target elements current screen position). The mouse cursor actually moves. Windows passes the mouse event to whichever window has focus at those coordinates. Normally this window would be the browser window, but not necessarily. It is possible to cause inject mouse clicks for screen coordinates outside of the browser window. Will cause any and all event handlers to be activated by the click.
Can NOT be used on a locked machine. Require a fully interactive desktop to work.
Does that help?
Regards,
Cody
Telerik
.Click() - A click event for the target element is injected directly into browsers DOM. Works most of the time, but bypasses some event handlers, such as jQuery events that may be attached to the target element.
Can be used on a locked machine.
.MouseClick() - Injects a Windows mouse click event at a specific screen coordinate (calculated based on the target elements current screen position). The mouse cursor actually moves. Windows passes the mouse event to whichever window has focus at those coordinates. Normally this window would be the browser window, but not necessarily. It is possible to cause inject mouse clicks for screen coordinates outside of the browser window. Will cause any and all event handlers to be activated by the click.
Can NOT be used on a locked machine. Require a fully interactive desktop to work.
Does that help?
Regards,
Cody
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings