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

Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1715


Explain how qtp identifies objects?

775


What are the different types of action?

743


what is stepin & stepout?

1612


What are the views available in quicktest professional?

776


write a script to verify the image path(src property) of the images which are in web pages.

1978


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

791


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1762


Define Error Pane of UFT?

870


When should I use smart identification?

813


How to Test the mainframe application?

2056


Explain how to use QTP to check broken links on a page?

771


What is Test Fusion Report in QTP?

883


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1700


What are parameterizing tests?

762