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
how to evalute defects in QTP script?
Name the different types of recording modes?
How many types of Automation frameworks are there in UFT? Describe them.
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
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!!
What is the XML file architecture ?
How do you know the location Id of an object if you know its index id?
How you can decide which type of object repository you have to use?
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
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..
when to start the automation?
Through array we can execute the testcase how ? give me example
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
What is expert view in qtp?
What is the use of ordinal identifier in qtp?