基于Delphi的桌面应用程序的编码UI [英] Coded UI for Delphi based Desktop Application
问题描述
我使用Coded UI来自动化基于Delphi的桌面应用程序。我面临以下障碍。
-
有一个表格网格TDBGridpro(第三方Delphi对象)突出显示 整个网格它无法聚焦表格的各个行。
-
Windows控件类型不是唯一的。我尝试使用开发人员进行检查,源代码具有唯一的控制权,但在使用编码的UI构建器时不会获取。
任何输入/建议都会有很大的帮助。
谢谢,
Shiva Krishna
嗨Krishna1210,
欢迎来到MSDN论坛。
据我所知,Delphi是一种支持创建本机和.NET应用程序的编码语言。而Coded UI测试并不关心编码语言,
但是它与参考下面的文档,没有提到对Delphi和Delphi桌面应用程序的支持。
所以,我建议你可以创建一个代码UI测试项目,然后记录一个测试来检查Code UI是否支持Delphi桌面应用程序。
另外,请 使用Coded UI
Builder中的十字准线在屏幕上找到控件,然后检查其搜索属性。然后,通过它进行编码。
如果它也不能
识别控件,这意味着编码的UI测试不支持Delphi桌面应用程序。
感谢您的理解。
问候,
Judyzh 跨度>
I am using Coded UI to Automation a Delphi based Desktop Application. I am facing the below impediments.
-
There is a table grid TDBGridpro (third Party Delphi object) highlights the entire grid it is unable to focus individual rows of the table grid.
-
Windows control Types are not unique. I tried checking with the Developer there source code has unique control but it is not fetched when using the coded UI Builder.
Any input/suggestion will be of a great help.
Thank you,
Shiva Krishna
Hi Krishna1210,
Welcome to the MSDN forum.
As far as I know, Delphi is a coding language that supports to create both native and .NET application. And Coded UI test does not care the coding language, but it is related to the application itself. Reference following document, there is no mention of support for Delphi and Delphi desktop application.
#Supported Configurations and Platforms for Coded UI Tests and Action Recordings
So, I suggest you could create a code UI test project then record a test to check whether Code UI support the Delphi desktop application.
In addition, please use the cross-hair in Coded UI Builder to locate the controls on screen and then check its search properties. Then, hand coding through it.
If it also could not recognition the control, that means coded UI test not support the Delphi desktop application.
Thanks for your understanding.
Regards,
Judyzh
这篇关于基于Delphi的桌面应用程序的编码UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!