Validate an object tree

Class library usage, coding and language questions.
Posts: 9
Joined: Tue Sep 03, 2013 5:57 pm

Validate an object tree

Post by Pawel » Wed May 13, 2015 8:47 pm


I am curious as to the most efficient way I can go about validating a tree, specifically it's child/grandchild items and their states. To expand my example, I want to have a method that can take in a parameter or parameters and compare it against the live tree object. I want to also validate the hierarchical structure of the tree I am checking. Is it possible to create an object with Ranorex elements that has a structure to it? Having parent/child items with various states?

Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Validate an object tree

Post by krstcs » Thu May 14, 2015 4:32 pm

Ranorex is build on top of .NET, so anything you can do in .NET can be done in Ranorex. You can create any classes you need and use them in your tests, I do this all the time.
Shortcuts usually aren't...