IN EXCEL SHEET OF qtp SUPPOSE I ENTERED 10 NUMBERS RANDOMLY
I HAVE TO GET TOTAL OF TEN NUMBERS IN THE 11 COLUMN USING qtp
GIVE CODE TO IT USING qtp

Answer Posted / laxmi

datatable.ImportSheet "C:\Documents and
Settings\Administrator\Desktop\excel.xls",1,Global

then go to test->settings->run->check run one iteration
radio button

or i= datatable.ImportSheet "C:\Documents and
Settings\Administrator\Desktop\excel.xls",1,Global
for i=1
//body
next

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a programmatic description?

612


Explain the Different types of QTP test assets and their extensions?

618


How to export quicktest professional results to an .xls file?

580


Explain the views in the QTP GUI?

627


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1628






Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1397


How can I change object description or check point values in qtp?

566


What are the different properties of an web object

1434


Explain in brief about the quicktest professional automation object model?

522


unique properties of button,edit box, radio button,check box?

3837


Which environments are supported by hp qtp?

602


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

556


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

618


Which scripting language used by quicktest professional?

543


Is the qtp course will help to create a virtual object?

1522