public override void Initialize(ITestSite testSite)
        {
            base.Initialize(testSite);

            timeout        = TimeSpan.FromMilliseconds(10000000);
            adamServerPort = string.Format("{0}.{1}:{2}", PDCNetbiosName, PrimaryDomainDnsName, ADLDSPortNum);
            PDCIPAddr      = IPAddress.Parse(PDCIPAddress);
            if ((ServerVersion)PDCOSVersion <= ServerVersion.Win2012R2)
            {
                TDXmlPath    = GetProperty(propertyGroup + "TDXmlPath");
                LdsTDXmlPath = GetProperty(propertyGroup + "LdsTDXmlPath");
            }
            else
            {
                OpenXmlPath    = GetProperty(propertyGroup + "OpenXmlPath2016");
                LdsOpenXmlPath = GetProperty(propertyGroup + "LdsOpenXmlPath2016");
            }
            LDSServerInstance = PDCNetbiosName + @"$" + ADLDSInstanceName;
            RunDSTestCases    = GetBoolProperty(propertyGroup + "RunDSTestCases");
            RunLDSTestCases   = GetBoolProperty(propertyGroup + "RunLDSTestCases");
            TDI67172Fixed     = GetBoolProperty(propertyGroup + "TDI.67172.Fixed");
            rootDomainDN      = "DC=" + PrimaryDomainDnsName.Replace(".", ",DC=");
            childDomainDN     = "DC=" + ChildDomainDnsName.Replace(".", ",DC=");
            if (RunLDSTestCases)
            {
                LDSRootObjectName = Utilities.GetLdsDomainDN(string.Format("{0}.{1}:{2}", PDCNetbiosName, PrimaryDomainDnsName, ADLDSPortNum));
            }
        }
 public override void Initialize(ITestSite testSite)
 {
     base.Initialize(testSite);
     AdLdsAppNamingContext = "partition:" + LDSApplicationNC;
     PDCFullName           = string.Format("{0}.{1}", PDCNetbiosName, PrimaryDomainDnsName);
     SDCFullName           = string.Format("{0}.{1}", SDCNetbiosName, PrimaryDomainDnsName);
     RODCFullName          = string.Format("{0}.{1}", RODCNetbiosName, PrimaryDomainDnsName);
     CDCFullName           = string.Format("{0}.{1}", CDCNetbiosName, ChildDomainDnsName);
     DomainNC = "DC=" + PrimaryDomainDnsName.Replace(".", ",DC=");
 }