在桌面应用程序上记录用户操作 - visual studio C# [英] Recording user actions on a desktop application - visual studio C#
问题描述
大家好,
我正在尝试构建一个能够在用户盘旋时识别桌面应用程序元素的工具,并记录用户操作以及元素属性。
我不知道从哪里开始。有人可以指导我可以使用哪些API等有助于记录操作。
到目前为止,我用google搜索并发现Inspect.exe用于识别元素。它是否也适用于桌面应用程序?
注意 - 我不是在寻找任何自动化测试像Coded UI等工具有一个内置选项来记录和识别元素。
谢谢。
我的尝试:
无代码。因为我不知道从哪里开始。
Quote:我不知道从哪里开始。
然后可能是你没有这种挑战的经验。但是,您可以首先查看 Windows Hooks [ ^ ],它允许您拦截通过系统传递的消息
Hi All,
I am trying to build a tool which is capable of identifying the desktop application elements when hovered by user and record the user actions along with the element properties.
I have no ideas where to start from. Could someone please guide me on which API etc can be used which helps in recording actions.
So far, I have googled and found Inspect.exe to be used for identifying elements. Does it works for desktop applications as well?
Note - I am not looking for any automation testing tools like Coded UI etc which have an inbuilt option to record and identify elements.
Thank You.
What I have tried:
No Code. As I don't know where to start from.
Quote:I don't know where to start from.
Then it may be that you do not have the experience for such a challenge. However, you could start by looking into Windows Hooks[^], which allow you to intercept messages being passed through the system.
这篇关于在桌面应用程序上记录用户操作 - visual studio C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!