Micro Focus QTP (UFT) Forums
How to capture screenshot for background application - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to capture screenshot for background application (/Thread-How-to-capture-screenshot-for-background-application)



How to capture screenshot for background application - captain - 06-29-2014

Hi All,

Is there any way to capture screenshot of an application that is minimized ?

We have a requirement in our project , we need to capture screenshot of a mainframe application and paste in word. This has been automated. But user has always have to keep the running mainframe application in foreground to capture screenshots. This restricts him from doing any other work on that pc . Now we want to modify the code to capture the screenshot even if the mainframe application is minimized. Is it possible using VBScript ?