SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Import sheet into Global Vs Action sheet

    Hi

    I am a QTP novice. When I import my datasheet into Global sheet it runs for all rows in my datasheet, while if i do importsheet in localsheet it only runs for the first row.

    Is this expected behaviour or am I missing something?

  2. #2
    Junior Member
    Join Date
    Jan 2007
    Location
    Manila, Philippines
    Posts
    18
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import sheet into Global Vs Action sheet

    There are two Run settings that you should be aware of in QTP,

    1.) Your Run settings in the Test level determines the way QTP process your GLobal Data sheet, while

    2.) the Run settings in the Action Call Properties determines how QTP process its local data sheet

    Since you wondered why QTP ran on all the rows in your Global data sheet, check you Run Setting in the Test level by:
    1.) Open your test and access File > Settings
    2. Click on the Run tab
    3.)Enable the 'Run one iteration only' checkbox
    4.) Click Ok button to dismiss the dialog box

    Please see QTP help for more details about these Run Settings.

    I hope this helps.

  3. #3
    Senior Member
    Join Date
    Sep 2006
    Location
    CA, USA
    Posts
    425
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import sheet into Global Vs Action sheet

    To make sure the local sheet run the same row with main iteration, you need to reset its current row with global sheet after importing by

    DataTable.GetSheet("ActionX").SetCurrentRow = DataTable.GetCurrentRow

 

 

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:21 PM.

Copyright BetaSoft Inc.