How to capture data from images in QTP and produce them in
Excel sheet ? please ans...
Answer Posted / pravati
text=Browser().page().image().getroproperty("alt")
msgbox text
set excel=createobject("excel.application")
excel.application.visible=true
excel.workbooks.open("path")
set mysheet=excel.Activeworkbook.worksheets("sheet2")
mysheet.cells(1,1)=text
excel.Quit
set excel=nothing
set mysheet=nothing
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
What are the types of data tables in qtp?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
What is the meaning Work bench?
What is the difference in testing a client-server application and a web application?
How to capture a window in QTP?
What are the different types of action?
What is the basic concept of quicktest professional?
How smart identification works in qtp ?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
Does quicktest professional is unicode compatible?
What are private functions in QTP? How they can be called from the function library?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...