Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to pass all rows from data sheet in a function argument
#2
Not Solved
try the below code.....................

Code:
For i =1 to RowCount
sSourcename= DataTable("SourceName", dtGlobalSheet)
sAttrbuteSearch= DataTable("AttributeName", dtGlobalSheet)
msgbox sSourcename
msgbox sAttrbuteSearch
DataTable.SetNextRow
Next

Srinath
Reply


Messages In This Thread
RE: How to pass all rows from data sheet in a function argument - by srinath_QTP - 10-15-2012, 03:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple rows of test data Bhuvana 0 1,341 01-03-2020, 09:30 PM
Last Post: Bhuvana
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,160 02-28-2019, 11:46 AM
Last Post: naruoga
  Reading data from excel sheet serenediva 1 9,621 03-03-2017, 10:07 AM
Last Post: vinod123
Question QTP not performing iterations based on local data sheet Breaker 18 56,762 01-25-2016, 04:32 PM
Last Post: arunshuklainbox
  Importing data sheet Santu 2 3,396 08-20-2015, 11:37 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)