public void TestCaseInitialize() { this.TestInitialize(); this.adapter = BaseTestSite.GetAdapter <IMS_WSSRESTAdapter>(); this.sutAdapter = BaseTestSite.GetAdapter <IMS_WSSRESTSUTControlAdapter>(); this.documentLibraryName = Common.GetConfigurationPropertyValue("DoucmentLibraryListName", this.Site); this.generalListName = Common.GetConfigurationPropertyValue("GeneralListName", this.Site); // Check if MS-WSSREST service is supported in current SUT. if (!Common.GetConfigurationPropertyValue <bool>("MS-WSSREST_Supported", this.Site)) { SutVersion currentSutVersion = Common.GetConfigurationPropertyValue <SutVersion>("SutVersion", this.Site); this.Site.Assert.Inconclusive("This test suite does not supported under current SUT, because MS-WSSREST_Supported value set to false in MS-WSSREST_{0}_SHOULDMAY.deployment.ptfconfig file.", currentSutVersion); } }
public void TestCaseInitialize() { this.TestInitialize(); this.adapter = BaseTestSite.GetAdapter<IMS_WSSRESTAdapter>(); this.sutAdapter = BaseTestSite.GetAdapter<IMS_WSSRESTSUTControlAdapter>(); this.documentLibraryName = Common.GetConfigurationPropertyValue("DoucmentLibraryListName", this.Site); this.generalListName = Common.GetConfigurationPropertyValue("GeneralListName", this.Site); // Check if MS-WSSREST service is supported in current SUT. if (!Common.GetConfigurationPropertyValue<bool>("MS-WSSREST_Supported", this.Site)) { SutVersion currentSutVersion = Common.GetConfigurationPropertyValue<SutVersion>("SutVersion", this.Site); this.Site.Assert.Inconclusive("This test suite does not supported under current SUT, because MS-WSSREST_Supported value set to false in MS-WSSREST_{0}_SHOULDMAY.deployment.ptfconfig file.", currentSutVersion); } }