SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    PLANO
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP does not recognize a list box

    I am working on a flight application where an Employee loggs in and books 4tickets for his family. His family members are listed in the drop down box. If I do record and playback, the first iteration goes through but in the second iteration the script fails, as it is not able to recognize the weblist passenger name. I tried to add object properties seperately in the repository still the same. Can somebody give me an idea? This is very important for me.

    Thanks in advance
    Anna.

  2. #2
    Junior Member
    Join Date
    Aug 2006
    Location
    Denver, CO
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP does not recognize a list box

    Use Object Spy on the item in the list box for the second row. Make sure the Name that it is trying to select is correct in the row including spacing. The best way I have found for this is using object spy and copying and pasting the name value into the cell it is needed in. You can also try selecting the value by its index.

  3. #3
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: QTP does not recognize a list box

    You would need to see how the list box is being identified and then understand what you need to do, whether you need to use DP or you need to use SetTOPropert or something else

  4. #4
    Member
    Join Date
    Jul 2006
    Location
    China
    Posts
    70
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP does not recognize a list box

    maybe you can use descriptive programming method.
    Hello,everyone.

  5. #5
    Junior Member
    Join Date
    Aug 2004
    Location
    PLANO
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP does not recognize a list box

    Pandayu, could you please tell me what method should I use here. I am new programming.

    Thanks
    lavug

  6. #6
    Member
    Join Date
    Nov 2004
    Location
    Chennai
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP does not recognize a list box

    Search in the forum with the subject as "Discriptive Programming".
    Parshi Pradeep

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:47 PM.

Copyright BetaSoft Inc.