如何检测QTP中的控件?

编程入门 行业动态 更新时间:2024-10-23 12:31:07
本文介绍了如何检测QTP中的控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在QTP中使用了CustomControl,当我试图监视控件它将生成以下代码时,

I have used CustomControl in QTP when i try to spy the control it will generate the following code,

自定义控件

SwfWindow("Form1").SwfObject("customControl1").Click 72,49

此外,我已经测试了面板和按钮。请参考以下代码, Panel

SwfWindow("Form1").SwfObject("panel1").Click 72,34

Button

SwfWindow("Button").SwfButton("Button").Click "Button"

如何在HP-QTP中实现类似按钮?

How can i achieve like button in HP-QTP?

提前致谢。

Thanks in advance.

Mohanraj G

Mohanraj G

推荐答案

Hi Mohanraj,

Hi Mohanraj,

此论坛适用于编码的UI测试问题,您正在使用QTP,其最新版本不称为UFT ,您可以在自己的社区中提出这类问题,在那里您将获得更专业和快速的答案。我找到了适合您的论坛:

This forum is for Coded UI testing issues, and you are using QTP, which the latest version is not called UFT, you may ask this kind of issue on it own community, where you will get more professional and quick answer. I found its forum for you:

community.saas.hpe/t5/Functional-Testing-UFT-etc/ct -p / sws-Fun_Test

感谢您的理解。

最好的问候,

Fletcher

更多推荐

如何检测QTP中的控件?

本文发布于:2023-11-08 11:25:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1569238.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控件   QTP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!