How to insert snapshot during manual scripting in QTP?



How to insert snapshot during manual scripting in QTP?..

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

More VB Script Interview Questions

How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

0 Answers  


Explain the .wsf files?

0 Answers  


Mention what is vbscript?

0 Answers  


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

0 Answers   CSC,


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

0 Answers  






How to declare an array in vbscript?

0 Answers  


How many data types are supported in Vbscript?

3 Answers   Microsoft,


give me any information abou vb script books learn quckly

0 Answers  


write a vbscript for finding the sum of the numbers from 1- 50

3 Answers  


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

0 Answers  


How will you get the largest subscript of an array in vbscript?

0 Answers  


Explain the extension .hta?

0 Answers  


Categories