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

Recommendation of CI

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ching ping
Top achievements
Rank 1
ching ping asked on 18 Nov 2010, 04:21 AM
Hi Telerik Team,

Our team is currently using TeamCity to automate our UI tests. According to this document - http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=teamcity , 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?

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 19 Nov 2010, 06:07 AM
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

Greetings,
Cody
the Telerik team

See What’s New in WebUI Test Studio’s Q3 Release – Friday, November 19th, 2010 at 11am EST – Register Today!
Tags
General Discussions
Asked by
ching ping
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or