Rakesh1 Posted October 21, 2021 Share Posted October 21, 2021 AutoIT is not able to read text inside TGroupbox ClassnameNN: TGroupBox4 Name: Advanced (Class): [CLASS:TGroupBox; INSTANCE:4] ID: 134414 Text: Convertible Bond Position: 0, 309 Size: 423, 159 ControlClick Coords: 270, 104 Style: 0x56000000 ExStyle: 0x00010000 Handle: 0x00020D0E Even in visible text or hidden text tab text is not showing up although TGroupBox contains that text Link to comment Share on other sites More sharing options...
Zedna Posted October 21, 2021 Share Posted October 21, 2021 And your AU3 code? Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
ad777 Posted December 18, 2021 Share Posted December 18, 2021 (edited) Try this: local $Text = ControlGetText("Your Title","","TGroupBox4") MsgBox(64,"",$Text) local $Text2 = ControlGetText("Your Title","","[CLASS:TGroupBox;INSTANCE:4]") MsgBox(64,"",$Text2) local $Text3 = ControlGetText("Your Title","Convertible Bond","TGroupBox4") MsgBox(64,"",$Text3) local $Text4 = ControlGetText("Your Title","Convertible Bond","[CLASS:TGroupBox;INSTANCE:4]") MsgBox(64,"",$Text4) And If Didn't Work Try This: local $Text = ControlGetText("[CLASS:CLASS Name]","","TGroupBox4") MsgBox(64,"",$Text) local $Text2 = ControlGetText("[CLASS:CLASS Name]","","[CLASS:TGroupBox;INSTANCE:4]") MsgBox(64,"",$Text2) local $Text3 = ControlGetText("[CLASS:CLASS Name]","Convertible Bond","TGroupBox4") MsgBox(64,"",$Text3) local $Text4 = ControlGetText("[CLASS:CLASS Name]","Convertible Bond","[CLASS:TGroupBox;INSTANCE:4]") MsgBox(64,"",$Text4) Edited December 18, 2021 by ad777 iam ِAutoit programmer. best thing in life is to use your Brain to Achieve everything you want. Link to comment Share on other sites More sharing options...
Danp2 Posted December 18, 2021 Share Posted December 18, 2021 TGroupBox is typically a Delphi control, and these don't usually work with standard Autoit commands like ControlGetText. You may want review this prior thread -- Latest Webdriver UDF Release Webdriver Wiki FAQs 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