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
Can we record using all the modes in a single script? Explanation with example is appreciated
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
How to define array in qtp?
what r the main attributes of test automation?
Explain building blocks of the bpt framework ?
What is the extension of the qtp local repository?
Explain the features of quick test pro(qtp)?
How we can import data from database?
How will you test a stapler?
What is the difference between keyword view and expert view?
how to download mercury qtp9.2 ny internet ?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
How to check which add-ins are associated with a test in qtp?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
Discuss quicktest professional environment?