/// <summary> /// Overrides OfficeProtocolTestClass's TestInitialize(), to initialize the instance of IMS_AUTHWSAdapter and get some configuration properties. /// </summary> protected override void TestInitialize() { base.TestInitialize(); this.authwsAdapter = this.Site.GetAdapter <IMS_AUTHWSAdapter>(); this.authwsAdapter.SwitchWebApplication(AuthenticationMode.Windows); this.validUserName = Common.GetConfigurationPropertyValue("UserName", this.Site); this.validPassword = Common.GetConfigurationPropertyValue("Password", this.Site); }
/// <summary> /// Overrides OfficeProtocolTestClass's TestInitialize(), to initialize the instance of IMS_AUTHWSAdapter and get some configuration properties. /// </summary> protected override void TestInitialize() { base.TestInitialize(); this.authwsAdapter = this.Site.GetAdapter<IMS_AUTHWSAdapter>(); this.authwsAdapter.SwitchWebApplication(AuthenticationMode.Passport); this.validUserName = Common.GetConfigurationPropertyValue("UserName", this.Site); this.validPassword = Common.GetConfigurationPropertyValue("Password", this.Site); }
/// <summary> /// Overrides OfficeProtocolTestClass's TestInitialize(), to initialize the instance of IMS_AUTHWSAdapter and get some configuration properties. /// </summary> protected override void TestInitialize() { base.TestInitialize(); this.authwsAdapter = this.Site.GetAdapter<IMS_AUTHWSAdapter>(); this.authwsAdapter.SwitchWebApplication(AuthenticationMode.Forms); this.validUserName = Common.GetConfigurationPropertyValue("UserName", this.Site); this.validPassword = Common.GetConfigurationPropertyValue("Password", this.Site); this.invalidPassword = Common.GenerateInvalidPassword(this.validPassword); this.invalidUserName = this.GenerateRandomString(10); }