Modify

Opened 13 years ago

Closed 13 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 Changed 13 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

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

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.