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

Silverlight automation tests on build sever

2 Answers 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dean
Top achievements
Rank 1
Dean asked on 10 Jan 2013, 02:58 PM
Hi,

Im looking into having some c# coded tests that do some automation for silverlight. The tests run ok when run through visual studio - there are mouse clicks in the tests, when I log off the machine while the tests are running then the tests fail as I assume that the mouse clicks are not working.

How do I work around this as our build sever will have its screen locked...

thanks

2 Answers, 1 is accepted

Sort by
0
Dean
Top achievements
Rank 1
answered on 11 Jan 2013, 05:51 PM
Hi support - any thoughts on this?
0
Mario
Telerik team
answered on 15 Jan 2013, 05:13 PM
Hi Dean,

My sincere apologies for the delay in getting back to you on this issue.

Unfortunately Silverlight applications do not allow us to inject click events (as with HTML-based web applications) and so we are forced to simulate system wide mouse moves, clicks, and key presses instead. As you suspected, moving the mouse or sending key strokes require an unlocked desktop, this is a Windows limitation you will find with any tool that performs UI testing.

Please refer to this knowledge base article for additional information which includes a few workaround options certain customers have been successful with in the past.

Let me know whether I can answer any additional questions.

Greetings,
Mario
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Dean
Top achievements
Rank 1
Answers by
Dean
Top achievements
Rank 1
Mario
Telerik team
Share this question
or