HP QTP-11下编写VB脚本

发布于 2024-09-25 05:32:31 字数 386 浏览 0 评论 0原文

我仍然是 QTP 的新手(甚至还在学习 GUI),我需要在它下面编写这个 VB 脚本:

编写一个 QTP 脚本:

  1. 浏览雅虎邮箱
  2. 如果这是新用户,请执行雅虎注册流程
  3. 如果是现有用户,则执行登录yahoo邮箱
  4. 将新邮件发送到有效邮箱

    • 雅虎邮箱使用英文版。

    • 仅使用一个操作并使用公共子实现代码 程序和独特的数据表 用于测试(不要使用默认值 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:

  1. Browse to Yahoo mailbox
  2. Perform registration process to Yahoo if this is a new user
  3. Perform log in to yahoo mailbox if it is existing user
  4. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

(り薆情海 2024-10-02 05:32:31

简单的记录操作就达到了目的,但是没有使用公共子过程和唯一的数据表。

这就是所谓的有效测试吗?此操作的唯一 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 ?

alt text

THNX

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文