SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jul 2003
    Location
    Lahore, Pakistan
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP 8.2 Eval - Data Table Empty Value

    Hi,

    I am currently using a Data Table (Global Table) and output variables along with table parameters. A column in a table has two values but my test does not stop after getting those two values and continues to get empty values from the column. And hence QTP throws error.

    How can i avoid such scenario so that QTP stops the test and then displays the results without getting enpty values in the same column.

    Thanks
    Umar

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Universe
    Posts
    393
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 8.2 Eval - Data Table Empty Value

    Hi,

    I think you are running all the iterations of the Data Table thats why you are facing this problem. Follow the path given below to change the settings.

    Test -> Settings -> Run ->

    Then click on the appropriate Data Table Iteration option.

    Thanks,
    Wasim

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Location
    Lahore, Pakistan
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 8.2 Eval - Data Table Empty Value

    Hi,

    Thanks a lot Wasim. Actually iwas trying to do it manually by checking if the value in data table column is empty/null then the test-run should stop. Can you help me in doing so?

    Regards,
    Umar

  4. #4
    Senior Member
    Join Date
    May 2005
    Location
    Chennai
    Posts
    687
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 8.2 Eval - Data Table Empty Value

    Hi,

    Get the Row count and run the loop till the no of rows in the sheet

    rowcount = DataTable.GetSheet("Sheet").GetRowCount
    With Best Regards
    Yuva

  5. #5
    Junior Member
    Join Date
    Jul 2003
    Location
    Lahore, Pakistan
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: QTP 8.2 Eval - Data Table Empty Value

    Hi,

    Thanks Yuva. It works.

    Regards,
    Umar

 

 

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.71%
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 AM.

Copyright BetaSoft Inc.