Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not performing iterations based on local data sheet
#7
Not Solved
Hi,
Global Sheet iterates as many times the rows present
local sheet iterates just once eventhough you have 4 rows or more rows for this you have to add Loop in your script then it will iterate as many rows you have.
* One more Point if you want to use local sheet you should not have any data in Global sheet because if u have data in global & in local sheet it still takes global data only automatically.

Example:loop
introwcount=dataTable.getsheet("Action1").getrowcount
msgbox introwcount (shows how mnay rows present in table)
for i=1 to introwcount (iterate from 1 to how many rows present in the table)
DataTable.setcurrentRow(i) , (if we give this in locall all rows will iterate)
Reply


Messages In This Thread
RE: QTP not performing iterations based on local data sheet - by priya04 - 07-29-2011, 08:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Repeat iterations Until New Value Is Seen in Column1 shayk1985 1 1,517 07-05-2018, 05:52 PM
Last Post: Ankur
  UFT Datatable iterations Studymode 2 3,501 12-12-2017, 11:10 PM
Last Post: Studymode
  UFT 14.01 - identifying wpf objects. but not performing action. chinmoyee 1 2,369 11-15-2017, 03:42 PM
Last Post: Ankur
  Reading data from excel sheet serenediva 1 8,951 03-03-2017, 10:07 AM
Last Post: vinod123
  QTP-Re-executing script after completion of all iterations JwalantBhatt0602 1 2,562 03-24-2016, 12:37 AM
Last Post: JwalantBhatt0602

Forum Jump:


Users browsing this thread: 1 Guest(s)