Hi,
Click() event do not work when test is runned on scheduler or when i minimize the remote desktop window(where the connection to the machine with test studio is).
If i'm leaving the window open and i run the test, everything works smooth.
I've enabled SimulateRealClick, still no changes.
The errors at log is next:
System.ComponentModel.Win32Exception (0x80004005): SendInput: Failed. Win32Error:
at ArtOfTest.WebAii.Win32.Win32NativeMethods.SendInputInternal(Input[] inputData)
at ArtOfTest.WebAii.Win32.Mouse.Click(MouseClickType clickType, Int32 x, Int32 y, Int32 wheelDelta)
at ArtOfTest.WebAii.Win32.Mouse.Click(MouseClickType clickType, Int32 x, Int32 y, Int32 wheelDelta)
at ArtOfTest.WebAii.Win32.Mouse.Click(MouseClickType clickType, Point pointToClick)
at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.MouseClick()
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
PLEASE help.
Happy to hear that you have found a solution.
If you need additional assistance please let us know.
Regards,
Boyan Boev
Telerik
and send us your feedback!