Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Virtual lists in Combo (test selection of virtual list item in a combo)
Virtual lists in Combo [message #492612] Wed, 21 October 2009 01:36 Go to next message
Eclipse UserFriend
When a combo box list is generated at pull-down, as is apparently being done in a Dialog box in the RSE, the setSelection in the attempted test below fails, even though the string is among the generated items in the list. The problem is that the list doesn't get generated during the setSelection call. Is there a standard way this should be handled?

SWTBotCombo systemCombo = bot.comboBoxWithLabel("System type:");
systemCombo.setSelection("SC8517");
Re: Virtual lists in Combo [message #492813 is a reply to message #492612] Wed, 21 October 2009 15:58 Go to previous message
Eclipse UserFriend
I did further debug and found that the underlying widget was not a Combo (even though it looked like a Combo). The comboBoxWithLabel call did find some Combo, but it wasn't the one I expected, and it had no list yet.

So, this isn't caused by a virtual list creation, as I had expected from the initial debug.

Previous Topic:Re: [swtbot-dev] Workaround for Native Dialogs
Next Topic:Support to click tree table cell, proposal
Goto Forum:
  


Current Time: Mon Jun 23 15:57:21 EDT 2025

Powered by FUDForum. Page generated in 0.02705 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top