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
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?
What is the regular expression for Yahoo mail Inbox?
In smart identification, explain about 1. Base filter properties 2. optional filter properties with examples?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
LINUX environment supports QTP or not? LINUX environment supports QC or not?
types of output value in details.
How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script
how to calculate no. of repeating characters in a a string..please give me the code
what is exacltly TIERS ?
Can anyone explain me about child objects in detail;when they are used and why do we need them ? please give me sample code for this if possible.
explian about the qtp frame work? where u can use it in your project?
What is test object model in QTP?