Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Can any 1 modify the code whr in want to add\rename a excel sheet in qtp?

1 Answers  


What is the difference between ByRef and ByVal. When to use ByRef and ByVal

5 Answers   Polaris, TCS,


Give examples where vb script can directly run on users system with windows as os?

1 Answers  


Why is the use of exit do or exit for statements within loops discouraged?

0 Answers  


i need to login to my yahoo accoutnt using VB Script, automating the operation of webobjects, even launching of IE. How?

1 Answers   Mphasis,


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

1 Answers  


What are the advantages of vbscript?

0 Answers  


what is the differenece btwn scripting language and programming language

4 Answers  


How to copy from one script to another script in qtp

4 Answers  


a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program

1 Answers  


how to write basic programs in VB Script like addition, multiplication?

14 Answers  


input values to accept 2 numbers & print the product, difference and sum using switch case

1 Answers   CSC,


Categories