QTP 9.2 - Incorrect iteration/row being picked up.
QTP Version: 9.2
I'm a newbie and hope I can state my dilemma clearly.
I'm not sure how to describe my problem but hopefully walking through the steps will help better explain:
- I am running row 3 of the global data sheet (Data Sheet 1). Set through Test Settings = 3
- Data Sheet 1 then calls the driver sheet (local datasheet - Data Sheet 2). Data Sheet 2 contains the start and stop iterations (actually corresponds to the the cases to be run on Data Sheet 3) as well as calls Data Sheet 3.
Data Sheet 2 has been set where the start and stop iterations are both equal to 1. It is supposed to run row 1 only of Data Sheet 3. What actually runs is row 3 of Data Sheet 3.
From the way it looks, it's picking up row 3 based on what's selected in the global data sheet. I tried moving the info from row 3 to row on on the global data sheet and it successfully ran row 1.
Everything seems to be pointing to the right areas until I perform a RunAction for Action1 (note vCount = 1):
RunAction "Action1[tab1]", rngIterations, vCount & "-" &vCount
At this point it appears to shift from row 1 to row 3 on Data sheet 3.
Any help will be greatly appreciated.
Re: QTP 9.2 - Incorrect iteration/row being picked