Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Update problems
Update problems [message #537441] Wed, 02 June 2010 09:19 Go to next message
Geoff Gibbs is currently offline Geoff Gibbs
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 10:13 Go to previous message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
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: Mon Jul 28 16:36:35 EDT 2014

Powered by FUDForum. Page generated in 0.02372 seconds