访问WPF网格内的对象 [英] Access objects inside a WPF grid

查看:75
本文介绍了访问WPF网格内的对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序-.Net桌面 工具-UFT 12.5

Application - .Net desktop Tool - UFT 12.5

UFT能够识别WPF网格,但不能识别单元格中存在的任何对象,如checbox,文本框.如何获取此类对象的参考以对它们执行任何操作?

UFT is able to identify WPF grid but not any object like checbox, textbox present in cells. How to get reference for such objects to perform any operation on them??

推荐答案

您还没有提到要自动化的应用程序类型.

You have not mentioned the type of application you are automating.

如果要在网格内执行的操作很简单,请使用UFT中的"Insight"功能.

Please use the 'Insight' feature in UFT if the operations to perform inside the grid is simple.

这篇关于访问WPF网格内的对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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