Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capturing movie in qtp
01-24-2012, 09:42 AM
Post: #1
Capturing movie in qtp

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........
Find all posts by this user
Quote this message in a reply
01-24-2012, 11:41 AM
Post: #2
RE: Capturing movie in qtp
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
Browser("name:=google").CaptureBitmap "c:\Google.bmp"

Example 2 : Captures Internet options dialog box

Browser("Google").Dialog("Internet Options").CaptureBitmap "c:\InternetOptions.bmp"
Find all posts by this user
Quote this message in a reply
01-29-2012, 11:44 AM
Post: #3
RE: Capturing movie in qtp
(01-24-2012 09:42 AM)sowmya Wrote:  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........

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
QTP On Unix- Java Way - Without Putty or Terminal Emulation
You have no idea how high I can fly...
Find all posts by this user
Quote this message in a reply
Post Reply 


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

Forum Jump:


User(s) browsing this thread: 1 Guest(s)