/// <summary> /// Get the prerequisites for auto-detection. /// </summary> /// <returns>A instance of Prerequisites class.</returns> public Prerequisites GetPrerequisites() { config = new Configs(); config.LoadDefaultValues(); Prerequisites prereq = new Prerequisites() { Title = "Remote Desktop", Summary = "Please input the below info to detect SUT.", Properties = new Dictionary <string, List <string> >() }; prereq.AddProperty(RDPValueDetector.ServerDomain, config.ServerDomain); prereq.AddProperty(RDPValueDetector.ServerName, config.ServerName); prereq.AddProperty(RDPValueDetector.ServerPort, config.ServerPort); prereq.AddProperty(RDPValueDetector.ServerUserName, config.ServerUserName); prereq.AddProperty(RDPValueDetector.ServerUserPassword, config.ServerUserPassword); return(prereq); }
public Prerequisites GetPrerequisites() { ptfcfg.LoadDefaultValues(); Prerequisites prerequisites = new Prerequisites(); prerequisites.Title = "Properties"; prerequisites.Summary = "Properties required for checking Active Directory test environment."; prerequisites.Properties = new Dictionary <string, List <string> >(); prerequisites.AddProperty("Shared Password", ptfcfg.DomainUserPassword); prerequisites.AddProperty("Primary Domain", ptfcfg.PrimaryDomainDnsName); prerequisites.AddProperty("Primary Domain DC01", ptfcfg.Dc1NetBiosName); prerequisites.AddProperty("Primary Domain DC02", ptfcfg.Dc2NetbiosName); prerequisites.AddProperty("Primary Domain RODC", ptfcfg.RodcNetbiosName); prerequisites.AddProperty("Primary Domain Member", ptfcfg.DmNetbiosName); prerequisites.AddProperty("Child Domain", ptfcfg.ChildDomainDnsName); prerequisites.AddProperty("Trust Domain", ptfcfg.TrustDomainDnsName); return(prerequisites); }
public Prerequisites GetPrerequisites() { ptfcfg.LoadDefaultValues(); Prerequisites prerequisites = new Prerequisites(); prerequisites.Title = "Properties"; prerequisites.Summary = "Properties required for checking domain test environment."; prerequisites.Properties = new Dictionary <string, List <string> >(); prerequisites.AddProperty(AZODSutDetector.KdcAdminPwd, ptfcfg.KdcAdminPwd); prerequisites.AddProperty(AZODSutDetector.KdcDomainName, ptfcfg.KdcDomainName); prerequisites.AddProperty(AZODSutDetector.KdcName, ptfcfg.KdcName); prerequisites.AddProperty(AZODSutDetector.CrossForestDCName, ptfcfg.CrossForestDCName); prerequisites.AddProperty(AZODSutDetector.ApplicationServerName, ptfcfg.ApplicationServerName); prerequisites.AddProperty(AZODSutDetector.CrossForestApplicationServerName, ptfcfg.CrossForestApplicationServerName); prerequisites.AddProperty(AZODSutDetector.ClientComputerName, ptfcfg.ClientComputerName); return(prerequisites); }
public Prerequisites GetPrerequisites() { config = new Configs(); config.LoadDefaultValues(); Prerequisites prereq = new Prerequisites() { Title = "Check Environment", Summary = "Please configure the environment", Properties = new Dictionary <string, List <string> >() }; prereq.AddProperty("Full Qualified Domain Name", config.FullDomainName); prereq.AddProperty("Domain Administrator Username", config.DomainAdminUsername); prereq.AddProperty("Domain Administrator Password", config.DomainAdminPwd); prereq.AddProperty("Primary DC Operating System", config.PDCOperatingSystem); prereq.AddProperty("Primary DC Computer Name", config.PDCComputerName); prereq.AddProperty("Primary DC IP Address", config.PDCIP); prereq.AddProperty("Client Computer Operating System", config.ClientOperatingSystem); prereq.AddProperty("Client Operating System Version", config.ClientOSVersion); prereq.AddProperty("Client Computer Name", config.ClientComputerName); prereq.AddProperty("Client IP Address", config.ClientIP); prereq.AddProperty("Client Administrator Username", config.ClientAdminUsername); prereq.AddProperty("Client Administrator Password", config.ClientAdminPwd); prereq.AddProperty("Enable Offline Capture Testing", bool.Parse(config.TriggerDisabled).ToString(), (!bool.Parse(config.TriggerDisabled)).ToString()); prereq.AddProperty("Capture File Path", config.LocalCapFilePath); return(prereq); }
public Prerequisites GetPrerequisites() { ptfcfg.LoadDefaultValues(); Prerequisites prerequisites = new Prerequisites(); prerequisites.Title = "Properties"; prerequisites.Summary = "Properties required for checking ADFSPIP test environment."; prerequisites.Properties = new Dictionary <string, List <string> >(); prerequisites.AddProperty("Domain Name", ptfcfg.DomainName); prerequisites.AddProperty("Domain Username", ptfcfg.DomainUsername); prerequisites.AddProperty("Domain Password", ptfcfg.DomainPassword); prerequisites.AddProperty("SUT IP", ptfcfg.SutIPAddress); prerequisites.AddProperty("SUT Username", ptfcfg.SutUsername); prerequisites.AddProperty("SUT User Password", ptfcfg.SutPassword); prerequisites.AddProperty("ADFS DNS", ptfcfg.AdfsDns); prerequisites.AddProperty("Adfs Cert", ptfcfg.AdfsCert); prerequisites.AddProperty("Sign Cert", ptfcfg.AdfsSignCert); prerequisites.AddProperty("Encrypt Cert", ptfcfg.AdfsEncryptCert); prerequisites.AddProperty("ADFS Windows Version", new List <string>() { "2016", "2012R2" }); prerequisites.AddProperty("Web App Cert", ptfcfg.WebAppCert); prerequisites.AddProperty("CARoot Cert", ptfcfg.WebAppClientCert); string driverIP = Utility.ExtractIP(ptfcfg.CommonDriverShareFolder); prerequisites.AddProperty("Driver Machine IP", driverIP); prerequisites.AddProperty("PFX Password", ptfcfg.CommonPfxPassword); return(prerequisites); }