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

what is the difference between the modular framework and datadriven frame work

1909


Explain features of the latest version of qtp/ uft 12.1?

602


I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

1520


How you will rate urself in QTP in the range of 0 to 5

1746


What is data driver in qtp? Where we use it?

565






How to give a call to another action from one action?

629


what QTP Options do you know?

2926


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1442


What is checkpoints for qtp?

532


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1439


How to find array size in qtp?

584


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

536


What are the Application Functions available in QTP?

1475


i can done the project with QTP in that time i can say how many members in my team size?

1368


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1421