Пример #1
0
 public void WhenIAddCoordinatorToEvent(string constituentLastName, string eventName)
 {
     constituentLastName += uniqueStamp;
     eventName           += uniqueStamp;
     BBCRMHomePage.OpenEventsFA();
     EventsFunctionalArea.EventSearch(eventName);
     EventPanel.AddCoordinator(constituentLastName);
 }
 public void WhenIAddCoordinatorToEvent(string constituentLastName, string eventName)
 {
     try
     {
         constituentLastName += uniqueStamp;             // the unique stamp is a series of numbers to keep names different from each other
         eventName           += uniqueStamp;             // the unique stamp is a series of numbers to keep names different from each other
         BBCRMHomePage.OpenEventsFA();                   // open event functional area
         EventsFunctionalArea.EventSearch(eventName);    // search for an event
         EventPanel.AddCoordinator(constituentLastName); // add a coordinator
     }
     catch (Exception ex)
     {
         throw new Exception("Error: could not add a coordinator to an event. " + ex.Message);
     }
 }