Update problems [message #537441] |
Wed, 02 June 2010 09:19  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.08474 seconds