public void TestCaseInitialize() { this.sitessAdapter = Site.GetAdapter <IMS_SITESSAdapter>(); Common.CheckCommonProperties(this.Site, true); this.sutAdapter = Site.GetAdapter <IMS_SITESSSUTControlAdapter>(); this.newSubsite = "NewSubsite" + Common.FormatCurrentDateTime(); }
public void TestCaseInitialize() { this.sitessAdapter = Site.GetAdapter <IMS_SITESSAdapter>(); Common.CheckCommonProperties(this.Site, true); this.sutAdapter = Site.GetAdapter <IMS_SITESSSUTControlAdapter>(); // Since the default value of the form digest timeout is too long to wait, change it to a smaller value. int formDigestTimeout = int.Parse(Common.GetConfigurationPropertyValue(Constants.ExpireTimePeriodBySecond, this.Site)); int temp = this.sutAdapter.SetFormDigestTimeout(formDigestTimeout); Site.Assert.AreEqual <int>(formDigestTimeout, temp, "The digest timeout value should be set to the input value."); }
public void TestCaseInitialize() { this.sitessAdapter = Site.GetAdapter<IMS_SITESSAdapter>(); Common.CheckCommonProperties(this.Site, true); this.sutAdapter = Site.GetAdapter<IMS_SITESSSUTControlAdapter>(); // Since the default value of the form digest timeout is too long to wait, change it to a smaller value. int formDigestTimeout = int.Parse(Common.GetConfigurationPropertyValue(Constants.ExpireTimePeriodBySecond, this.Site)); int temp = this.sutAdapter.SetFormDigestTimeout(formDigestTimeout); Site.Assert.AreEqual<int>(formDigestTimeout, temp, "The digest timeout value should be set to the input value."); }
public void TestCaseInitialize() { this.sitessAdapter = Site.GetAdapter <IMS_SITESSAdapter>(); Common.CheckCommonProperties(this.Site, true); this.sutAdapter = Site.GetAdapter <IMS_SITESSSUTControlAdapter>(); }
public void TestCaseInitialize() { this.sitessAdapter = Site.GetAdapter<IMS_SITESSAdapter>(); Common.CheckCommonProperties(this.Site, true); this.sutAdapter = Site.GetAdapter<IMS_SITESSSUTControlAdapter>(); this.solutionName = "NewSolution" + Common.FormatCurrentDateTime(); }
public void TestCaseInitialize() { this.sitessAdapter = Site.GetAdapter<IMS_SITESSAdapter>(); Common.CheckCommonProperties(this.Site, true); this.sutAdapter = Site.GetAdapter<IMS_SITESSSUTControlAdapter>(); }