Пример #1
0
 /// <summary>
 /// Clicks on the Save and Close button in the Specified Activity Page
 /// </summary>
 /// <param name="activity">The name of the Activity, Valid Values are Appointment, Email, Task and PhoneCall</param>
 private void SaveAndClose(string activity)
 {
     _client.ClickButton(AppElements.Xpath[AppReference.QuickCreate.SaveAndCloseButton].Replace("[NAME]", Elements.ElementId[activity]));
 }