Hi,
instead of your code :
if a then
MsgBox "Check Point passed"
reporter.ReportEvent micPass,"sign in buutton is avalible","correct"
*reporter.Filter=rfDisableALL*
else
MsgBox "Check Point failed"
reporter.ReportEvent micFail,"sign in buutton is not avalible","wrong"
end if
try using :
*reporter.Filter=rfDisableALL*
if a then
MsgBox "Check Point passed"
reporter.ReportEvent micPass,"sign in buutton is avalible","correct"
else
MsgBox "Check Point failed"
reporter.ReportEvent micFail,"sign in buutton is not avalible","wrong"
end if
Now execute and let us know the results .... hope it will work
cheers ..
On Apr 5, 7:30 am, Raju Prasad <[email protected]> wrote:
> Hi
>
> testers
>
> my problem is in test result summary i,e reporter .filter need to disable
> all reports but it showing the result
>
> plz help me where i went wrong
>
> below is my code
>
> Browser("Browser").Page("Gmail: Email from Google").WebEdit("Email").Set
> "prasad16"
> Browser("Browser").Page("Gmail: Email from
> Google").WebEdit("Passwd").SetSecure
> "4f7b557dadcae6edbba92da054ac5b9f7a14cd0de405140f158b0c"
> a=Browser("Browser").Page("Gmail: Email from Google_2").WebButton("Sign
> in").Check (CheckPoint("Sign in"))
> if a then
> MsgBox "Check Point passed"
> reporter.ReportEvent micPass,"sign in buutton is avalible","correct"
> *reporter.Filter=rfDisableALL*
> else
> MsgBox "Check Point failed"
> reporter.ReportEvent micFail,"sign in buutton is not avalible","wrong"
> end if
> Browser("Browser").Page("Gmail: Email from Google").WebButton("Sign
> in").Click
> Browser("Browser").Page("Gmail - Inbox").Link("Sign out").Click
>
> * *
> *Best Regards*
> *reddy prasad*
> *9742372795*
> *9886293685*
>
> image_gif_part
> 15KViewDownload
>
> image_gif_part
> 13KViewDownload
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en