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 |
How to take whole text output from screen of Bitmap Application.
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
how to find the textfile in the folder and copy file from one folder to another folder useing parameterigation in QTP
write a vb script to display 3*3 matrix
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
How to Enter Values on the Command promt using VB script
how to genarate a random numbers in vb?
Why to add checkpoint in QTP What's the purpose of checkpoints & how to add it
I am running a windows based application.While running the script on QTP ,The Application pop-up an Error Message as "object Disabled" in two different scenarios Scenario 1-->The Application pop-up up a Message for Max Session Reached(as the application is set to hold 2 session and if if crosses the pre-defined limit then the error message pop-up) Scenario 2-->When Network connectivity is disabled the Application screen gets greyed out in colour with no operation possible. Now through Exception handling features in QTP ,we need to do the following For Scenarion 1-->Through Exception handling we need to just accept the Message pop-up in the Application and and resume with the call function as is for Scenario 2--> Through Exception Handling featutes on QTP we need to shut down the client , restart the client and resume the call functions as it is Note: The Application returns an Error Message as "object disabled" in both the cases i.e for pop-up message and when the Apllication getting greyed out due to Network failure how can we enhance the script in such a way that for the same error message retured by the application in two different and how to handle them????
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
How can you create a file object to work with the files in the vbscript language?
Which date function is used in the vbscript language to find the difference between the 2 dates?