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

How will internal and external links be validated and updated? how often?

0 Answers  


Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?

1 Answers  


what testing activities u may want to automate?

2 Answers  


How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?

3 Answers  


what is recovery manager and recovey scenerio?

2 Answers   BirlaSoft,






What is the diff between image and bitmap check point?

0 Answers  


QTP identifying the child tabs in a maintab like tab_1,tab_2,tab_3,tab_4 while using a for loop for these tabs.its not proceeding from _1 to _2. How can i use "for loop "

2 Answers   Livetek,


what r the 3 basic factor on which we determine to perform automation

6 Answers   AppLabs,


how to choose the framework in qtp ? 2)when we go for the descriptive programming ?

2 Answers   Syntel,


hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable

4 Answers   Livetek,


What is QTP’s model for test creation?

0 Answers  


explain keyword driven framework?

2 Answers   Mindlance,


Categories