Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Open Forms list?(How to determine what forms are open within UIIntegration Tests)
Open Forms list? [message #1072260] Mon, 22 July 2013 12:08 Go to next message
Mike Fingerhut is currently offline Mike FingerhutFriend
Messages: 1
Registered: July 2013
Junior Member
I'want to write a UIIntegration test in wich a certain Class determines, if a certain Form has to be opened or not.
The form will not be opened directly within the Test-Code, but rather by a method of that Class.
Therefore I dont have any instance of the form available in the test code.

Is there a way to get a list of all, currently open form instances, within Scout?

cheers, Mike
Re: Open Forms list? [message #1072306 is a reply to message #1072260] Mon, 22 July 2013 13:50 Go to previous message
Arthur vD is currently offline Arthur vDFriend
Messages: 52
Registered: March 2010
You can call findForm or findForms on org.eclipse.scout.rt.client.ui.desktop.AbstractDesktop instances. You would still have to check whether the form is open or not. I'm not entirely sure whether you somehow can have forms which don't belong to a desktop though.
Previous Topic:Swing Gui rendering issue in multiple operatig system
Next Topic:Tri-state Checkboxes
Goto Forum:

Current Time: Mon Apr 23 00:19:17 GMT 2018

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

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