c++ - TAEF Datadriven c# application on windows phone -
i writing c# application read xml using "data driven method" described in taef documentation.
https://msdn.microsoft.com/en-us/library/windows/hardware/hh439689(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/hardware/hh439591(v=vs.85).aspx
i have vsts dll loaded , te.managed.dll loaded in references , in taef set testcontext property can access data through it.
public testcontext testcontext
{
get { return m_testcontext; }
set { m_testcontext = value; }
}
at runtime when run testcase on phone, getting argument error
command - cmdd te.exe "c:\data\test\bin\unittestproject1.dll /select:@testid='1004'"
test authoring , execution framework v4.16m arm
error: system.argumentexception: object of type 'wex.testexecution.testcontextimplementation' cannot converted type 'microsoft.visualstudio.testtools.unittesti ng.testcontext'.
removing references wex.testexecution giving me same error. 1 please me !!!????
thanks in advance.
you need use testcontext implementation in wex.testexecution.markup namespace in te.managed.dll when using coreclr version of te.managed.dll. coreclr version doesn't support use of testcontext class microsoft.visualstudio.qualitytools.unittests.dll.
Comments
Post a Comment