|Re: Issues regarding an AUT SWT is that toggles to Swing [message #813923 is a reply to message #813898]
||Mon, 05 March 2012 21:16
| Alexandra Schladebeck
Registered: July 2009
For the toggling directly in the same application, I'm not sure that it will be possible. We don't have support for the SWT/AWT bridge (more on this in this thread). The other use case sounded promising at first because Jubula can test applications that are started by other applications during the test. However, when I went looking for the link to the documentation, I found the hint that the AUTs must both be of the same toolkit (the link is here).
You are right, in essence, that the concrete toolkit would be the correct one for testing both Swing and SWT, but I doubt whether both toolkits can be dealt with in the same test using the current version. In different, separate test suites there should be no problem. Perhaps for the second use case (where the AUT is separate), you could write completely separate test suites to test the different AUTs and start the Swing AUT in another way (i.e. not from within the SWT one) for the sake of testability. Just a suggestion...
Hope that helps,
Powered by FUDForum
. Page generated in 0.01841 seconds