Question

Is it possible to create a Windows application to capture all event details (control type,event type,window etc) triggered from different types of applications (winform, wpf, silverlight, etc)

I tried the "record" tool in "white framework".

http://white.codeplex.com/wikipage?title=Recorder&referringTitle=Home But this tool is not detecting every events in my application.Iam looking for developing similar kind of application.

If it is possible please give some guidance.I need this for automating the testing of some applications. Thanks.

Was it helpful?

Solution

It depends on the application you want to automate. If it's Win32, WinForms or WPF you might look at Windows UI Automation.

Also it depends on what kind of events your are talking about. Which event is missing from the White recording tool?

Update: The best Tool to see/discover the kind of UI Automation events you can record from a third party application is Inspect.exe (formerly called UISpy.exe).

In there you can record actions/events and browse through the element tree with all available properties. My experience is: if you can't see it there, you can't automate it with UI Automation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top