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
What is a programmatic description?
Explain the Different types of QTP test assets and their extensions?
How to export quicktest professional results to an .xls file?
Explain the views in the QTP GUI?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
How can I change object description or check point values in qtp?
What are the different properties of an web object
Explain in brief about the quicktest professional automation object model?
unique properties of button,edit box, radio button,check box?
Which environments are supported by hp qtp?
How can you identify the browser and its information using QTP script?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
Which scripting language used by quicktest professional?
Is the qtp course will help to create a virtual object?