How to capture data from images in QTP and produce them in
Excel sheet ?
Answers were Sorted based on User's Feedback
Answer / kiran
by using the textarea check point ,we can retrive the data
from the images,and then use export that value to a
datasheet.
| Is This Answer Correct ? | 10 Yes | 6 No |
Answer / manas
hi, we can't take the help of text area check point to
capture data and display in excel sheet,
we have to take the help of text area OUTPUT VALUE to
capture the data from image and disaply the coressponding
data in excel sheet.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / tvsramakrishnachowdary
act=object heirarchy.getvisibletext
exp="the text which actually u need to check"
if exp=act then
msgbox "pass"
else
msgbox "fail"
end if
'for posting values into excel file follow below code
--------------------------------------------------------
excelsheet_object.cells(rowno,colno).value=act
| Is This Answer Correct ? | 2 Yes | 1 No |
We can Capture the Data from images by using the
Text Output Value. i,e
Insert --> Output Value --> Text OutPut Value
On record mode add the Text Output Value to the script and
Run. The Image Text will export to DataTable.
Same we can export to excel by using the DataTable.Export
method.
| Is This Answer Correct ? | 1 Yes | 2 No |
Difference between image checkpoint and bitmap checkpoint
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
want to learn real time automation project(QTP)?
What are the automation metrice in your project?
How many types of run modes are there in qtp?
whenever a scenario is recorded ever, it creates a object repository automatically (‘per action’ /local ). we do not need to make them individually…then why we need a shared object repository. How it will be practically utilized ?? your input will be highly appreciated..
What are the advantages of QTP over WinRunner?
How to retrieve particular cell data in excel sheet ?without importing method.
Question:how many types of repositories in QTP9.2?and explain??
How to connect to the Database from QTP?
10 Answers DB, Thatavarti Technologies, Xchanging,
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..