Freigeben über


Distributed Coded UI Tests

Coded UI Tests can be run in a distributed fashion. It leverages the existing Load Test architecture.  Read the Load Test Team blog for more information.

 

Since Coded UI Tests always interact with the UI, the Test Agent has to be run as interactive process.

See How to: Set Up Your Test Agent to Run Tests That Interact with the Desktop

 

In the Coded UI Test Project, double click on the testsettings file.

image image

 

In the Roles section, choose Remote Execution.

Select the name of the controller to use for remote test execution.

If there are multiple agents associated with the controller, we can filter the agents on which the test has to be run based on properties. In the screenshot above, I have added a role named ‘Client” and  added an attribute “CodedUITest” and set its value to “True”. You can click on "Preview matching test agents” to detect how many agents match the selected attribute.

I will set this property to true for the agent on which I want to run the Coded UI Test. Remember this agent has to be run as an interactive process. (This dialog is invoked from Test –>  “Manage Test Controller” menu)

image image

 

In the screenshot above, see how i have set the attribute “CodedUITest” to “True” for my agent.

Comments

  • Anonymous
    March 02, 2009
    PingBack from http://www.clickandsolve.com/?p=17046

  • Anonymous
    March 03, 2009
    Thank you for submitting this cool story - Trackback from DotNetShoutout

  • Anonymous
    March 03, 2009
    Mathew explains how to leverages the existing Load Test architecture in order to run Coded UI Tests in

  • Anonymous
    December 06, 2010
    The comment has been removed