protected override List <TestCasConnectivity.TestCasConnectivityRunInstance> PopulateInfoPerCas(TestCasConnectivity.TestCasConnectivityRunInstance instance, List <CasTransactionOutcome> outcomeList)
        {
            TaskLogger.LogEnter();
            List <TestCasConnectivity.TestCasConnectivityRunInstance> result;

            try
            {
                if (base.Fields.IsModified("ConnectionUri"))
                {
                    base.WriteVerbose(Strings.CasHealthOwaTestUrlSpecified(this.ConnectionUri.AbsoluteUri));
                    TestCasConnectivity.TestCasConnectivityRunInstance testCasConnectivityRunInstance = new TestCasConnectivity.TestCasConnectivityRunInstance(instance);
                    testCasConnectivityRunInstance.baseUri = TestCasConnectivity.GetUrlWithTrailingSlash(this.ConnectionUri);
                    testCasConnectivityRunInstance.UrlType = VirtualDirectoryUriScope.Unknown;
                    testCasConnectivityRunInstance.CasFqdn = null;
                    result = new List <TestCasConnectivity.TestCasConnectivityRunInstance>
                    {
                        testCasConnectivityRunInstance
                    };
                }
                else
                {
                    result = base.PopulateInfoPerCas(instance, outcomeList);
                }
            }
            finally
            {
                TaskLogger.LogExit();
            }
            return(result);
        }
        protected override WebSession CreateWebSession(TestCasConnectivity.TestCasConnectivityRunInstance instance)
        {
            ExchangeWebAppVirtualDirectory exchangeWebAppVirtualDirectory = (ExchangeWebAppVirtualDirectory)instance.VirtualDirectory;

            if (exchangeWebAppVirtualDirectory.LiveIdAuthentication && instance.UrlType == VirtualDirectoryUriScope.Internal)
            {
                return(new WindowsLiveIdWebSession(TestCasConnectivity.GetUrlWithTrailingSlash(exchangeWebAppVirtualDirectory.ExternalUrl), instance.baseUri, instance.credentials, instance.LiveIdAuthenticationConfiguration));
            }
            return(base.CreateWebSession(instance));
        }