Sign in to follow this  
Followers 0
Guest bburchfiel

Problems with Control ID/ClassNameNN

3 posts in this topic

I am a new AutoIt user, but an experienced programmer (and a frustrated one now! :) ) Hopefully someone can help.

I have written a VB.NET application and compiled it into an EXE. Now I want to automate the testing of that application on different machines using AutoIt.

On my first 2 machines, my script failed to run. It turns out that AU3INFO shows different Control IDs for the same field, and different ClassNameNNs as well. For example, a button that I need to click has the following properties on one machine:

Control ID: 4852174

ClassNameNN: WindowsForms10.BUTTON.app422

but the following on the other:

Control ID: 1377034

ClassNameNN: WindowsForms10.BUTTON.app622

Needless to say, this disconnect makes it difficult to call ControlClick.

This seems like a very basic problem, so hopefully I have just misconfigured something or made some other simple mistake. Please help me see the error of my ways!

Thanks,

Brian

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

.Net Applications are not supported by ControlID. That is exactly what happens.

Edited by this-is-me

Who else would I be?

Share this post


Link to post
Share on other sites

.Net Applications are not supported by ControlID. That is exactly what happens.

<{POST_SNAPBACK}>

This is not good news. What are my other options?

Is there some way to make AutoIt work for me on different machines (like loading the classnamenn values from an INI file)?

Or is there a better automation tool for vb.net?

Any help would be appreciated!

Brian

Share this post


Link to post
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
Sign in to follow this  
Followers 0