在桌面应用程序上记录用户操作 - visual studio C# [英] Recording user actions on a desktop application - visual studio C#

查看:101
本文介绍了在桌面应用程序上记录用户操作 - 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆