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 |
What is a Dictionary object in QTP.?
how to identify an object which is not in the object repository identification can be done using descriptive programming.
How do you move objects from local object repository to shared object repository???What are methods?
What does it mean when a check point is in red color? What do you do?
Explain about Standard output value, Text output value, database o/p value, Xml O/p value, Xm o/p Value
What is Curd testing?
Have you done batch testing in qtp? If yes how you are doing?
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
How to creating an output value using quicktest professional (qtp)?
what are the qtp tester responsibilities?
Write the Test Cases for ATM(Any Time Money)
Did you find anything in your project that QTP proved inefficient to perform?