Is there a way to list the windows open on the desktop using Ranorex? For our software automation testing, each window is identified uniquely by a label in the status bar, and I will need to flip through all of the open windows until the correct screen is found.
We're coding against the Ranorix .Net library, but could look at a DLL Import call to the Core if it would be possible using that method.
Thanks for any help and for the great library!
Listing Windows?
I implemented the needed functionality only in RanorexCore at the moment, but it's an easy work to support it in the next Version 0.9.2.
The Application class will have a Form collection member. Each element of this collection will represent a top level window as a Form. You can walk through this collection and read the properties of each top level window.
Please contact me, if you need earlier this functionality, i can send you a Ranorex-0.9.2-Alpha1 Version at the beginning of the next week.
Jenö Herget
Ranorex Team
The Application class will have a Form collection member. Each element of this collection will represent a top level window as a Form. You can walk through this collection and read the properties of each top level window.
Please contact me, if you need earlier this functionality, i can send you a Ranorex-0.9.2-Alpha1 Version at the beginning of the next week.
Jenö Herget
Ranorex Team