Modify

Opened 7 years ago

Closed 7 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 7 years ago.
Screenshot of the window

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by sarmistha

Screenshot of the window

comment:1 Changed 7 years ago by TicketCleanup

  • Version 3.3.8.1 deleted

Automatic ticket cleanup.

comment:2 Changed 7 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

That's nice.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.