Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Not able to detect Combo box with org.eclipse.jface.fieldassist.SimpleContentProposalProvider
Not able to detect Combo box with org.eclipse.jface.fieldassist.SimpleContentProposalProvider [message #1707751] Wed, 09 September 2015 06:17 Go to next message
jyoti talele is currently offline jyoti taleleFriend
Messages: 1
Registered: September 2015
Junior Member
geting below error for the combo box with org.eclipse.jface.fieldassist.SimpleContentProposalProvider


org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find widget.
at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntilWidgetAppears(SWTBotFactory.java:348)
at org.eclipse.swtbot.swt.finder.SWTBotFactory.widget(SWTBotFactory.java:308)
at org.eclipse.swtbot.swt.finder.SWTBotFactory.widget(SWTBotFactory.java:317)
at

Not able to detect combo.

I tried with bot.comboBoxWithLabel("Type Info")
Re: Not able to detect Combo box with org.eclipse.jface.fieldassist.SimpleContentProposalProvider [message #1717452 is a reply to message #1707751] Mon, 14 December 2015 06:46 Go to previous message
Pawan Relan is currently offline Pawan RelanFriend
Messages: 9
Registered: July 2013
Junior Member
Hi

Try below lines :

SWTWorkbenchBot bot = new SWTWorkbenchBot();
SWTBotCombo combobox =bot.comboBox(index)
combobox.setSelection(ValueToSelect);

Kindly send the snapshot of the Combo box you are trying to click ..!!



Thanks and Regards,
Pawan Relan
Previous Topic:How to Access a Tree inside a CTab?
Next Topic:Testing a dialog with Browse button > DirectoryDialog
Goto Forum:
  


Current Time: Tue Mar 19 05:24:19 GMT 2024

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

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

Back to the top