After running scripts how you report results ,there is
any specific report form
Answer Posted / sreeprasad
syntax is
report.reportevent event status,stepname,details
Argument-1 : event status are 4 types
1)micpass or 0
2)micfail or 1
3)micdone or 2
4)micwarning or 3
Argument-2 : The status of object we are going to report
Argument-3 : The details of the object.
reportstepname:
Name of the stepname in the report(object name)
details:
details of the object
Example:
Reporter.Reportevent 0,"custom step","step passed"
or
Reporter.Reportevent micpass,"custom step","step passed"
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Both static and dynamic arrays are handled by the vb script. Is it true?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
How the exception handling can be done using quicktest professional (qtp)?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
Explain the concept of object repository and how quicktest professional recognises objects?
What are the advantages of Object Repository?
What are the different attribute used with regular expression?
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
What are the different recording modes and how do they work?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
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
Explain runtime dynamic settings?