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
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
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Explain the features of quick test pro(qtp)?
How do you synchronization point through DP?
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
your coming from electrical backgroung..but y ur coming to software side?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
How QA specialist can identify when programmatic descriptions are useful?
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????
What are the technics follow in writing VB script?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
what type of run time errors you get while you ar edoing rpg program?
How many types of recording modes in qtp?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
What is the recovery scenario in qtp?