Micro Focus QTP (UFT) Forums
Query to take Screenshot - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Query to take Screenshot (/Thread-Query-to-take-Screenshot)



Query to take Screenshot - pretiks - 01-07-2010

Hi,

First of all thanks a lot for such a useful QTP forum

I am Scripting for Web application.The Script is running fine but the key requirement is:

1)The user should run the script and then the application should keep on executing with the browser in
minimized state.(Both the QTP and Web application should be minimized and the user can continue with his other work).
Here I am not using any Remote Desktop and want to work on same local desktop.Here whenever I am forcibly minimizing the Web application under test,the script doesnt executes and maximizes as soon as there is an action(edit,listbox selection) etc.Is there any solution for this?

2)Also I want to take the screenshot of each and every webpage while execution for which I am using CaptureBitmap method, but here as I am minimizing the web application the Captured screen shot is of the Desktop screen and therefore I have to keep maximize the Web Browser to get the exact screenshot.
Is there any other method to capture screenshot of browser while we keep the browser minimized.

Please respond ASAP. It will be a great help from your side.


RE: Query to take Screenshot - Saket - 01-08-2010

please refrain yourself by using words like ASAP, URGENT etc in your posts and post your query in the appropriate category. refer posting guideline.

as far as I know, QTP can not work on a browser which is minimised, and so the capturebitmap.


RE: Query to take Screenshot - khizerhayat - 01-08-2010

Your asking for too much buddy