QTP/UFT Reporter Filter

Reporter.Filter= value
The value contains one of the following built-in variables.
 
1-rfEnableAll- Report all steps. The default setting
2-rfEnableErrorsAndWarnings- Only report error(failed)and warning steps.
3-rfEnableerrorsOnly- Only report error steps.
4-rfDisableAll- Does not report any steps.
The following code shows how to suppress a single checkpoint’s Pass/Fail status:
‘Store the Old filter value’
OldFilter=Reporter.Filter
 
‘Disable reporting of all events’
Reporter.Filter=rfDisableAll
 
Set op=Browser(“Browser”).Page(“page”)
chkStatus=op.WebEdit(“Username”).Check(Checkpoint(“username”))
if chkStatus Then
Msgbox “Passed”
Else
Msgbox “Failed”
End if.

 

see here too:

http://www.mindfiresolutions.com/Filtering-Steps-in-a-Report-in-QTP-1307.php

http://qtp.blogspot.co.il/2009/02/qtp-reporter-filter.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s