This is a migrated thread and some comments may be shown as answers.

MouseClick doesn't work

3 Answers 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aga
Top achievements
Rank 1
Aga asked on 29 Apr 2011, 05:21 PM
I need to use MouseClick instead of Click on HtmlAnchor elements. The problem is that I'm running my tests on virtual machines. But the MouseClick doesn't work (browsers isn't redirected to new page).

when I use Click method everything is correct but I need to simulated real user and I can't use Click method.
A.

Webaii 2010.3.1421
Browsers (IE7, IE8, FF, Chrome, Safari)
windows server 2003, Windows 7

3 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 01 May 2011, 11:11 PM
Hi Aga,


    is the remote machine locked? Whether or not your test can run on a locked machine depends on the specific test. Tests that use pure HTML DOM actions (set text, element click, drop down select, etc.) will work just fine. Unfortunately any test that requires moving the mouse (mouse desktop clicks) or simulated keyboard input cannot run on a locked machine. All Silverlight tests fall into this category and some HTML tests do as well.

This is a Windows issue. When the machine is locked Windows removes the "Interactive Desktop" permission from your logged on session. This blocks all mouse and keyboard actions.


Best wishes,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Aga
Top achievements
Rank 1
answered on 04 May 2011, 09:14 AM
Is there any other way to simulate user click on virtual machine?
Aga
0
Cody
Telerik team
answered on 04 May 2011, 09:32 PM
Hi Aga,

I am sorry but no there is not (and it doesn't matter whether it's a real machine for a VM).

Greetings,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Aga
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Aga
Top achievements
Rank 1
Cody
Telerik team
Share this question
or