Exemple #1
0
        public static void Save(this WebClient client)
        {
            client.ClickCommand("Save (CTRL+S)");

            client.HandleSaveDialog();
            client.Browser.Driver.WaitForTransaction();
        }
 /// <summary>
 /// Clicks command on the command bar
 /// </summary>
 /// <param name="name">Name of button to click</param>
 /// <param name="subname">Name of button on submenu to click</param>
 /// <param name="subSecondName">Name of button on submenu (3rd level) to click</param>
 public void ClickCommand(string name, string subname = null, string subSecondName = null)
 {
     _client.ClickCommand(name, subname, subSecondName);
 }
Exemple #3
0
 /// <summary>
 /// Clicks command on the command bar
 /// </summary>
 /// <param name="name">Name of button to click</param>
 /// <param name="subname">Name of button on submenu to click</param>
 public void ClickCommand(string name, string subname = "", bool moreCommands = false)
 {
     _client.ClickCommand(name, subname, moreCommands);
 }
Exemple #4
0
 /// <summary>
 /// Clicks on the Save and Close button in the Email Page
 /// </summary>
 public void SaveAndCloseEmail()
 {
     //Emails no longer use the quick create form so must handle as special case
     _client.ClickCommand("Save & Close");
     //SaveAndClose(Reference.Timeline.Email);
 }
Exemple #5
0
 /// <summary>
 /// Clicks on entity dialog ribbon button
 /// </summary>
 /// <param name="secondSubButtonName"></param>
 /// <param name="buttonName">Name of button to click</param>
 /// <param name="subButtonName">Name of button on submenu to click</param>
 /// <param name="secondSubButtonName">Name of button on submenu (3rd level) to click</param>
 public bool ClickCommand(string buttonName, string subButtonName = null, string secondSubButtonName = null)
 {
     return(_client.ClickCommand(buttonName, subButtonName, secondSubButtonName));
 }