HP QTP-11下编写VB脚本
我仍然是 QTP 的新手(甚至还在学习 GUI),我需要在它下面编写这个 VB 脚本:
编写一个 QTP 脚本:
- 浏览雅虎邮箱
- 如果这是新用户,请执行雅虎注册流程
- 如果是现有用户,则执行登录yahoo邮箱
将新邮件发送到有效邮箱
雅虎邮箱使用英文版。
仅使用一个操作并使用公共子实现代码 程序和独特的数据表 用于测试(不要使用默认值 QTP数据表)
任何指示和/或建议将很乐意接受。
谢谢
I'm still a novice at QTP (still learning even the GUI) and I need to write this VB script under it:
Write a QTP script that:
- Browse to Yahoo mailbox
- Perform registration process to Yahoo if this is a new user
- Perform log in to yahoo mailbox if it is existing user
Send new mail to valid Mailbox
Use English version for the yahoo mailbox.
Use only one action and Implement the code with public sub
procedure and unique Data table
for the test (don't use default
QTP Data table)
Any directions and/or suggestions will be gladley accepted.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简单的记录操作就达到了目的,但是没有使用公共子过程和唯一的数据表。
这就是所谓的有效测试吗?此操作的唯一 VBS 代码是专家视图中的代码吗?
THNX
Well simple Record action did the trick, but there is no use of public sub procedure and unique Data table.
Is that called a valid test ? Is the only VBS code of this action is the code in the Expert view ?
THNX