How to Run WebUI Tests in Parallel

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

    Posted 21 Nov 2010 Link to this post

    Hi Telerik Team,

    I'm using WebUI Test Studio Developer Edition and using TeamCity to run my tests with MSTest. How can i run my UI tests in parallel? Will the below options work?

    1. http://blogs.msdn.com/b/vstsqualitytools/archive/2009/12/01/executing-unit-tests-in-parallel-on-a-multi-cpu-core-machine.aspx 
    2. running multiple build agents in TeamCity
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 22 Nov 2010 Link to this post

    Hello ching ping,

    Unfortunately WebAii tests cannot be run in parallel on the same machine. The are two technical problems with trying to run them in parallel:

    1. The framework is not thread safe (as the article you site states is a requirement)
    2. Even if we make the framework thread safe, tests that try to use the mouse or keyboard simultaneously will interfere with each other because only one window can have the focus at a time. So when one application tries to do a mouse action it will either fail or take the focus away from the window for the other application.

    Regards,
    Cody
    the Telerik team
    See What’s New in WebUI Test Studio’s Q3 Release 24/7 on Telerik TV
Back to Top