Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can we retrieve ten rows from the data table using loop
concept?

Answers were Sorted based on User's Feedback



how can we retrieve ten rows from the data table using loop concept?..

Answer / uday kumar. a

Assume "Column1" is my column name in the Global Data
table, then use this code:
for i=1 to 10
datatable.setcurrentrow(i)
returnvalue=datatable.value("Column1","Global")
msgbox(returnvalue)
next

Is This Answer Correct ?    18 Yes 4 No

how can we retrieve ten rows from the data table using loop concept?..

Answer / arjuncr

rows=datatable.getrowcount
set globalsheet=datatable.getsheet("global")
for i=1 to rows step 1
datatable.set currentrow(i)

prameterize steps

next

it retrives not only ten rows .even more than 100 rows in a
datatable

Is This Answer Correct ?    3 Yes 1 No

how can we retrieve ten rows from the data table using loop concept?..

Answer / srikanth

Assume "Column1" is my column name in the Global Data
table, then use this code:
for i=1 to 10
datatable.setcurrentrow(i)
returnvalue=datatable("Column1","Global")
msgbox(returnvalue)
next

Is This Answer Correct ?    7 Yes 8 No

how can we retrieve ten rows from the data table using loop concept?..

Answer / knag

copycat

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More QTP Interview Questions

can u write Script to do Data Driven Testing throuh Externel & internel XL Sheet

2 Answers   Relq,


when you press a link it displays "the page cannot be displayed" then as a tester how you will find the problem,what type of problem must be it?

3 Answers  


why text area checkpoints cannot used for web applications

0 Answers  


who is the best faculty in Hyderabad for QTP?

47 Answers   IBM,


How to use setroproperty?

0 Answers  


when to start the automation?

2 Answers   Accenture,


How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????

6 Answers   TCS,


IF I SET THE VIRTUAL OBJECT AFTER THAT MAXIMIZE THE APPLICATION THEN QTP SENT ERROR OR EXECUTE SUCCESSFULLY? WHY ?

2 Answers   CTC, Infosys,


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

2 Answers  


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

0 Answers   TCS,


Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com

1 Answers   UHG,


How does qtp recognize objects in aut?

0 Answers  


Categories