Hello,
It would be great if in the future release we could have an interceptor
mechanism to test cascading popup windows.
Here is a simple use case:
1. The user click on the About menu
-> the about panel is displayed
2. the user clicks on the "Plug-in details" button
-> the plugin details panel is displyed
3. the user click on the Ok button from the Plug-in details panel
-> the plugin details panel is closed, the about panel
get the focus again
4. then finally he clicks on the Ok button from the About panel
-> the about panel is closed, the workbench get the
focus
Here is what the code could look like:
I have implemented this mechanism and I can provide you with the code if
you are interested.
Note: This mechanism is quite similar to what has been done for swing by
the UISpec4J test framework http://www.uispec4j.org/ with their
WindowInterceptor concept.
Thank you.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse