Accessing wizard error/warning messages? [message #478978] |
Fri, 07 August 2009 18:48  |
Richard Adams Messages: 77 Registered: July 2009 Location: Edinburgh |
Member |
|
|
Hello,
I am writing some swtbot tests involving wizards and I want to test that
the correct warning/error messages are generated that appear at the top of
the wizard( i.e., those provided by wizPage.setError(message). I've spent
some time trying to loop through text & label widgets without any success,
has anyone come across how to do this?
I access the wizard like this, as a shell:
bot.menu(OPTIMIZE_MENU).menu(REMOTE_OPTIMIZE_SUBMENU).click( ); // handler
launches wizard
bot.shell(RemoteOptimizationHandler.WIZARD_TITLE).activate() ; //
activate wizard
Any help appreciated! Thanks Richard
Dr Richard Adams, University of Edinburgh
http://richardadams606blog.blogspot.com/
http://csbe.bio.ed.ac.uk/adams.php
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01814 seconds