Shriram Posted December 15, 2014 Share Posted December 15, 2014 Hi All, I am new to AutoIt. Need help in following IssueIssue : I am trying to automate .Net application where for some buttons & Menu bars, Objects properties ( Like Control Properties) are same for the whole Menu bar but Menubar is having multiple buttons. As of now in my script i am clicking buttons by Mouse Co ordinations ( Which is not right approach). What is the other way to progress? Please help in this issue. Thanks, Shriram Link to comment Share on other sites More sharing options...
TheSaint Posted December 15, 2014 Share Posted December 15, 2014 Have you checked out whether the individual buttons have a separate 'instance' number? The Help file explains it probably better than I can, about the different elements, like 'instance'. Check the Controls section of the Using AutoIt section of the Help file. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Michiel Posted December 15, 2014 Share Posted December 15, 2014 (edited) As far as I know (I've been dealing with a VB.NET application for a few weeks now) .. it works only partially. AutoIt only supports 'native' Windows controls. However, there is IUIAutomation... '?do=embed' frameborder='0' data-embedContent>> It's complex but it works. Perhaps go over this thread if you want to read about my trials & tribulations with a .NET application and some useful tips I got: '?do=embed' frameborder='0' data-embedContent>> Also, if all else fails, there is useful discussion here:http://stackoverflow.com/questions/5562559/looking-for-a-gui-automation-framework-that-works-with-net-winformsAlso, make sure you run the AutoIt Window Info Tool as Administrator, or you will miss important information. Edited December 15, 2014 by Michiel Link to comment Share on other sites More sharing options...
Shriram Posted December 18, 2014 Author Share Posted December 18, 2014 @TheSaint : Yes i checked, instances are same for all cases. @ Michiel : I dont have admin rights hence not running tool as administration. Does it really important? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now