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 do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?

3 Answers   QualiTest,


banking project description for software tester

0 Answers   Semantic Space,


Explain types of output values?

0 Answers  


can any one tell me how to select some text.i need the script for that

1 Answers  


write a qtp code to count the number of child objects in login page and highlight it

2 Answers  






How to create a Runtime property for an object in QTP?

6 Answers  


what is retesting?

2 Answers  


how can we group that these test cases only should be automated and in which order you execute that test cases

3 Answers   Maveric, Satyam,


the build is develeped in Java. is possible to write scripting in vb using QTP ?

3 Answers  


Explain how qtp identifies object?

0 Answers  


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

0 Answers  


Hi Friends... What you are doing in Regression Testing and how many test cases you ran in regression testing... suppose there is 1000 test cases is there how many test cases again you run .. 1000 test caes r how many... thanx in advance..

6 Answers  


Categories