public ExceptionAnalysedPage(IElementFinder elementFinder, INavigationService navigationService)
        {
            var exceptionAnalyzedElementFinder =
                new ExceptionAnalyzedElementFinder(
                    elementFinder as ExceptionAnalyzedElementFinder);
            var exceptionAnalyzedNavigationService =
                new ExceptionAnalyzedNavigationService(
                    navigationService as ExceptionAnalyzedNavigationService,
                    exceptionAnalyzedElementFinder.UiExceptionAnalyser);

            ExceptionAnalyser = exceptionAnalyzedElementFinder.UiExceptionAnalyser;
            ElementFinder     = exceptionAnalyzedElementFinder;
            NavigationService = exceptionAnalyzedNavigationService;
        }
Exemple #2
0
 public ExceptionAnalyzedNavigationService(ExceptionAnalyzedNavigationService exceptionAnalyzedNavigationService, IUiExceptionAnalyser exceptionAnalyser)
 {
     UiExceptionAnalyser = exceptionAnalyser;
     NavigationService   = exceptionAnalyzedNavigationService.NavigationService;
 }
 public ExceptionAnalyzedNavigationService(ExceptionAnalyzedNavigationService exceptionAnalyzedNavigationService)
 {
     this.UiExceptionAnalyser = exceptionAnalyzedNavigationService.UiExceptionAnalyser;
     this.NavigationService   = exceptionAnalyzedNavigationService.NavigationService;
 }