1. How to capture data from images in QTP and produce them
in Excel sheet
Answer Posted / pravati
x=Browser("").page().image().Getroproperty("alt")
set excel=createobject("excel.application")
excel.application.visible=true
excel.workbooks.add
excel.activeworkbook.saveas ("path.xlsx")
excel.workbooks.open("path".xlsx)
set mysheet=excel.activeworkbook.worksheets("shtid")
mysheet.cells(1,1).value=x
excel.activeworkbook.save
excel.activeworkbook.close
excel.application.Quit
set mysheet=nothing
set excel=nothing
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is it possible to switch between recording modes during a test creation?
Is it possible to call win runner script in qtp?
Which environments does qtp support?
Explain the concept of object repository & how qtp recognizes objects?
How to analyzing test results using quicktest professional?
What are the different properties of an web object
What is qtp window?
Can we use index on view?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How to modify the text checkpoint?
What is reusable action?
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
What is Test Fusion Report in QTP?
Does quicktest professional (qtp) is unicode compatible?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.