SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Feb 2006
    Location
    Cambridge
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Datatable iterations not working for me

    could anyone please point me to the right direction on this:

    The script only has only one action (Action 1) containing one line of code:
    Reporter.ReportEvent micPass, "Message", DataTable.RawValue ("strLang", "Action1")

    i set up a column "strLang" in sheet "Action1", with row 1,2,3,4,5 has values "a","b","c","d","e" correspondingly. i am hoping when it runs, it will do iterations from row 1 to row 5 -- then the statement will print out the values "a","b","c","d","e" in report, in each own iteration.

    However it actually only ran for the row 1 and stoped, with "a" being printed in the report. i did checked the option "Run on all rows" from Test->Settings->Run->Datatable iterations.

  2. #2
    Senior Member
    Join Date
    Jan 2000
    Location
    USA, CA
    Posts
    1,998
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Datatable iterations not working for me

    Reporter.ReportEvent micPass, "Message", DataTable("strLang", dtGlobalSheet)

    Janna

  3. #3
    Senior Member
    Join Date
    Oct 2003
    Location
    Kyiv, Ukraine
    Posts
    302
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Datatable iterations not working for me

    "Test->Settings->Run->Datatable iterations" corresponds for Test Iterations, that means your test will be running as many times as many rows are in the Global data table sheet.

    in order to use Action Iteration you should choose "Run on All Iteration" in the "Action Call Properties -> Run" tab.

  4. #4
    Junior Member
    Join Date
    Feb 2006
    Location
    Cambridge
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Datatable iterations not working for me

    Either approach works for my purpose!

    Thank you both so much, latin and Janna!

    -Song

 

 

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 12:15 PM.

Copyright BetaSoft Inc.