public void TestCaseInitialize() { this.dwsAdapter = Site.GetAdapter <IMS_DWSSAdapter>(); Common.CheckCommonProperties(this.Site, true); // Set default Dws service credential to admin credential. string userName = Common.GetConfigurationPropertyValue("UserName", this.Site); string password = Common.GetConfigurationPropertyValue("Password", this.Site); string domain = Common.GetConfigurationPropertyValue("Domain", this.Site); this.dwsAdapter.Credentials = new NetworkCredential(userName, password, domain); }
public void TestCaseInitialize() { this.dwsAdapter = Site.GetAdapter<IMS_DWSSAdapter>(); Common.CheckCommonProperties(this.Site, true); // Set default Dws service credential to admin credential. string userName = Common.GetConfigurationPropertyValue("UserName", this.Site); string password = Common.GetConfigurationPropertyValue("Password", this.Site); string domain = Common.GetConfigurationPropertyValue("Domain", this.Site); this.dwsAdapter.Credentials = new NetworkCredential(userName, password, domain); }