MS UI 自动化无法在第 3 方 ERP 应用程序上运行
我正在尝试将 MVC 2 项目与第三方 Win32 .exe ERP 系统集成。我正在尝试从 MVC 应用程序中抓取数据并将数据推送到 ERP 客户端。 MVC前端比ERP客户端更加稳定和用户友好。我不知道 ERP 客户端是用什么语言编写的,只知道它是一个在 Unix 机器上运行的客户端-服务器应用程序,并使用几乎过时的后端数据库 (Pick)。
我使用 MS UI Automation 来加载 ERP 客户端的流程,但它找到的唯一元素是标准窗口元素(标题栏、上下文菜单、最小化、最大化、关闭)。客户端 ERP 加载了文本框、按钮、选择列表......但 UI 自动化无法识别其中任何一个。
谁能深入了解为什么控件无法识别,以及我如何解决这个问题?
(这会更有帮助)有人可以推荐一个开源的中型 ERP 系统吗?
谢谢!
I'm trying to integrate an MVC 2 project with a 3rd-party Win32 .exe ERP system. I'm trying to field scrape from the MVC App and push the data to the ERP client. The MVC front-end is much more stable and user-friendly than the ERP client. I don't know what language the ERP client was written in, only that it is a client-server app that runs on a Unix box, and uses an all but obselete back-end database (Pick).
I've used MS UI Automation to load the process of the ERP client, but the only elements it is finding are the standard window elements (Title Bar, Context Menu, Minimize, Maximize, Close). The client ERP is loaded with text boxes, buttons, pick lists...but UI Automation doesn't recognize any of them.
Can anyone give some insight into why the controls aren't recognized, and how I might work around that?
(And this would be even more helpful) Can anyone recommend an open-source, mid-sized ERP system?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
UI 控件很可能没有窗口句柄。 Visual Foxpro 应用程序也有同样的问题。它们是自定义控件,不使用带有窗口句柄的底层操作系统控件。
至于开源 ERP,请查看 http://www.xtuple.com/
It is quite possible that the UI controls do not have window handles. Visual Foxpro applications had the same issue. They were custom controls that did not use the underlying OS controls with Window handles.
As far as Open Source ERP, take a look at http://www.xtuple.com/