A J
A J

Reputation: 45

Run a coded UI test using test agent

I have created some Coded UI test using Page Object Model(no recordings ) and i have installed Test Agent as well as Test Controller. Test Agent Seems to show only the status, agent name,controller name and currently running test. I was told that test agent can be used to run tests, can anyone provide a link or some steps to run the tests

Thanks in advance

Arjun Menon

Upvotes: 1

Views: 2154

Answers (1)

Ryan Cox
Ryan Cox

Reputation: 958

The Agent executes the test as directed by the controller. The controller is sent tests to execute based on your settings in the TestSettings file. Good information here. In essence, though, you would select the settings file that has your desired test environment specified, and then click "run". You cannot debug in a remote environment.

If you simply want to execute the tests on the machine the agent is installed, execute from command line via mstest.exe. More info regarding this process here.

Upvotes: 1

Related Questions