Page 1 of 1

Validate an object tree

Posted: Wed May 13, 2015 8:47 pm
by Pawel
Hello,

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?

Re: Validate an object tree

Posted: Thu May 14, 2015 4:32 pm
by krstcs
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.