开发者

Tool to capture every event details from other applications

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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜