Capturing Screen Region


Using QTP we can capture an object or Desktop using CaptureBitmap method. How to capture a region of screen?
It can be done using System.Drawing.Graphics.CopyFromScreen method. Let us see how it can be done using this method.

Code

Synopsis

This technique is very useful as our testing might require capturing region of a screen. Keep visiting for more imaging techniques articles.

Leave a Reply

Your email address will not be published. Required fields are marked *