Silverlight automation tests on build sever

3 posts, 0 answers
  1. Dean
    Dean avatar
    2 posts
    Member since:
    Jan 2013

    Posted 10 Jan 2013 Link to this post

    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. Dean
    Dean avatar
    2 posts
    Member since:
    Jan 2013

    Posted 11 Jan 2013 Link to this post

    Hi support - any thoughts on this?
  3. Mario
    Admin
    Mario avatar
    8 posts

    Posted 15 Jan 2013 Link to this post

    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
Back to Top