We have 10 rows of records in data table, but we have to run
4th, 5th and 6th rows only. How can we handle this scenario
in QTP?

Answer Posted / qtp_beginner

DataTable.ImportSheet "C:\Users\Anil\Desktop\Testing_QTP.xls
",1,"Global"
numRow=DataTable.GlobalSheet.GetRowCount
msgbox numRow
For i=4 to 6
DataTable.SetCurrentRow(i)
disp=DataTable.Value ("Test",1)
msgbox disp

Next

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5112


What is the basic concept of qtp?

582


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2801


what you mean by artifact,milestone...

1505


What are the features and benefits of quick test pro (qtp 8.0)?

605






Is it possible to switch between recording modes during a test creation?

596


How many types of actions are there in quicktest professional (qtp)?

546


What are the different attribute used with regular expression?

538


What is text check point and text area check point?

616


How to find array size in qtp?

589


Explain how you can find the absolute value of the number in qtp?

651


How is UFT 11.5 version different from UFT 12.0?

613


Diff b/w Health care domain and Banking Domain?

4222


how to disable the pop ups through QTP using a script

1736


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

565