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 Fingerhut
Messages: 1
Registered: July 2013
Junior Member
Hi,
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 vD
Messages: 51
Registered: March 2010
Member
Hi
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.
Regards
Arthur
Previous Topic:Swing Gui rendering issue in multiple operatig system
Next Topic:Tri-state Checkboxes
Goto Forum:
  


Current Time: Thu Oct 30 19:05:05 GMT 2014

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

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