Aniruddh0704 Posted August 16, 2018 Share Posted August 16, 2018 Hello Team , I am facing issue to identify button present inside table and we are not able to perform action on it , but we are able to click button with mouse point location. Team , could anyone provide solution for permanent fix because location of button may vary on day to day. Please provide solution as soon as possible. Thanks Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 16, 2018 Moderators Share Posted August 16, 2018 Moved to the appropriate forum. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 16, 2018 Moderators Share Posted August 16, 2018 @Aniruddh0704 you simply have to provide more information; no one here is a mind reader. What application are you trying to automate? What have you tried on your own? What does the AutoIt Window Info Tool (in the same directory where you installed AutoIt) show about the button you try to automate? Help us help you "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Aniruddh0704 Posted August 16, 2018 Author Share Posted August 16, 2018 Hello JLogan , Please find below details What application are you trying to automate?: We are trying to automate windows based application What have you tried on your own? : Please find screen shot in attachment, Solution.PNG What does the AutoIt Window Info Tool (in the same directory where you installed AutoIt) show about the button you try to automate? >>>> Window <<<< Title: Route Class: WindowsForms10.Window.8.app.0.2ca5f28_r29_ad1 Position: 182, 46 Size: 1000, 632 Style: 0x16CA0000 ExStyle: 0x00050101 Handle: 0x00000000000902EC >>>> Control <<<< Class: WindowsForms10.Window.8.app.0.2ca5f28_r29_ad1 Instance: 16 ClassnameNN: WindowsForms10.Window.8.app.0.2ca5f28_r29_ad116 Name: dvRoute Advanced (Class): [NAME:dvRoute] ID: 591210 Text: Position: 14, 220 Size: 977, 291 ControlClick Coords: 725, 72 Style: 0x56010000 ExStyle: 0x00000000 Handle: 0x000000000009056A >>>> Mouse <<<< Position: 924, 360 Cursor ID: 0 Color: 0x000000 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< 91023 Route ID: MenuStrip1 Thu, 16 Aug 2018 Sunday, August 12, 2018 - Saturday, August 18, 2018 Select a Week: Route Detail >>>> Hidden Text <<<< Finalize Route Sun, 12 Aug 2018 Mon, 13 Aug 2018 Tue, 14 Aug 2018 Wed, 15 Aug 2018 Fri, 17 Aug 2018 Sat, 18 Aug 2018 Please find screen shot of table in attachment , We are trying to click on Start Button : Link to comment Share on other sites More sharing options...
jdelaney Posted August 16, 2018 Share Posted August 16, 2018 Fyi, when you specify text in controlclick, that's only used to help identify the control. controlclick will always click on the center of the control unless you specify x y coords. that being said, that control is probably going to be hard to automate out of the box with autoit...try iui udf. someone will probably come in and link it. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
junkew Posted August 16, 2018 Share Posted August 16, 2018 Faq31 and simplespy can tell you if ms iuiautomation can identify and click. In general i think it can. 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