Modify

Opened 15 years ago

Closed 14 years ago

#1955 closed Bug (No Bug)

Unable to select the appropriate option from combo box

Reported by: gigabyte Owned by:
Milestone: Component: AutoIt
Version: 3.3.6.1 Severity: None
Keywords: Cc:

Description

Tried following code
#Include <GuiComboBox.au3>
#include <Constants.au3>
local $hcombo = "[NAME:ctlMsgQueueCombo]"
;Start test executable
Run("Z:\test\Groups\bin\Debug\Test.exe")
Global $hWHandle = WinWaitActive("Test Form", "", 2)
sleep(8000)
controlFocus("", "", "[NAME:ctlQueSelector]")
controlsend("", "", "[NAME:ctlQueSelector]", '2')
ControlCommand("Test Form", "", $hcombo, "ShowDropDown")
ControlCommand("Test Form", "", $hcombo, "SelectString", 'TPA Processor (TPA QWERTYGP Compound) - Qwert00')

but it always selects the first TPA found in the dropdown options instead of matching the exact string

Attachments (0)

Change History (1)

comment:1 by Valik, 14 years ago

Resolution: No Bug
Status: newclosed

Non-standard control (.NET I think). No bug.

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.