Page 1 of 1

Getting all objects in AUT

Posted: Thu Nov 17, 2011 3:23 pm
by acost
Is there a way to find all objects inside your AUT without having to manually keep adding all the different forms and containers.

I know you can add single parent forms inc children but I want to just add everything in one go; is it possible?

Thanks

Re: Getting all objects in AUT

Posted: Thu Nov 17, 2011 3:59 pm
by Support Team
Hi,

Yes, you can get all available elements in one go, just right click in Spy on the root element of your AUT and select "Expand ALL" or "Add to Repository (incl. Children)".

Regards,
Markus
Ranorex Support Team

Re: Getting all objects in AUT

Posted: Thu Nov 17, 2011 4:18 pm
by acost
Yeah I did that already. I meant add everything, including non-visible forms and other visual objects that are not visible at time of tracking but still contained in the binary.

Do you mean that i need to add the AUT binary to Spy somehow? so far, i've only been able to track different forms inside the AUT and not the binary as a whole.

Re: Getting all objects in AUT

Posted: Thu Nov 17, 2011 4:33 pm
by Support Team
Hi,
Do you mean that i need to add the AUT binary to Spy somehow?
No, this is not possible, we do not fetch the elements from a binary, we detect the shown elements on the screen, so it is not possible to detect ALL your elements in one go.
If you record your test steps with the Ranorex Studio the repository automatically includes all the needed elements.

Regards,
Markus
Ranorex Support Team

Re: Getting all objects in AUT

Posted: Thu Nov 17, 2011 4:39 pm
by acost
Oh that's a shame :(

Well i guess i'll have to do it the old fashioned way.

Thanks for your prompt support Markus