C# Class Microsoft.Protocols.TestSuites.Common.AutoDiscover

Static class which contains methods related to auto discover
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
GetAutoDiscoverProperties ( ITestSite site, string server, string userName, string domain, string requestURL, string transport ) : AutoDiscoverProperties

Get auto discover properties for server name and proxy name

Private Methods

Method Description
GetMAPIInternalURLProperty ( XmlNodeList elemList ) : string

Get mailstore internal url from xml node

GetServerNameProperty ( XmlNodeList elemList ) : string

Get server name from xml node

GetServerProxyProperty ( XmlNodeList elemList ) : string

Get server proxy from xml node

SendHttpPostRequest ( ITestSite site, string userName, string domain, string requestXml, string url, string &responseXml, bool getMAPIURL ) : HttpStatusCode

Run the Http post method

Method Details

GetAutoDiscoverProperties() public static method

Get auto discover properties for server name and proxy name
public static GetAutoDiscoverProperties ( ITestSite site, string server, string userName, string domain, string requestURL, string transport ) : AutoDiscoverProperties
site ITestSite An instance of interface ITestSite which provides logging, assertions, /// and adapters for test code onto its execution context.
server string Server to connect.
userName string User name used to logon.
domain string Domain name.
requestURL string The server url address to receive the request from clien.
transport string The current transport used in the test suite.
return AutoDiscoverProperties