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 the difference between the design-time and run-time data tables?
What is the extention of Virtualobject
If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?
Got job with 3 years fake Experience
Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.
1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun".i want to get the vowels in it through VBSCRIPT?
what is a file system object in QTP
Did you face the problem, changing the properties of an object in Run Time?
Which company is better amdocs or techm ???
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
what is the diffrence between script and Language ? (Chandana)
What is meant by virtual obj and Y do v need virtual obj configuration.