Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

UI Automation for Delphi application

$
0
0

Hi,

I have been tasked with writing automated tests for a huge legacy application written in Delphi.  I have looked at using UI Automation from a mstest or nunit harness(C#), but have come across a major stumbling block.  When I use UI Spy to look at the delphi application, the Automation ID returned from every control is a arbitrary number. It changes every time the application is launched. 

 

I have been looking at the documentation on MSDN, and I am guessing that this can be rectified by implementing a custom provider.  Any pointers as to how this can be accomplished in Delphi?  We have full access to the source code for the Delphi application.

 

Thanks,

Erling


Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>