Locked PC at automation test 's running

4 posts, 0 answers
  1. Totti
    Totti avatar
    10 posts
    Member since:
    Sep 2010

    Posted 06 Apr 2011 Link to this post

    I have a question:
    My PC locked when I was running my automation test, so my tests cannot run and result test 's fail. so in this case, cannot we locked machine at running automation test ?

    Thanks for your idea.

  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 06 Apr 2011 Link to this post

    Hello Totti,

    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.

    Regards,
    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
  3. Varun
    Varun avatar
    1 posts
    Member since:
    Sep 2011

    Posted 14 Sep 2011 Link to this post

    I created a simple test and have attached a http response listener.
    It clearly does not require any desktop interaction.
    Still I am not able to run the test on locked system
    Can someone please help?
  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 14 Sep 2011 Link to this post

    Hi Varun,

    We really need more details about the symptom/problem you are running into before we can help diagnose the problem. It would also be very helpful if you can send us a test (and all required supporting files/code) that exhibits the problem that we can run on our machine to reproduce and study the problem first hand.

    Greetings,
    Cody
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!