Page 1 of 1

how to get the open windows using ranorex

Posted: Sat May 30, 2009 1:37 pm
by sunitha
i want to get all active forms in Os & activate mine from them..

How can i get them?

Posted: Mon Jun 01, 2009 4:07 pm
by Ciege
If you don't know the name of the form you want to activate you can try this to get all open forms and iterate through them:

Code: Select all

IList<Ranorex.Form> allForms = Host.Local.FindChildren<Ranorex.Form>();
foreach (Ranorex.Form HDForm in allForms)

Posted: Mon Jun 01, 2009 6:28 pm
by Ciege
Just a follow-up... You should probably post questions like this in the General Questions forum and not the Bug Reports forum...