如何一次扩展整个WINTREEITEM并从中选择子代/节点? [英] How to expand the whole WINTREEITEM at a time and select the child/node from it ?

查看:105
本文介绍了如何一次扩展整个WINTREEITEM并从中选择子代/节点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道通过按*将展开wintreeItem,但必须选择根节点,您能给我代码UI C#中的代码吗?


Arghodip

I know by Pressing * will expand the wintreeItem but have to choose the root node, can you give me the code in Coded UI C#


Arghodip

推荐答案

嗨Arghodip Roy,

Hi Arghodip Roy,

您可以使用自定义代码代替键盘上的"*"在编码的UI测试中.

You could use the custom code instead of the keyboard "*" in coded UI tests.

Keyboard.SendKeys("{8}",ModifierKeys.Shift);

谢谢

杰克


这篇关于如何一次扩展整个WINTREEITEM并从中选择子代/节点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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