How to supress warnings from the "Test results page"?

Answer Posted / sreeprasad

-if you want Pass result in the Result page

reporter.reportevent micPass,........

-if you want fail result in the Result page

reporter.reportevent micFail,........

-if you want Warning result in the Result page

reporter.reportevent micWarning,........

-if you don't want any result symbol only u want text in

the Result page

reporter.reportevent micDone,........

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to evalute defects in QTP script?

1476


Name the different types of recording modes?

565


How many types of Automation frameworks are there in UFT? Describe them.

548


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3040


Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2432






What is the XML file architecture ?

1536


How do you know the location Id of an object if you know its index id?

575


How you can decide which type of object repository you have to use?

691


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

3601


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1787


when to start the automation?

1468


Through array we can execute the testcase how ? give me example

1390


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1717


What is expert view in qtp?

571


What is the use of ordinal identifier in qtp?

596