Sign in to follow this  
Followers 0
kannank

AutoIt for C# application - menustrip and tabs

2 posts in this topic

Hello,

I've been trying to a automate a custom developed C# application using the class info using "AutoIt V3 window information" and spy++ tools.

"MouseClick()" works fine although i am looking for object (com) based control. I've been able to send click events to command button and textboxes

ControlClick("sapp", "", $buttonclass)

in the C# application i am unable to talk to "menuStrip"

WindowsForms10.Window.8.app.0.378734a
and tabs
WindowsForms10.SysTabControl32.app.0.378734a
. However similar code works for windows calculator and AutoIt generated tabs(_GUICtrlTab_ClickTab.au3)

For starters i dont mind working with hardcoded classIDs...

I have gone through many forum posts and they tend to say that only "standard windows controls" work well.

Has anyone had any luck in controlling objects (file menu, tabs, sliders, comboboxes, checkboxes, picturebox) created using .net3.5 VS2008 C#?

thanks

kannan

Share this post


Link to post
Share on other sites



*bump*

will this even be possible ? or are there any other approaches to object based control?

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