How to insert snapshot during manual scripting in QTP?

Answer Posted / prathyusha

We can use capturebitmap for this two inputs are there one is filetype means need to give path and type of image like png or bmp ("Ex:Login.png") and rest is true or false. true means if image is there with same name it will overwrite if not it creates the name which we have given..By default true is there.
Browser().page().capturebitmap("G:Login.png",true)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you release the memory acquired by an array variable in vbscript?

735


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1539


Which operator is used to perform the comparison among 2 operands in the vbscript language?

520


Why is error handling required?

561


What is dictionary object in vbscript? Explain?

614






Explain about .wsf files?

609


Which function allows you to instantiate an object given its programmatic identifier or progid?

550


What is the difference between vb debugger and the script debugger?

574


How you can call vbscript functions?

567


Explain sga memory structures?

567


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12865


What are the special sub-types in vbscript?

540


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2054


What are the different types of operators and their order of precedence?

560


How to Enter Values on the Command promt using VB script

1524