Micro Focus QTP (UFT) Forums
Issues in data table - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Issues in data table (/Thread-Issues-in-data-table--1601)



Issues in data table - Rachna - 02-23-2009

Hi,
The scenario at my end is :
1)Create 3 reusuable actions with each action having unique data in respective Data sheet like 1)Login action,2)Sales Action 3)Complete Transaction
2)Call the three actions from the main where the Global sheet has no data.
3)Now as explained the Sales action has 3 different sets of data,which needs to be used from Main.

Problem here is when i use the below mentioned script:
Code:
DataTable.GetSheet("Sales_BasicFlow [RA_Sales]").SetCurrentRow(1)
RunAction "RA_LogIn [RA_LogIn]", oneIteration
RunAction "Sales_BasicFlow [RA_Sales]", oneIteration
RunAction "Sales_BasicFlow [RA_complete]", oneIteration

the above script runs always with the 1st row of data in Sales_BasicFlow action .For traversing to the second row of action is not possible at my end although the Action properties having beeing changed to Run for all Iterations.
Kindly provide me the solution asap.
Would appreciate a quick response
Cheers,
-Rachna


RE: Issues in data table - sepgs2004 - 02-25-2009

Did you check the thread in the important thread pool?

https://www.learnqtp.com/forums/Thread-QTP-not-performing-iterations-based-on-local-data-sheet

Hope it helps