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

How to Run WebUI Tests in Parallel

1 Answer 94 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 22 Nov 2010, 04:53 AM
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

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 22 Nov 2010, 11:35 PM
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
Tags
General Discussions
Asked by
ching ping
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or