QTP自动化用C#

QTP自动化用C# 快速测试专业(QTP)提供支持的自动化,如C#。NET Visual Studio中的任何语言​​和开发环境编写的QuickTest自动化脚本的灵活性。在这篇文章中,你会发现QTP自动化基本实现使用C#。有许多选项可用于设计和运行自动化脚本开发环境。 快速测试(QTP)自动化脚本可以写在支持自动化前的任何语言​​。的VBScript,JavaScript中,Visual Basic中的Visual C + +或Visual Studio.NET(C#,VB.net)。 在这篇文章中,我们使用Visual Studio 2008和。净C#语言,要像微软智能感知,自动语句完成,其他功能特性。在选择支持的类型引用的环境之后,我们必须添加引用的QuickTest类型库开始之前书面或运行你的自动化脚本。 创建C#控制台应用程序QTP的自动化 在Visual Studio中的新项目,选择的Visual C#项目的控制台应用程序。 添加参考对象模型 Visual Studio开发环境的支持(S)引用类型libaray。类型库是包含的对象,接口,和其它的对象模型的定义中描述的二进制文件。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
QTP11补丁发布 - 支持32位.NET 4应用程序对象识别 This patch updates your QuickTest installation with fixes for a number of issues found after the release of QuickTest Professional 11.00. The following issues are being addressed in this patch: 1. If the QTP_00699 - Support Testing on 64-Bit Applications (For Specified Technologies) patch was not installed on 64-bit operating systems, all .NET 4.0 controls on 32-bit applications were recognized as SwfObjects. 2. Recovery scenarios did not work in BPT wrapper tests. 3. Run-time errors were displayed if you ran a business component that contained a QCUtil.CurrentTest.Name step. 4. Function libraries that were created from an application area, opened in read-only mode. 5. In Quality Center 10.00, the Parameters of Test dialog box opened when you added QuickTest 11.00 tests to the execution grid. 6. If a QuickTest test called a Service Test test (and both tests were stored in Quality Center), the run results for the Service Test test were not uploaded to Quality Center at the end of the run session. 7. If you renamed a QuickTest action after inserting a call from it to a Service Test test, an error occurred during the run session. 8. QuickTest crashed or an OS blue screen appeared when using a User-Defined / Non-HLLAPI emulator on Windows 7 with Office 2007/2010 installed. 9. You could not view the baseline history for scripted components that were stored in version control-enabled Quality Center projects. 10. In QuickTest, if you tried to delete an application area that was associated with one or more components, QuickTest mistakenly opened a message box asking you to confirm the deletion of the application area instead of informing you that the application area is in use and providing you with further instructions. This occurred only if the application area was moved to a different location in the Quality Center/ALM Test Resources module after a component was associated with it.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值