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
 }
예제 #3
0
        public HtmlRow(UITestControl parent)
            : base(parent)
        {
            SearchProperties.Add(HtmlRow.PropertyNames.TagName, "tr");

            RulesDictionary.Add(HtmlRow.PropertyNames.RowIndex, ByRowIndex);
        }
예제 #4
0
 public UIStudioWindow()
 {
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.ClassName, "HwndWrapper",
                                                 PropertyExpressionOperator.Contains));
     SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Warewolf",
                                                 PropertyExpressionOperator.Contains));
 }
예제 #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);
        }
예제 #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
 }
예제 #7
0
 public SearchViewModel()
 {
     foreach (var p in
              PropertySearcher.GetSearchProperties(typeof(TEntity)))
     {
         SingleProperty property = ContainerManager.RegisterProperty(p);
         SearchProperties.Add(property);
     }
 }
예제 #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
        }
예제 #12
0
        public DDItemWindow()
        {
            #region Search Criteria

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

            #endregion
        }
예제 #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
        }
예제 #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
        }
예제 #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
        }
예제 #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
        }
예제 #20
0
        public UIEllisWindow()
        {
            #region Search Criteria

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

            #endregion
        }
예제 #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
        }
예제 #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
        }
예제 #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
        }
예제 #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
        }
예제 #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
        }
예제 #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
        }
예제 #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
        }