首页 文章

从另一个应用程序中运行的FarPoint Spread控件获取数据

提问于
浏览
2

我正在尝试使用Microsoft UI Automation框架在C#中编写应用程序 . 要控制的应用程序使用名为“FarPoint Spread”的组件 . 它很容易自动化应用程序的其余部分(例如它的WinForms控件),但我似乎无法对FarPoint Spread控件做任何事情 .

在编程方面,我仍然非常环保 . 我已经掌握了C#和UI自动化的基础知识 . 只需要有人指出我需要的信息来自动化这个Spread组件(如果可能的话) . 谢谢!

1 回答

  • 0

    问题是Spread中的网格渲染可能是使用自定义代码编写的,并且它没有配备UI Automation所期望的 .

    我在这里测试了GrapeCity提供的Sample Explorer(http://spread.grapecity.com/Pages/Demos/),其中UI Automation 's Inspect tool, and once you get to the data grid itself, there's在Inspect中没有显示 .

    有's also this topic in GrapeCity'的论坛:Is Spread even supported in coded UI test明确指出(2年前)它不受支持(因为你知道VS Coded UI也使用UI Automation作为底层技术) .

    所以,我想使用UI自动化自动化Spread是不可能的(也许他们有自己的系统,你必须联系他们) .

相关问题