访问VB6应用程序中的标签 [英] Accessing labels in VB6 applications

查看:101
本文介绍了访问VB6应用程序中的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为传统的VB6应用程序编写CodedUI测试,但是我在获取标签中包含的值时遇到了问题。我知道VB6中的标签控件是轻量级控件,没有自己的句柄,所以它们不会显示在UISpy或
Inspect工具中。但是,其他测试自动化工具(QTP和Rationale)能够从VB6应用程序中获取标签的值,因此必须有某种方法来获取这些值。这些其他工具用于访问VB6标签中的值是什么。

I am writing CodedUI tests for a legacy VB6 application and I am having issues getting the values contained in labels. I am aware that label controls in VB6 were lightweight controls and didn't have their own handles so they don't show up in UISpy or the Inspect tool. However other test automation tools (QTP and Rationale) are able to get the values of labels from VB6 applications so there must be some way to get these values. What are these other tools using to access the values in VB6 labels.

推荐答案

Hello James,zh
  ;

感谢您的提问。

Hello James,
 
Thank you for your question.

我试图让熟悉这个话题的人参与进一步研究这个问题。可能会有一些时间延迟。


感谢您的耐心。

I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay.
Appreciate your patience.


这篇关于访问VB6应用程序中的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆