Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to deploy Visual Studio Coded UI Tests to Azure or EC2 as Test Agents?

I'm not that entirely familiar with the testing suite that comes with Visual Studio 2010 (Ultimate) but I'm trying to find a means to produce something similar to Selenium Grid with the Coded UI Tests. I'd like to be able to deploy agents to Azure or EC2, execute all Coded UI tests, and then tear them down for a smoke test as part of a deployment process.

From what I am seeing around the net, its possible to do something similiar to this via controllers and agents but I'm not certain how much of that can be easily migrated to the cloud. Ive found these posts: Load Testing with Agents running on Windows Azure: [1 2 3] but they surround load testing. It is my understanding that load tests can compiled and easily deployed but that is not necessarily the case for Coded UI tests.

like image 482
Chance Avatar asked Apr 18 '11 17:04

Chance


People also ask

Does Visual Studio Professional Support coded UI?

In Visual Studio 2022, users can run existing CodedUI tests, but not record new tests because Coded UI Test Editor is not available.

What is test agent in Visual Studio?

Agents for Visual Studio 2022 can be used for load, functional, and automated testing. Use of this tool requires a valid Visual Studio license.

What is coded UI testing?

Coded UI Tests are automated tests that drive your application through its user interface. These tests include functional testing of the UI controls. They let you verify that the whole application, including its user interface, is functioning correctly.


1 Answers

I don't know if its possible but i do know a little about the agents. Agents allow you to connect to the machine and deploy a test to it. I think as long as your controller can access that VM then it should be ok. I believe you can set up Azure so their will be an external name for the VM.

The same process should work for coded ui tests as well. they are also deployed using agents and controllers

like image 175
Ryan Burnham Avatar answered Sep 28 '22 06:09

Ryan Burnham