Odin Technology - Automated Software Testing

Axe Test Automation Platform

General discussion relating to the Axe Test Automation Platform from Odin Technology

Posts by Odin employees marked:

Running Axe CodedUI tests from MTM fails

Hello,

I'm having difficulty getting Axe-generated CodedUI tests to run from Microsoft Test Manager.

I think I've followed all the steps in the documentation, but am still getting the failure:

"Test method Aidp.TestAutomation.AxeTest.RA01 threw exception:
System.ArgumentException: Cannot locate Axe project in version control."

I've created a .runsettings file which is being deployed correctly, and I've added the whole Axe project to the VS Solution under the Solution Items folder (i.e. a folder containing the .tpj file and the actionmap/config/data/objectmap folders beneath that).

Am I missing a step here? Happy to provide more details (e.g. screenshot of Solution Explorer) if that helps?

Thanks
Lucy
Lucy Markham Send private email
Sunday, October 17, 2010
 
 
Hi Lucy,

There are a few things to double check:
- ensure your Axe project sits in TFS version control below the same structure as your VS project. The VS project must contain a Test Project for running MS Unit tests
- set-up and deploy a build definition
- view the history of AxeTests.cs in Source Control Explorer. View 'Labels' and ensure a label has been applied. This will be something like <Project>.<Date>.<Count> e.g. OdinPortal_20101018.1

If all the above are correct and you are still getting the error, then you can force Axe to specify a specific build for the Test Manager run to use. This is done by adding a 'build' entry to the runsettings file. e.g. the example for the Axe Help is:

<Option Name="Build" Value="TailspinAxeProject_20100501.1" />

NB: if you use the approach above then you must remember to update the runsettings file each time you build, or the wrong dlls will be used.

Further information can be found in the section 'Running tests from Test Manager' in the Axe Integration Guide for Microsoft.

Sam
Sam Warwick Send private email
Tuesday, October 19, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics