public WndProjectWorkbench()
 {
     #region Search Criteria
     AutomationElement rootElement = AutomationElement.RootElement;
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Project Workbench", PropertyExpressionOperator.Contains));
     #endregion
 }
 public WndImageProOnlineHelp()
 {
     #region Search Criteria
     AutomationElement rootElement = AutomationElement.RootElement;
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Image-Pro Online Help", PropertyExpressionOperator.Contains));
     #endregion
 }
Beispiel #3
0
        public HtmlRow(UITestControl parent)
            : base(parent)
        {
            SearchProperties.Add(HtmlRow.PropertyNames.TagName, "tr");

            RulesDictionary.Add(HtmlRow.PropertyNames.RowIndex, ByRowIndex);
        }
 public UIStudioWindow()
 {
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "HwndWrapper",
                                                 PropertyExpressionOperator.Contains));
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Warewolf",
                                                 PropertyExpressionOperator.Contains));
 }
Beispiel #5
0
        public HtmlCellBase(UITestControl parent)
            : base(parent)
        {
            SearchProperties.Add(HtmlControl.PropertyNames.TagName, "td");

            RulesDictionary.Add(HtmlCell.PropertyNames.ColumnIndex, ByColumnIndex);
            RulesDictionary.Add(HtmlCell.PropertyNames.RowIndex, ByRowIndex);
        }
Beispiel #6
0
 public UIErrorWindow()
 {
     #region Search Criteria
     SearchProperties[UITestControl.PropertyNames.Name] = "Error";
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "HwndWrapper", PropertyExpressionOperator.Contains));
     WindowTitles.Add("Error");
     #endregion
 }
Beispiel #7
0
 public SearchViewModel()
 {
     foreach (var p in
              PropertySearcher.GetSearchProperties(typeof(TEntity)))
     {
         SingleProperty property = ContainerManager.RegisterProperty(p);
         SearchProperties.Add(property);
     }
 }
Beispiel #8
0
 public WndMacrosVb()
 {
     #region Search Criteria
     AutomationElement rootElement = AutomationElement.RootElement;
     SearchProperties[UITestControl.PropertyNames.Name] = "Macros.vb - Project Workbench";
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "WindowsForms10.Window", PropertyExpressionOperator.Contains));
     WindowTitles.Add("Macros.vb - Project Workbench");
     #endregion
 }
        public UISearchResultForB338TWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Search Result For", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";

            #endregion
        }
        public UIDemandsNeedsMotorComWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Demands&Needs(", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "OpusApp";

            #endregion
        }
        public UIDemand2DocMicrosoftWWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, " - Microsoft Word Viewer", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "OpusApp";

            #endregion
        }
        public DDItemWindow()
        {
            #region Search Criteria

            SearchProperties[PropertyNames.AccessibleName] = "DropDown";
            SearchProperties.Add(new PropertyExpression(PropertyNames.ClassName, "WindowsForms10.Window",
                                                        PropertyExpressionOperator.Contains));

            #endregion
        }
Beispiel #13
0
        public UIRenewalsNewBusinessAWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "New Business Accept", PropertyExpressionOperator.Contains));
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Renewals", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";

            #endregion
        }
Beispiel #14
0
        public UIPolicygdfhdfdfghgdfWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Policy: ", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6MDIForm";
            WindowTitles.Add("Policy: ");

            #endregion
        }
Beispiel #15
0
        public UISelectTaminsurerforiWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Select Tam insurer for insurer code ", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "TfSelectItem";
            WindowTitles.Add(WindowName);

            #endregion
        }
Beispiel #16
0
        public UIText(UITestControl uiItemWindow, string name)
            : base(uiItemWindow)
        {
            if (!string.IsNullOrEmpty(name))
            {
                SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, name, PropertyExpressionOperator.Contains));
            }

            WindowTitles.Add(uiItemWindow.WindowTitles[0]);
        }
        public UIUpdateGeneralTransacWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name] = "Update General Transactions";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "WindowsForms10.Window", PropertyExpressionOperator.Contains));
            WindowTitles.Add("Update General Transactions");

            #endregion
        }
        public Uiautoxxx1000Window()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "-1001", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            //WindowTitles.Add("AUTO208-1001");

            #endregion
        }
        public UISavethefileasWindow()
        {
            #region Search Criteria

            windowName = "Save";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Save", PropertyExpressionOperator.Contains));
            WindowTitles.Add(windowName);

            #endregion
        }
        public UIEllisWindow()
        {
            #region Search Criteria

            SearchProperties[PropertyNames.Name] = "Ellis";
            SearchProperties.Add(new PropertyExpression(PropertyNames.ClassName, "WindowsForms10.Window",
                                                        PropertyExpressionOperator.Contains));
            WindowTitles.Add("Ellis");

            #endregion
        }
Beispiel #21
0
        public UIIEPolicyDocumentWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(PropertyNames.Name, "Quote", PropertyExpressionOperator.Contains));

            SearchProperties[PropertyNames.ClassName] = "IEFrame";
            //WindowTitles.Add("\\HHQuote.htm");

            #endregion
        }
Beispiel #22
0
        public UICreditCheckWindow()
        {
            #region Search Criteria

            windowTitle = "Credit Check";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, windowTitle, PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            WindowTitles.Add(windowTitle);

            #endregion
        }
        public UIAutoPolicyWindow()
        {
            #region Search Criteria

            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "-1001", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            //windowTitle = "AUTO187-1001";
            //WindowTitles.Add(windowTitle);

            #endregion
        }
        public UIHouseholdRenewalsWindow()
        {
            #region Search Criteria

            windowName = "Household Renewals Amend Risk";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, windowName, PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            WindowTitles.Add(windowName);

            #endregion
        }
Beispiel #25
0
        public UIWorkerProfileAALTONEWindow()
        {
            #region Search Criteria

            SearchProperties[PropertyNames.Name] = "Worker Profile-AALTONEN, MATTHEW";
            SearchProperties.Add(new PropertyExpression(PropertyNames.ClassName, "WindowsForms10.Window",
                                                        PropertyExpressionOperator.Contains));
            WindowTitles.Add("Worker Profile-AALTONEN, MATTHEW");

            #endregion
        }
        public WndCaptureSuimulationControl()
        {
            #region Search Criteria

            AutomationElement rootElement = AutomationElement.RootElement;
            SearchProperties[WinControl.PropertyNames.ControlName] = "DockSite2";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "WindowsForms10.Window",
                                                        PropertyExpressionOperator.Contains));

            #endregion
        }
Beispiel #27
0
        public UIPleaseSelectWhoToFolWindow()
        {
            #region Search Criteria

            windowName = "Please select WHO to follow up";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, windowName, PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.Name]      = windowName;
            SearchProperties[UITestControl.PropertyNames.ClassName] = "TfSelectItem";
            WindowTitles.Add(windowName);

            #endregion
        }
Beispiel #28
0
        public WndRecording()
        {
            #region Search Criteria

            AutomationElement rootElement = AutomationElement.RootElement;
            SearchProperties[UITestControl.PropertyNames.Name] = "Recording";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "WindowsForms10.Window",
                                                        PropertyExpressionOperator.Contains));
            WindowTitles.Add("Recording");

            #endregion
        }
Beispiel #29
0
        public UIItemWindow(
            UITestControl searchLimitContainer,
            string controlId    = "",
            string instance     = "",
            string className    = "",
            string accessible   = "",
            string name         = "",
            string checkboxName = "",
            string controlName  = "")
            : base(searchLimitContainer)
        {
            #region Search Criteria

            if (searchLimitContainer.WindowTitles.Count > 0)
            {
                WindowName = searchLimitContainer.WindowTitles[0];
            }

            WindowTitles.Add(WindowName);

            if (!string.IsNullOrEmpty(controlId))
            {
                SearchProperties[WinControl.PropertyNames.ControlId] = controlId;
            }

            if (!string.IsNullOrEmpty(instance))
            {
                SearchProperties[UITestControl.PropertyNames.Instance] = instance;
            }

            if (!string.IsNullOrEmpty(className))
            {
                SearchProperties[UITestControl.PropertyNames.ClassName] = className;
            }

            if (!string.IsNullOrEmpty(accessible))
            {
                SearchProperties[PropertyNames.AccessibleName] = accessible;
            }

            if (!string.IsNullOrEmpty(name))
            {
                SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, name, PropertyExpressionOperator.Contains));
            }

            if (!string.IsNullOrEmpty(controlName))
            {
                SearchProperties[WinControl.PropertyNames.ControlName] = controlName;
            }

            #endregion
        }
Beispiel #30
0
        public WndImagePro()
        {
            #region Search Criteria

            AutomationElement rootElement = AutomationElement.RootElement;
            SearchProperties[UITestControl.PropertyNames.Name]        = "Image-Pro";
            SearchProperties[UITestControl.PropertyNames.ControlType] = "Client";
            SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "WindowsForms10.Window",
                                                        PropertyExpressionOperator.Contains));
            WindowTitles.Add("Image-Pro");

            #endregion
        }