adspace


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


Please Help Members By Posting Answers For Below Questions

Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

2398


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2151


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2561


How to give a call to another action from one action?

1171


write script for bitmap image?

2117


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3447


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

2327


What is the new version of qtp which is recently released in the market?

1162


can anyone tell me from where i can download qtp demo or crack version

2081


HOw to add the recovery file at runtime to the test file .

2295


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

2174


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

2430


any body can you help me what is the script to automate an comand promt

2570


what is actually contain test report? can anybody post the test report

2095


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

2081