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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Issues in Data table (/Thread-Issues-in-Data-table) |
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) 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 - tarunlalwani - 02-23-2009 You are forcing the SetCurrentRow to do it on first row. So that is an expected behavior. RE: Issues in Data table - Rachna - 02-23-2009 If I change the SetCurrentRow to 3 also then also the first Row data is used instead of Third one RE: Issues in Data table - Ankur - 02-24-2009 Check this thread, QTP not performing iterations based on local data sheet RE: Issues in Data table - Rachna - 02-24-2009 Thanks Ankur it worked fine. Appreciate your help. Regards, Rachna |