Keyboard shortcuts when building object repo

Ask general questions here.
nickdandakis
Posts: 7
Joined: Fri Aug 09, 2013 9:21 am

Keyboard shortcuts when building object repo

Post by nickdandakis » Fri Aug 09, 2013 9:26 am

Hello everyone,

I am just wondering if there exists a keyboard shortcut for adding a new item in the folder you are currently in. I find myself using the mouse too much (right-click folder above -> Add New Item -> Item) and it's ruining my flow.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Keyboard shortcuts when building object repo

Post by Support Team » Tue Aug 13, 2013 3:48 pm

Hello,

In general, new items are added to Repository using 'Track' button mostly.
Currently, it's possible to use <CTRL>+<N> to add a new rooted folder in the repository.

Regards,
Markus (T)

Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Re: Keyboard shortcuts when building object repo

Post by Pavlo » Fri Aug 23, 2013 10:39 am

Hi

Can you please add such keyword shortcut? In some next version of Ranorex?
I'm not using track button, because default ranorex rxpath generated is not good for me, so new items are named and created manually.

-re
Pavlo

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Keyboard shortcuts when building object repo

Post by Support Team » Mon Aug 26, 2013 4:56 pm

Hi,

I added a new feature request.

Regards,
Markus

Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Re: Keyboard shortcuts when building object repo

Post by Pavlo » Wed Sep 18, 2013 10:21 am

Hi

Also - can I turn off feature to add items to repository automatically when I click "Track" button?

Use case (with detailed explanations):
  • 1. There is existing repository (relatively big: 5k lines in rxrep file)
    2. Something was updated in application under test and I want to see "old rxpath" for updated item (what is currently stored in repository) and "new rxpath" (what is current rxpath)
    3. So I use 'Track' button to only get "new rxpath" in spy to analyze it before modifying rxpath in repository
    4. And I don't want to add new item to repository, just update existing one
    5. But new item is added (and it takes some time to add it), and then I have to first remove just added item and only then continue analyzing spy
It would be great to have some configuration flag to turn this feature off (if possible) :)

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

Re: Keyboard shortcuts when building object repo

Post by krstcs » Wed Sep 18, 2013 2:08 pm

You should use SPY to do this. That is what it is designed for. There is a stand-alone version of SPY that you can run side-by-side with the repository spy so you can see what is going on with each.

Tracking in the repository is intended to be used to add items to the repository, so you are asking for a fundamental change in behavior.
Shortcuts usually aren't...

Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Re: Keyboard shortcuts when building object repo

Post by Pavlo » Mon Oct 07, 2013 3:02 pm

krstcs wrote: Tracking in the repository is intended to be used to add items to the repository, so you are asking for a fundamental change in behavior.
That is exactly my problem: tracking from stand-alone spy is adding items to repository (if ranorex studio with repository is opened), which is new behavior (it was not working this way in previous version)

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Keyboard shortcuts when building object repo

Post by Support Team » Tue Oct 08, 2013 2:57 pm

Hello,

Could it be that you are using 'Instant Tracking' to identify your elements in your application?
'Instant Tracking' automatically adds the element to an open repository.
Please use 'Track' button in external Spy to track elements without adding them into your repository.

Regards,
Markus (T)