Exemplo n.º 1
0
 /// <summary>
 /// Select the database type radio button.
 /// </summary>
 /// <param name="databaseType">The database type.</param>
 public void SelectDatabaseType(string databaseType)
 {
     if (!string.IsNullOrEmpty(databaseType))
     {
         WatiNUtil.SelectRadioButtonByName(IEInstance, "wizInstall$rblDatabases", databaseType);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Select the display mode for pages.
 /// </summary>
 /// <param name="pageDisplayMode">The display mode. Either "View", "Edit" or "Layout".</param>
 public void SelectPageDisplayMode(string pageDisplayMode)
 {
     if (!string.IsNullOrEmpty(pageDisplayMode))
     {
         WatiNUtil.SelectRadioButtonByName(IEInstance, "dnn$IconBar.ascx$optMode", pageDisplayMode);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Select the install method radio button.
 /// </summary>
 /// <param name="installMethod">The install method. "Auto", "Custom" or "Typical"</param>
 public void SelectInstallMethod(string installMethod)
 {
     if (!string.IsNullOrEmpty(installMethod))
     {
         WatiNUtil.SelectRadioButtonByName(IEInstance, "wizInstall$rblInstall", installMethod);
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Selects a Resource pack type on the create language pack.
 /// </summary>
 /// <param name="packageType">The package type to select. Ex. "Core", "Module", "Provider" etc.</param>
 public void SelectLanguagePackType(string packageType)
 {
     if (!string.IsNullOrEmpty(packageType))
     {
         if (PopUpFrame != null)
         {
             WatiNUtil.SelectRadioButtonByName(PopUpFrame, "LanguagePackWriter$rbPackType", packageType);
         }
         WatiNUtil.SelectRadioButtonByName(IEInstance, "LanguagePackWriter$rbPackType", packageType);
     }
 }