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
How many types of recording facility are available in quicktest professional (qtp)?
How do you capture tooltip using QTP?
What are advantages of test automation?
How many types of recording modes in qtp? Describe each type with an example where we use them?
What is qtpro?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
What are the main differences of qtp and win runner?
When do go for loop condition in test?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
What is the syntax to call one action in another?
How to run a test using quicktest professional?
Explain in brief about the qtp automation object model (aom).
How to find the name of the machine where you are running your automation scripts in qtp?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
What are the views available in quicktest professional?