Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capturing movie in qtp
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
I need to capture movie in qtp, i know how to capture by setting in the tools option but i need to write the script to capture movie. using capturebitmap can capture still images , but i don know which statement i should use capture movie.

Please give me the solution

Thank u in advance........
Reply
#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
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
It is very important to first find the reason why we may need to automate. Even if you are successful to automate an movie, how are you going to validate it?

A capturebitmap only captures the required image during runtime and stores it at the location you intend. This is largely used for error capture and for screenshots.

In my opinion it is not possible to automate a movie recording.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)