Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Update problems
Update problems [message #537441] Wed, 02 June 2010 13:19 Go to next message
Geoff Gibbs is currently offline Geoff GibbsFriend
Messages: 2
Registered: July 2009
Junior Member
I have been attempting to update some old code based on SWTBot 1.3.0.1087 to 2.0.0.568. Most of what I have done seems to have gone OK, but for some reason calls to bot.textWithLabel() that used to work now produce WidgetNotFoundExceptions, has something changed in the way this method should be used?
If I use just bot.text() with the correct index then the control is found and if I use bot.label() with the label text, that is found too.
Re: Update problems [message #537462 is a reply to message #537441] Wed, 02 June 2010 14:13 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
I recall something has changed in the withLabel matcher between 1.x and
2.0, but don't remember the specifics.

Could you turn up logging for the matchers ? See the FAQ for information
on turning on logging.

--
Ketan
http://ketan.padegaonkar.name | http://eclipse.org/swtbot

On 6/2/10 6:49 PM, Geoff Gibbs wrote:
> I have been attempting to update some old code based on SWTBot
> 1.3.0.1087 to 2.0.0.568. Most of what I have done seems to have gone OK,
> but for some reason calls to bot.textWithLabel() that used to work now
> produce WidgetNotFoundExceptions, has something changed in the way this
> method should be used?
> If I use just bot.text() with the correct index then the control is
> found and if I use bot.label() with the label text, that is found too.
Previous Topic:SWTBot and log4j 1.2.15
Next Topic:Not able to access Context Menu for tree
Goto Forum:
  


Current Time: Thu Apr 18 06:54:06 GMT 2024

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

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

Back to the top