Feature Request: Add X to repository (including children)

Ranorex Spy, Recorder, and Studio.
rjeffries
Posts: 2
Joined: Mon Mar 30, 2015 2:13 pm

Feature Request: Add X to repository (including children)

Post by rjeffries » Fri Oct 30, 2015 2:45 pm

I've been lurking around for about 7 months learning Ranorex. It is a solid tool. Something I have found useful is the Spy's ability to add items and their children to the repository. However, when doing this, every single element is parsed. You're well aware of how everything is nested within divs with corresponding labels and the like.

The majority of the time I only care about elements that need to be interacted with (inputs, links and buttons being the most common). Often is the case that within a single area hundreds of items are identified which then takes significant time to add to the repository. For example a form on a page within a modal, only adding that area, has 400+ elements taking 5 minutes.

Once that is complete even more time is needed to weed out what I would imagine most of us care about... the items that we would actually be interacting with (form inputs, drop downs, buttons, etc).

The feature I would like to see incorporated is, within Spy while viewing an element, an additional menu option to the "Add Elements to Repo (including children)" for adding to the repository that is specific to the type of element. I realize Ranorex isn't strictly used for web. A fly-out menu could be an option similar to:

HTML or Web ->
Add Form Inputs to Repository (input, textarea, select, radio, etc)
Add Links to Repository - all links ranorex sees on the page
Add Buttons to Repository

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Feature Request: Add X to repository (including children)

Post by Support Team » Mon Nov 02, 2015 3:16 pm

Hello rjeffries,

I'm afraid we can consider feature requests only if sent by email.

May I ask to send the corresponding feature request to [email protected]?

Thank you for your understanding.

Regards,
Johannes
.
Image

rjeffries
Posts: 2
Joined: Mon Mar 30, 2015 2:13 pm

Re: Feature Request: Add X to repository (including children)

Post by rjeffries » Thu Nov 05, 2015 2:37 pm

Absolutely! I wasn't sure how to go about it... noted.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Feature Request: Add X to repository (including children)

Post by Support Team » Tue Nov 10, 2015 9:21 am

Hello,

Fortunately, there is already a similar feature implemented in Ranorex Studio.

For example, this could be done in the following way:

1) Search for all a-Tags, which are children of the dom-element
2) Make sure that the repository is opened in the background
3) Perform a right click on the dom-element and choose ‘Add Matching Children to Repository’
4) This will add all elements to the repository, which match the current RanoreXPath
add_matching_children_to_repository.png
add_matching_children_to_repository.png (118.99 KiB) Viewed 749 times
Regards,
Johannes
.
Image