- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在编写一个 C# 应用程序来使用 TAEF 文档中描述的“数据驱动方法”读取 XML。
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
我在我的引用中加载了 VSTS dll 并加载了 TE.Managed.dll,在 TAEF 中我们设置了这个 TestContext 属性,以便您可以通过它访问数据。
公共(public)测试上下文测试上下文
{
得到 { 返回 m_testContext;
设置{ m_testContext = 值;
在运行时,当我在手机上运行测试用例时,出现此参数错误
命令-cmdd te.exe "c:\data\test\bin\UnitTestProject1.dll/select:@TestId='1004'"
测试编写和执行框架 v4.16m for arm
错误:System.ArgumentException:对象类型 'WEX.TestExecution.TestContextImplementation' 无法转换为类型 'Microsoft.VisualStudio.TestTools .UnitTesting.TestContext'.
删除所有对 WEX.TestExecution 的引用也给我同样的错误。有人可以帮我解决这个问题吗!!!????
提前致谢。
最佳答案
使用CoreCLR版本的TE.Managed.dll时,需要使用TE.Managed.dll中Wex.TestExecution.Markup命名空间中的TestContext实现。 CoreCLR 版本不支持使用 Microsoft.VisualStudio.QualityTools.UnitTests.dll 中的 TestContext 类。
关于c# - Windows Phone 上的 TAEF Datadriven c# 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32854931/
我正在编写一个 C# 应用程序来使用 TAEF 文档中描述的“数据驱动方法”读取 XML。 https://msdn.microsoft.com/en-us/library/windows/hardw
我是一名优秀的程序员,十分优秀!