as in PopupWatcher.EnableReportMessages described I thought I turned off PopupWatcher-Messages by setting
Code: Select all
EnableReportMessages = false
private PopupWatcher ProfiDialogUeberwacher = new PopupWatcher(); ... ProfiDialogUeberwacher.EnableReportMessages = false; ProfiDialogUeberwacher.WatchAndClick(repo.InternetExplorerSchliessenFrage.SelfInfo, repo.InternetExplorerSchliessenFrage.AlleRegisterkartenSchliessenInfo); ProfiDialogUeberwacher.Start();But there are still warnings in the report: How to use PopupWatcher.EnableReportMessages correct?
And why are the PopupWatcher-Messages Warnings? I expected in a case that an unexpected Dialog was not shown during test-execution only an information would be reported, not a warning.