Results 1 to 4 of 4

Thread: How to make QTP recognize 2 different webtables

  1. #1
    Geek_Guest
    Guest

    How to make QTP recognize 2 different webtables

    2 web tables on different pages have the same index value and different logical name. For some reasons, I cannot save the 2 tables with different names in the object repository (when I try to save, they are getting saved as one object ONLY, due to same index) What Should I do to make QTP recognize these 2 different webtables?
    Please assist

    Question asked by visitor Minu


  2. #2
    Contributing Member
    Join Date
    Feb 2006
    Answers
    85

    Re: How to make QTP recognize 2 different webtables

    this problem can be resolve if you use different set of Property and if the page name is different,
    if this resolves your problem fine else respond with some more details.

    thanks
    Kunal


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

    Re: How to make QTP recognize 2 different webtables

    say for example, lets take Browser name property as "A" and Page title property as "B" and web Table index as "5" and Name as "C"...copy the table object and paste it under the same page with different logical name say "C_1".

    Hopefully this will work...


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

    Re: How to make QTP recognize 2 different webtables

    Change the index to 0 this will start assigning the object initialization starting from 1. Since it has same properties for first object table, it tries to match with second object which has same object properties. But the only reference whihc makes difference is index property.
    Try changing index value, tab index, logical name. It will work.

    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