51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 2738|回复: 2
打印 上一主题 下一主题

[讨论] 利用QC与QCclient交互

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2009-6-6 12:08:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
EnvironmentTP9.5,XPP,Vista. 一个运行QC的controller,一个运行QTP/QCClient的host
我们常常需要利用QC控制QTP的运行,不过一般是排好所有case的order后开始运行.
象我们期望做的测试步骤是:自动安装QTP,QC-addin ---->自动初始化环境(自动login,取消resume from standby,prompt password,设置Dcom权限)---->自动测试1---->自动重起系统---->自动测试2----->自动重起------>自动测试3
之前我不知道怎么用qc去控制自动重起,然后等系统正常重起完成后再继续下一个步骤. 后面我发现QC有3种方法来控制:
1. 用VXAPI来指定在client端写vbs, shutdown -r.
有谁有关于vxapi的详细资料?
2. 用systemtest来restart
3. QC有IRemoteAgent可以与client交互,获取当前testtool的状态,比如能不能运行tool,client是否已经连上.
[The object that implements this interface is called RemoteAgent.

The RemoteAgent object is responsible for control of the testing tool and returning status and results to Quality Center.  The remote agent resides on the host machine with the testing tool and uses the DCOM protocol to communicate over the network with the host machine on which Quality Center resides.

In addition to the required methods, your implementation can use the Quality Center Open Test Architecture API to write results to the project database.]
不知道有哪些人涉及到这些了的,请出来聊聊
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2009-6-8 11:29:43 | 只看该作者

自己顶

自己顶
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2009-6-8 22:47:43 | 只看该作者
VAPI资料比较少,不过比较简单,你写一个手工案例,转换成VAPI案例就能明白是怎么回事了。

看你的需求,用system test应该更合适。
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-5-21 20:48 , Processed in 0.072197 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表