Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting a field in database for a loop
#2
Solved: 10 Years, 10 Months, 1 Week ago
Question is not clear.
Did you mean you want to start fetching values from 3rd row onwards?(leaving the first 2 rows?)
If so you can write like this
Code:
For i = 3 to datatable.GetRowCount
Datatable.setcurrentrow=i
Dialog("Login").WinEdit("Agent Name:").Set DataTable("A", dtGlobalSheet)
Dialog("Login").WinEdit("Password:").Set DataTable("B", dtGlobalSheet)
wait 2
Next
Reply


Messages In This Thread
RE: Selecting a field in database for a loop - by rajpes - 02-15-2012, 10:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getting the value from the field learning 0 938 03-19-2019, 09:13 AM
Last Post: learning
  QTP not selecting appropriate webelement from the webtable..Need Solution satishkumarm 11 21,177 03-23-2016, 12:47 PM
Last Post: Swetha_Bayya
  Selecting values from drop down using QTP. prempujaripati 2 46,448 06-26-2014, 06:06 PM
Last Post: rasmirani
  Selecting file saved in a location excellentpawan 1 3,897 02-25-2014, 02:05 PM
Last Post: guin.anirban
  Selecting a value from a Dropdown qtpbeginner78 12 17,622 06-10-2013, 11:10 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)