Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capturing movie in qtp
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
object.captureBitmap <file name to be saved with path"
Object is the object that you want to capture.
The below example captures browser with google page open
Example1: captures google page
Code:
Browser("name:=google").CaptureBitmap "c:\Google.bmp"

Example 2 : Captures Internet options dialog box

Code:
Browser("Google").Dialog("Internet Options").CaptureBitmap "c:\InternetOptions.bmp"
Reply


Messages In This Thread
Capturing movie in qtp - by sowmya - 01-24-2012, 09:42 AM
RE: Capturing movie in qtp - by ravi.gajul - 01-24-2012, 11:41 AM
RE: Capturing movie in qtp - by basanth27 - 01-29-2012, 11:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Capturing PopUp link siwani 0 2,442 06-10-2011, 03:16 AM
Last Post: siwani
  capturing the name of a variable browser page jovowles 3 3,109 10-19-2010, 09:24 AM
Last Post: lavie
  capturing object dharma_testing 1 1,842 04-25-2009, 08:49 AM
Last Post: candyzhang

Forum Jump:


Users browsing this thread: 1 Guest(s)