Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Can't find TitleAreaDialog
Can't find TitleAreaDialog [message #987026] Fri, 23 November 2012 03:21
AmFreak Missing name is currently offline AmFreak Missing nameFriend
Messages: 25
Registered: June 2011
Junior Member
Hi,

i tried to test a TitleAreaDialog like this (RCP app):

 bot.menu("new").click();
 bot.shell("dialogTitle").activate();
 bot.waitUntil(Conditions.shellIsActive("dialogTitle"));


i get this exception then:

org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find widget.
Caused by: org.eclipse.swtbot.swt.finder.widgets.TimeoutException: Timeout after: 5000 ms.: Could not find shell matching: with text 'a'
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:398)


if i change the dialog to an InputDialog everything works fine :/
Previous Topic:Jenkins xvnc for windows
Next Topic:wizard and splash logon before an app runs
Goto Forum:
  


Current Time: Sun Nov 23 21:32:11 GMT 2014

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

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