TAEF数据驱动的c#应用程序在windows phone上
TAEF Datadriven c# application on windows phone
我正在编写一个c#应用程序,使用TAEF文档中描述的"数据驱动方法"读取XML。
https://msdn.microsoft.com/en-us/library/windows/hardware/hh439689 (v = vs.85) . aspxhttps://msdn.microsoft.com/en-us/library/windows/hardware/hh439591 (v = vs.85) . aspx
我在我的参考文献中加载了VSTS dll和TE.Managed.dll,并且在TAEF中我们设置了这个TestContext属性,以便您可以通过它访问数据。
public TestContext
{
get {return m_testContext;}
set {m_testContext = value;}
}
在运行时,当我在手机上运行测试用例时,我得到这个参数错误
——命令"c:datatestbinUnitTestProject1.dll/select:@ testd ='1004'"
Test authororing and Execution Framework v4.16m for arm
错误:系统。ArgumentException:类型 ` wexs . testexecution `的对象。TestContextImplementation'不能转换为类型'Microsoft.VisualStudio.TestTools.UnitTesting.TestContext"。
删除所有对WEX的引用。TestExecution也给了我同样的错误。有人可以帮我这个!!????
当使用TE.Managed.dll的CoreCLR版本时,您需要在TE.Managed.dll中的wexx . testexecution . markup命名空间中使用TestContext实现。CoreCLR版本不支持使用来自Microsoft.VisualStudio.QualityTools.UnitTests.dll的TestContext类。
- 仅在Windows Phone目标中0x8007007E
- 我可以使用Visual Studio 2015来创建Windows Phone 8应用程序吗?
- Windows Phone 8:监控混合C#/C++中的内存使用情况
- 如何振动Windows Phone 8.1
- Windows Phone 8(仅限C++) - 可以访问设备制造商
- Windows Phone 中的进程相关性
- 将C++日志源代码段转换为Windows Phone C++/CX
- windows phone 8 and ATL
- Direct3D 中的 Windows Phone 8 触摸位置
- No FileIO in Windows Phone?
- 正确的方法来确保使用Windows Phone应用程序部署C DLL
- 如何在Windows Phone 8 C /CLI应用程序中集成DLMALLOC
- UTF8 文本编码 - Windows Phone 8.1 C++
- 关于从C++调用C#函数的问题,在windows phone上反向P/Invoke
- 我们不能用c来开发windows phone 7.5应用程序
- 在Windows Phone 8.1中保持应用程序在锁屏下运行
- 使用C++代码在Windows Phone 8.1中获取Unique DeviceId
- 在我的加速度计数据上应用一些过滤器-Windows phone 8,C++
- _wfopen_s在 Windows Phone 应用中无法正常工作
- 编译支持 OpenSSL 的 Windows Phone 8.1 Qt 5.5 时出现问题