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 |
Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?
What is the difference between ByRef and ByVal. When to use ByRef and ByVal
Give examples where vb script can directly run on users system with windows as os?
Why is the use of exit do or exit for statements within loops discouraged?
i need to login to my yahoo accoutnt using VB Script, automating the operation of webobjects, even launching of IE. How?
Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to click on that using decsriptive programming, but it does not work. and for this i tried this code too: Set obj = CreateObject ("Mercury.DeviceReplay") absx = Browser("").Page("").WebElement(".").GetROProperty ("abs_x") absy = Browser("").Page("").WebElement(".").GetROProperty ("abs_y") obj.MouseMove absx, absy obj.MouseClick absx, absy, 0 But it is not clicked. Can anyone help me out for this problem. Thnx in Advance
What are the advantages of vbscript?
what is the differenece btwn scripting language and programming language
How to copy from one script to another script in qtp
a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program
how to write basic programs in VB Script like addition, multiplication?
input values to accept 2 numbers & print the product, difference and sum using switch case