コード例 #1
0
        private static void ChangeBaseUrl(Telerik.Sitefinity.TestUI.Core.Configuration.ConfigredUrls url)
        {
            var configUrl = ConfigurationHelper.GetConfiurationSettings(url);

            Manager.Current.Settings.Web.SetBaseUrl(configUrl);
        }
コード例 #2
0
 /// <summary>
 /// Provides access to wrappers.
 /// </summary>
 /// <param name="url">The base url.</param>
 /// <returns>New instance of wrappers facade.</returns>
 public static WrappersFacade Wrappers(Telerik.Sitefinity.TestUI.Core.Configuration.ConfigredUrls url = Telerik.Sitefinity.TestUI.Core.Configuration.ConfigredUrls.NotSet)
 {
     BATFrontend.ChangeBaseUrl(url);
     return(new WrappersFacade());
 }