How to capture a window in qtp or how to take snapshot of
any window while writing script in qtp

Answer Posted / tvsramakrishnachowdary

ObjectHeirarchy.capturebitmap "path of the file to be
saved",true/false

true=for overwritting
false=it create new file if that file already existed it
shows an error that file already existed

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to find that tools work well with your existing system?

1403


How many types of actions are there in quicktest professional?

514


Did the scripts need lot of maintenance? If yes, why?

3296


What is checkpoints for quicktest professional?

551


Explain about the test fusion report of quicktest professional?

531






What are the data types in qtp?

667


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1369


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1281


Explain different recording modes?

583


What is an expert view and keyword view?

570


How many types of recording modes in qtp? Which will be used when?

550


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1361


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1423


What is action split and the purpose of using this in qtp?

537


How to get the particular property value?

612