无法在编码的UI中获取WinText的工具提示 [英] Unable to get tooltip for WinText in coded UI

查看:59
本文介绍了无法在编码的UI中获取WinText的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取WinText控件的工具提示。

I am trying to get the tooltip for a WinText control.

Mouse.Hover(winTxt);  

Mouse.Hover(winTxt);  

以上行显示UI上的工具提示。但HelpText,DisplayText和ToolTipText是空白的。请让我知道这个程序。

Above line displays tooltip on UI. But HelpText, DisplayText and ToolTipText are blank. Please let me know the procedure.

问候,

Jwalapathi

Jwalapathi

推荐答案

嗨Jwalapathi,

Hi Jwalapat

>>但HelpText,DisplayText和ToolTipText是空白的。

那么控件是否具有这些属性的值?例如请使用十字准线工具捕获控件的属性并检查:

So does the control has the value of these properties? e.g. please use the cross-hair tool to capture the control's properties and check:

从上面你可以看到  HelpText 的值为空。

from above you could see that the value of HelpText is empty.

祝你好运,

Fletcher

这篇关于无法在编码的UI中获取WinText的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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