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 are the environment variables?

3 Answers  


1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.

3 Answers   ADP,


What is use of object spy?

0 Answers  


Diff b/w WEB TESTING AND Client server testing?

3 Answers   Ordain Solutions,


How to find a window is minimized or not

0 Answers  






How to open a new test using QTP?

1 Answers  


write script for finding number of broken links in web page? kindly please answer my question.

3 Answers   Manhattan, Oracle, Virtusa,


What is API

1 Answers  


what is the difference between Reusable action and external action?

2 Answers   HCL,


How to Analyze the Checpoint results by Text/Text Area Checkpoint?

1 Answers  


What are the main differences of qtp and win runner?

0 Answers  


What is QTP’s model for test creation?

0 Answers  


Categories