Frage

I am new in testing, and to be honest I would like to start over because I have been reading a lots of articles in msdn library, now I am confused...Please help!

What I have done:

  • I created an automated coded UI test (CUIT) in VS 2010
  • The CUIT is taking data from an Excel File
  • Created a link between the excel file and CUIT folowing this blog

My MS Tools

  • Microsoft Test Manager 2010
  • Visual Studio 2010
  • Team Foundation Server 2010 & Team Foundation Build
  • SQL Server 2008 R2 (if relevant)

Objective: Use my PC to run an automated test in a physical enviroment without extra tools

Thank you very much!

War es hilfreich?

Lösung

Running CodedUi Tests through MTM is the same procedure as any other automated test. You have to do the following:

  1. Associate your CodedUi Test with appropriate Test Case.
  2. In the physical machine you use for automated tests install a Test Controller and a Test Agent. Configure the Test Agent to interact with the desktop.
  3. Create a Test Plan in MTM and add your Test Cases to the appropriate Test Suites.
  4. Select the Test Environment you want to run your tests. Select the physical machine you had previously install and configure the Test Controller and Agent.
  5. Run your tests and happy testing

For more details follow these guides:

Andere Tipps

I highly recommend you this book Software Testing with Visual Studio 2010.

It will provide you with an excellent walkthrough.

You need to install a Test Controller service and Test Agent on the environments you want to run the tests on.

This will allow you to execute the tests remotely without having visual studio installed.

see these links for more info

http://msdn.microsoft.com/en-us/library/vstudio/dd648127(v=vs.100).aspx http://msdn.microsoft.com/en-us/library/dd728093(v=vs.100).aspx

alternatively you can call the mstest.exe directly and pass in a parameter for the test project, but i'm not sure what installs this. Probably visual studio and the agents

Once setup the agents can be managed via the Lab in MTM

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top