ajay0094 Posted June 28, 2017 Share Posted June 28, 2017 Hi Team, Please help me for clicking the attached highlighted link under the menu. I've written this code, please check : Send("DMSMOCK1","WindowsForms10.Window.8.app.0.378734a") ControlClick("menuStrip1","","WindowsForms10.Window.8.app.0.378734a1") Link to comment Share on other sites More sharing options...
Developers Jos Posted June 28, 2017 Developers Share Posted June 28, 2017 Have you opened the helpfile and checked the syntax for those listen lines of code as they both seem to be wrong? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ajay0094 Posted June 28, 2017 Author Share Posted June 28, 2017 Yes, I tried but didn't get too much information, If you can then please. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 28, 2017 Developers Share Posted June 28, 2017 Well maybe not in detail yet? Your line: ControlClick("menuStrip1","","WindowsForms10.Window.8.app.0.378734a1") Helpfile: ControlClick ( "title", "text", controlID [, button = "left" [, clicks = 1 [, x [, y]]]] ) So : WindowTitle=menuStrip1 Text="" ControlID=WindowsForms10.Window.8.app.0.378734a1 Observations/questions: Picture shows a different title how did you determine the ControlID? is this what au3info shows? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ajay0094 Posted June 28, 2017 Author Share Posted June 28, 2017 yes, attached is the screen shot. But how can i click on third link i.e. DMS integration. Menu strip is for all the menu, not for single tab. BrewManNH 1 Link to comment Share on other sites More sharing options...
junkew Posted June 29, 2017 Share Posted June 29, 2017 see faq 31 in signature below. SimpleSpy will help you partly further FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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