How do I generate Test Results window using descriptive
method ( run time ) after my test execution process?

Please have a look of my below code.

=========================================================

Dim qtApp
Dim qtTest
Dim qtResultsOpt
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
qtApp.Options.Run.CaptureForTestResults = "Always"
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = True
qtApp.Open "C:\Automation\Example", True
Set qtTest = qtApp.Test
qtTest.Settings.Run.OnError = "NextStep"
Set qtResultsOpt = CreateObject
("QuickTest.RunResultsOptions")
qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1"
qtTest.Run qtResultsOpt
MsgBox qtTest.LastRunResults.Status
qtTest.Close
Set qtResultsOpt = Nothing
Set qtTest = Nothing
Set qtApp = Nothing


==========================================================

This code is working fine, but Test Result window is not
displaying after execution.

Anybody can please help me regading the same.

Thanks
Akshaya Madali
Capgemini India Pvt Ltd
9823213538


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

What is the BPT(bussiness process testing ).and what is the main difference between BPT and QTP

3 Answers   EDS, GL Noble Denton, IIST,


How will you find the current time of the remote machine using QTP script?

0 Answers  


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

0 Answers  


what questions i have to pripare for project manager round interview ? plz give Ans.(Chandana)

5 Answers   TCS,


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

0 Answers  






Explain the parameter in qtp?

0 Answers  


To which environments does quicktest professional (qtp) supports?

0 Answers  


how to get the particular chr in an array list the question is ....i have an array like this ABCD EBCF GBCH IBCJ HERE I NET TO GET ONLY "BC" FROM ALL HOW TO GET IT HELP ME ANY ONE THANKS

6 Answers   Cap Gemini,


How to execute a winrunner script in quicktest professional?

0 Answers  


pls tell me different type of automation frame works in QTP and which one need to select in client server application

7 Answers   Syntel,


Can you write a script to check if the folder exists or not?

0 Answers  


Explain different type of event trigger option.

0 Answers  


Categories