Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Can't find TitleAreaDialog
Can't find TitleAreaDialog [message #987026] Thu, 22 November 2012 22:21
AmFreak Missing name is currently offline AmFreak Missing name
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: Fri Aug 01 08:11:44 EDT 2014

Powered by FUDForum. Page generated in 0.01528 seconds