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

What does mean by Scope of Automation?n How we defined it?

0 Answers   L&T,


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

0 Answers   HCL,


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

0 Answers  


What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??

3 Answers   Virtusa,


Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?

3 Answers   Livetek,






IN A WEB PAGE THERE IS TWO WEB BUTTON WITH SAME OBJECT PROPERTY AND VALUE, SO HOW I WILL IDENTIFIE OBJECTS INDIVISUALY.

3 Answers  


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

0 Answers  


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

0 Answers  


Explain the Keyword View ?

2 Answers   Crea,


How to differentiate the webedit field like user name and password? Please tell any other best answer is ther

3 Answers   Navis,


how can i prepare for QTP(8.2) to face interview ? give over view details?

52 Answers  


How to handle recovery scenario for a application crash.write script for this.

2 Answers   Polaris, TCS,


Categories