datatable.Import("E:\Programming Samples\QTP
Samples\OrderNumbers.xls")

Asume we have 4 records in datatable
Code reads the 4 rows in the sheet ok, but does it 5 times?
It doesn't sound like closing the datasheet is the problem

Can we close the datasheet runtime ?

Answers were Sorted based on User's Feedback



datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have..

Answer / nath .t

u have entered 5 records in datatable. may be u have
deleted after one record but u have n't deleted the row
that's why it's taking 5 times. if u delete what u have
removed data row then it will run 4 times only.

Is This Answer Correct ?    1 Yes 0 No

datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have..

Answer / contacthari

Because the iteration counts needs to be set "run one iteration only" under run settings. If you have set it to "run on all rows". It will loop the run based on no of rows available.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?

3 Answers  


Why script error occur in between recording in qtp?

0 Answers  


does QTP provides any tools for parametrisation?

4 Answers  


How do u write a regular expression for date (dd/mm/yyyy) field ?

4 Answers   Semantic Space,


Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me

1 Answers  






How can you identify the browser and its information using the qtp script?

0 Answers  


what is run-time object in qtp? explain with example?

2 Answers  


what is the diffrence bw qtp architectute and qtp framework?

0 Answers  


Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..

3 Answers   Sony,


Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value

2 Answers  


Mention what are the different types of recording modes in qtp? Which will be used when?

0 Answers  


how to do the batch testing in test director using manual testing procedure?

0 Answers  


Categories