How to capture a window in qtp or how to take snapshot of
any window while writing script in qtp

Answer Posted / kishore

object.CaptureBitmap FullFileName

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

2519


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1504


Explain the features of quick test pro(qtp)?

671


How do you synchronization point through DP?

706


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1559






your coming from electrical backgroung..but y ur coming to software side?

1471


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

959


How QA specialist can identify when programmatic descriptions are useful?

2050


I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2268


What are the technics follow in writing VB script?

1619


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1450


what type of run time errors you get while you ar edoing rpg program?

1603


How many types of recording modes in qtp?

686


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1654


What is the recovery scenario in qtp?

660