Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues in Data table
#1
Solved: 10 Years, 8 Months, 4 Weeks ago
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
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
You are forcing the SetCurrentRow to do it on first row. So that is an expected behavior.
Reply
#3
Solved: 10 Years, 8 Months, 4 Weeks ago
If I change the SetCurrentRow to 3 also then also the first Row data is used instead of Third one
Reply
#4
Solved: 10 Years, 8 Months, 4 Weeks ago
Check this thread, QTP not performing iterations based on local data sheet
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#5
Solved: 10 Years, 8 Months, 4 Weeks ago
Thanks Ankur it worked fine.

Appreciate your help.

Regards,
Rachna
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Missing Resources, Information Pane, Debug Viewer, Run time Data Table not visible Aurodeepta 3 6,763 05-28-2015, 02:52 PM
Last Post: Aurodeepta
  Data Table in QTP QTPBeginer 1 3,625 08-25-2013, 02:28 PM
Last Post: GregHicks
  how to move an array to data table jloyzaga 0 2,676 11-08-2011, 07:52 AM
Last Post: jloyzaga
  Using vlookup on data table Setsuna F. Seiei 0 3,283 08-19-2011, 06:43 AM
Last Post: Setsuna F. Seiei
  QTP 10 issues jsknight1969 1 3,211 10-04-2010, 07:23 PM
Last Post: jsknight1969

Forum Jump:


Users browsing this thread: 1 Guest(s)