shrutim Posted May 8, 2018 Share Posted May 8, 2018 Hi , I am new to AutoIt and I have some similar kind of issue, I need to check in a particular grid is there any data , if the data exists select the data and delete it. The data , I am not able to get from Auto Info tool. Here is the summary of the AutoIt info Tool- >>> Window <<<< Title: P99SMOKE - [Smoke Test Find/Browse Entry Point Form] Class: Afx:6EE00000:3:00010003:0110005E:0EDB03BF Position: 355, 128 Size: 1200, 625 Style: 0x14CF0000 ExStyle: 0x00000100 Handle: 0x00000000003204FC >>>> Control <<<< Class: GXWND Instance: 2 ClassnameNN: GXWND2 Name: Advanced (Class): [CLASS:GXWND; INSTANCE:2] ID: 1001 Text: Position: 13, 148 Size: 1151, 388 ControlClick Coords: 581, 68 Style: 0x50910000 ExStyle: 0x00000000 Handle: 0x00000000003B0478 >>>> Mouse <<<< Position: 957, 394 Cursor ID: 0 Color: 0x000000 >>>> StatusBar <<<< 1: 2: 3: 4: >>>> ToolsBar <<<< >>>> Visible Text <<<< Smoke Test Find/Browse Entry Point Form Smoke Test Find/Browse Entry Point Form 100.000000 The Processing Option Text that was entered was: JD Edwards EnterpriseOne Errors & Warnings Exit Bar >>>> Hidden Text <<<< More Options 123 Stop JD Edwards EnterpriseOne Errors & Warnings Exit Bar Tools Form Row Report I need to check for 123 data which is hidden Text. Attaching the screenshot. In the screenshot displayed there is a data 123 which i need to get and then select it and delete. Link to comment Share on other sites More sharing options...
jdelaney Posted May 8, 2018 Share Posted May 8, 2018 (edited) That's a custom control. we had the same type at a prior company. at first, I'd have to select a row (click the middle of the grid, send HOME key), copy to buffer (ctrl+c), and then split the data..if the correct row was not selected, send down arrow and try again. later, the developers provided me a dll to call to allow me to get the data, but that required custom c++ code that I never was able to look into. Edited May 8, 2018 by jdelaney 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 May 8, 2018 Share Posted May 8, 2018 try https://www.autoitscript.com/wiki/FAQ question 31 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...
xCROv Posted May 8, 2018 Share Posted May 8, 2018 If that cell is always black like that you could check out some of the several UDF's for image recognition. Another suggestion would be maybe trying to use TAB presses to navigate through the menus on that screen and see if you can get to that menu. 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