Ejemplo n.º 1
0
 /// <summary>
 /// Add an event to the multi-level event.  If an event if currently selected in
 /// the hierachy, then the new event will be added a child to the selected event.
 /// </summary>
 /// <param name="eventName">The name of the event to add.</param>
 public static void AddExistingEvent(string eventName)
 {
     WaitClick(getXButton(GetDialogId(DialogIds), "Add existing"));
     SetTextField(getXInput("EventSearch", "NAME"), eventName);
     WaitClick(SearchDialog.getXSearchButton);
     SearchDialog.SelectFirstResult();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Add a marketing selection to the segment.
        /// </summary>
        /// <param name="selection">The selection to add.</param>
        public static void AddSelection(string selection)
        {
            var dialogId = GetDialogId(DialogIds);

            OpenTab("Details", dialogId);
            WaitClick(getXDialogButton("Add", dialogId));
            SetTextField(getXInput("MarketingSelectionSearch", "_NAME_value"), selection);
            SearchDialog.Search();
            SearchDialog.SelectFirstResult();
        }