Jump to content

Setting custom Class NN/Control ID from the Windows Application (using C)


Recommended Posts

*Spawning a new thread to avoid reopening an Answered question

____________________________________________________________________________

Might be a lil greedy here, but I would like to know if this is doable:

So now i'm able to access elements within the group...so i have class NN like Button21, Button22, Button23, Static36, Static37,Static 38 etc. I understand that this is Windows driven. Now, assuming i have access to modify the code of the application, Is there anyway i can add hooks to the application code such that i can get custom Class NNs like "ButtonAdd", "ButtonEdit", "ButtonDel", "TextSum", "TextDiff" and so on.

If the answer is yes, what fields must be set in the Application code (developed in C) with standard Windows Controls using Visual Studio..

I'm sure there should be some application developers in here who use AutoIT to test their code.

Edited by tester123
Link to comment
Share on other sites

Is there a direct equivalent to "setAccessibilityIdenitifier" (used in XCode's UIAutomation for iPhone/iPad apps)? Directly setting at a lower level instead of using Xaml libraries or implementing UI Automation COM classes?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...