Login   /   Register

Change the Maximum Length of GUI Objects’ Logical Names

Rate this article
     1 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 5
Loading ... Loading ...
November 15th, 2008 by Yaron Assa

Have you ever wanted a little extra room for your objects’ logical name?

Well, now you can use all the room you’d like by using this QTip!

The length of the logical name is controlled by two values within the registry, MaxLogicalNameLen and MaxLogicalNameLenCutWord.
MaxLogicalNameLen sets the cut position for the logical name if it is not within a word (Default: 10).
MaxLogicalNameLenCutWord sets the position where the logical name will be brutally truncated (cut within a word) if the length is longer than the MaxLogicalNameLen value (Default: 20).
Note:
These DWORD values may not exist in under the registry key. If they are not there, manually add them.

 

So, just modify the MaxLogicalNameLen and MaxLogicalNameLenCutWord registry values. These can be found under this registry key:

HKEY_CURRENT_USER\SOFTWARE\Mercury Interactive\QuickTest Professional\MicTest\ObjectManager

Posted in General

4 Responses to “Change the Maximum Length of GUI Objects’ Logical Names”

  1. heqingbluesky Says:

    [-]

    Good to learn a new tip.Thanks

  2. raaz4all Says:

    [-]

    Thanks a lot Yaron! Please tell me from where you get such fantastic tips?

  3. ksrimydocs Says:

    [-]

    hi to all i am new to QTP . i have to learn QTP scripting. pls give me reply

  4. vnkgiri Says:

    [-]

    Excellent Tip/……….GOOD…..Awesome

Leave a Reply

You must be logged in to post a comment.

This article was viewed 464 times