Quintiq file version 2.0 #parent: #root Method GetFormProperties (String formname, output String title_o, output Key form_key_o) id:Method_GlobalStateTestGenerator_GetFormProperties { #keys: '[142876.9.202774578]' Body: [* if( formname <> '' and GlobalStateTestGenerator.NotExcludedForm( formname ) ) { info( ">>>>> GetFormProperties: formname=", formname ); form_type := ApplicationScope.ResolveType( formname, true ); if( form_type.IsDerivedFrom( typeof( Form ) ) ) { frm_new := construct( Form, form_type ); title_o := frm_new.Title(); form_key_o := frm_new.Key(); } else { dlg_new := construct( Dialog, formname ); title_o := dlg_new.Title(); form_key_o := dlg_new.Key(); } } *] }