Recommendation of CI

2 posts, 0 answers
  1. ching ping
    ching ping avatar
    3 posts
    Member since:
    Sep 2010

    Posted 17 Nov 2010 Link to this post

    Hi Telerik Team,

    Our team is currently using TeamCity to automate our UI tests. According to this document - , there's limitation on integrating UI tests with TeamCity, which we would need to log onto the server using an account, run TeamCity with command line, never lock the computer and never logoff the user.
    Is there any recommendation of CI which will work perfectly with UI tests?
  2. Cody
    Cody avatar
    3354 posts

    Posted 19 Nov 2010 Link to this post

    Hello ching ping,

    We do not have a better solution other than what is already outlined in the documentation you have found. The problem is that when a computer is locked (at logon prompt or the screensaver is active) the "Interactive Desktop" permission is removed from the account running the UI tests. Also running the build agent under a system account does not get this "Interactive Desktop" permission. This is a Windows limitation enforced by the operating system. There's just no real good way to get around this.

    The "Interactive Desktop" permission is required for any simulated mouse actions (hover, click, etc.) to be accepted as well as any simulated keyboard typing. When this permission is removed those actions are prohibited by Windows. That's why there's no good solution other than:

    1. Use a real user account
    2. Leave the user logged on
    3. Disable the screen saver

    the Telerik team

    See What’s New in WebUI Test Studio’s Q3 Release – Friday, November 19th, 2010 at 11am EST – Register Today!
Back to Top