Results 1 to 3 of 3

Thread: Is it possible to have same logical name for more than one object

  1. #1
    Geek_Guest
    Guest

    Is it possible to have same logical name for more than one object

    Hi All,

    I am a beginner in QTP. I still dont have it installed it on my machine but as I have started studying it theoretically i just had a question. An object repository contains both the logical name of an object (in the AUT) as well as the physical description corresponding to it. Also I learnt that a logical name is nothing more than a "nickname" given to the object so as to access it while running the test.

    Now my question is that is it possible to have the same logical name for more than one object in the object repository/ Is duplication of logical name allowed in the object repository?

    I would really appreciate if anyone can answer this please along with an explanation.

    Question asked by visitor Kay


  2. #2
    Contributing Member
    Join Date
    Mar 2007
    Answers
    35

    Re: Is it possible to have same logical name for more than one object

    Hi,

    QTP wont allow same logical name for more than one objects.It will throw error while you rename a logical name by which is already exist.


  3. #3
    Contributing Member
    Join Date
    Feb 2006
    Answers
    41

    Re: Is it possible to have same logical name for more than one object

    AS mythu said, its correct.

    Logical Name cannot be same i mean duplicated for objects. Physical descriptions can be duplicated. Since Logical Name is the core class reference it cannot have same name. Which will conflict. It wont allow u to enter same logical name again.

    Arun*


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact