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
What are the environment variables?
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.
What is use of object spy?
Diff b/w WEB TESTING AND Client server testing?
How to find a window is minimized or not
How to open a new test using QTP?
write script for finding number of broken links in web page? kindly please answer my question.
3 Answers Manhattan, Oracle, Virtusa,
What is API
what is the difference between Reusable action and external action?
How to Analyze the Checpoint results by Text/Text Area Checkpoint?
What are the main differences of qtp and win runner?
What is QTP’s model for test creation?