Modify

Opened 14 years ago

Closed 14 years ago

#2236 closed Feature Request (Rejected)

GUI Automation support for 3rd party Grid control

Reported by: mailrythem@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

Hi,
I need to automate a grid control which is developed by a third party component .
I am using the follwing code to get the items from grid.
controlgethandle is getting me the control id but _GUICtrlListView_GetItemCount returns Null

$hCtrl = ControlGetHandle("XY Calibration Setup", "", "[NAME:m_ultraGrid]")
$sMsg &= @TAB & "Handle= = " & $hCtrl & @CRLF

$Finditem = _GUICtrlListView_GetItemCount($hCtrl)


$sMsg &= @TAB & "ITEM= " & $Finditem & @CRLF

ConsoleWrite($sMsg)

Follwing property I got from AutoIT window info.

Window <<<<

Title: XY Calibration Setup
Class: #32770
Position: 262, 101
Size: 852, 678
Style: 0x94C800E4
ExStyle: 0x00010101
Handle: 0x00000000003D195E

Control <<<<

Class: WindowsForms10.window.8.app.0.1748312_r29_ad1
Instance: 2
ClassnameNN: WindowsForms10.window.8.app.0.1748312_r29_ad12
Name: m_ultraGrid
Advanced (Class): [NAME:m_ultraGrid]
ID: 3148888
Text:
Position: 80, 189
Size: 402, 342
ControlClick Coords: 128, 151
Style: 0x56010000
ExStyle: 0x00000000
Handle: 0x0000000000300C58

Attachments (1)

Grid.png (29.2 KB ) - added by sarmistha 14 years ago.
Screenshot of the window

Download all attachments as: .zip

Change History (3)

by sarmistha, 14 years ago

Attachment: Grid.png added

Screenshot of the window

comment:1 by TicketCleanup, 14 years ago

Version: 3.3.8.1

Automatic ticket cleanup.

comment:2 by Valik, 14 years ago

Resolution: Rejected
Status: newclosed

That's nice.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.