Search code examples
c#visual-studio-2010classautomationcoded-ui-tests

CodedUI [testmethod] vs [CodedUITest]


What is the difference between the [testmethod] and [CodedUITest] tags which begin at the top of each class? I have been unable to find any documentation from Microsoft regarding the contents/behavior of these class declarations.


Solution

  • CodedUITest is meta attribute of graphic test, he can be generated from data recordered with Microsoft Test Manager for example

    Link : http://msdn.microsoft.com/en-us/library/dd286681(v=vs.100).aspx

    Testmethod : is meta attribute of one method of your test

    Link :http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.testmethodattribute.aspx