How to capture data from images in QTP and produce them in
Excel sheet ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

1447


What are some test assets and related extensions of qtp?

555


What is the extension of the qtp local repository?

568


When should I use smart identification?

604


How to record a qtp script ?

562






How do you create regression test packs?

611


Have you done batch testing in qtp? If yes how you are doing?

509


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

584


What is Cross browser testing? Does UFT support it?

621


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

703


Where to use function or action?

669


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1423


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1588


what is ODC and GDC?

7353


What is the qtp testing process?

599