Exemplo n.º 1
0
 public GetButton(UITestControl searchLimitContainer, string buttonId, string appName) :
     base(searchLimitContainer)
 {
     AppName = appName;
     SearchProperties[WpfButton.PropertyNames.AutomationId] = buttonId;
     WindowTitles.Add(AppName);
 }
Exemplo n.º 2
0
 public WindowsSecurityWindow()
 {
     SearchProperties[PropertyNames.Name]      = "Windows Security";
     SearchProperties[PropertyNames.ClassName] = "#32770";
     TechnologyName = "MSAA";
     WindowTitles.Add("Windows Security");
 }
Exemplo n.º 3
0
        public UIItemWindow(string controlId = "", string instance = "", string className = "", string accessible = "", string name = "")
        {
            #region Search Criteria

            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[UITestControl.PropertyNames.Name] = name;
            }

            #endregion
        }
Exemplo n.º 4
0
 internal UIWindowsSecurityWindow()
 {
     SearchProperties[UITestControl.PropertyNames.Name]      = "Windows Security";
     SearchProperties[UITestControl.PropertyNames.ClassName] = "#32770";
     TechnologyName = "MSAA";
     WindowTitles.Add("Windows Security");
     SearchConfigurations.Add(SearchConfiguration.AlwaysSearch);
 }
 public UIViewAttachmentWindow()
 {
     #region Search Criteria
     SearchProperties[UITestControl.PropertyNames.Name]      = "View Attachment";
     SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
     WindowTitles.Add("View Attachment");
     #endregion
 }
Exemplo n.º 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
 }
Exemplo n.º 7
0
        public UIWindowsSecurityWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name] = "Windows Security";
            WindowTitles.Add("Windows Security");

            #endregion
        }
Exemplo n.º 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
 }
Exemplo n.º 9
0
 public UIItemComboBox(UITestControl uiItemWindow, string name = "")
     : base(uiItemWindow)
 {
     if (!string.IsNullOrEmpty(name))
     {
         SearchProperties[UITestControl.PropertyNames.Name] = name;
     }
     WindowTitles.Add(uiItemWindow.WindowTitles[0]);
 }
Exemplo n.º 10
0
        public UI_gridOverdueCustomerTable(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria

            WindowTitles.Add("Ellis");

            #endregion
        }
Exemplo n.º 11
0
        public UIItemGroup(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria

            WindowTitles.Add("Worker Profile-AALTONEN, MATTHEW");

            #endregion
        }
Exemplo n.º 12
0
        public UITheAgencyManagerSignWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            WindowTitles.Add("The Agency Manager Signon");

            #endregion
        }
Exemplo n.º 13
0
        public UIWindowsExplorer()
        {
            Keyboard.SendKeys("E", ModifierKeys.Windows);
            Playback.Wait(1000);

            SearchProperties[UITestControl.PropertyNames.Name]      = "File Explorer";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "CabinetWClass";
            WindowTitles.Add("File Explorer");
        }
Exemplo n.º 14
0
        public UICommissionAdjustmentWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name]      = "Commission Adjustment";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "#32770";
            WindowTitles.Add("Commission Adjustment");

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

            SearchProperties[UITestControl.PropertyNames.Name]      = "Document Properties";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "#32770";
            WindowTitles.Add("Document Properties");

            #endregion
        }
Exemplo n.º 16
0
        public UIFindandGotoWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name]      = "Find and Goto";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "bosa_sdm_Microsoft Office WordView 11.0";
            WindowTitles.Add("Find and Goto");

            #endregion
        }
Exemplo n.º 17
0
        public UIItemClient1(UITestControl searchLimitContainer)
            : base(searchLimitContainer)
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.ClassName] = "Internet Explorer_Server";
            WindowTitles.Add("View Quote Details");

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

            SearchProperties[UITestControl.PropertyNames.Name]      = "MTA Effective Dates ";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            WindowTitles.Add(WindowName);

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

            SearchProperties[UITestControl.PropertyNames.Name]      = "Renewal Loader";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "TfUIMain";
            WindowTitles.Add("Renewal Loader");

            #endregion
        }
Exemplo n.º 20
0
        public UIImporttoTAMWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name]      = "Import to TAM";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "TfImportToTam";
            WindowTitles.Add("Import to TAM");

            #endregion
        }
Exemplo n.º 21
0
        public UITransactionListWindow(UITestControl searchLimitContainer)
            : base(searchLimitContainer)
        {
            #region Search Criteria

            SearchProperties[WinControl.PropertyNames.ControlId] = "32771";
            WindowTitles.Add("Transaction: autotest");

            #endregion
        }
Exemplo n.º 22
0
        public UIPane(UITestControl uiWindow, string name)
            : base(uiWindow)
        {
            SearchProperties[UITestControl.PropertyNames.Name] = name;

            foreach (string w in uiWindow.WindowTitles)
            {
                WindowTitles.Add(w);
            }
        }
Exemplo n.º 23
0
        public UI_gridOverdueCustomerWindow(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria

            SearchProperties[PropertyNames.ControlName] = "_gridOverdueCustomers";
            WindowTitles.Add("Ellis");

            #endregion
        }
Exemplo n.º 24
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
        }
        public UICurrentOrFutureWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name]      = "Current Or Future";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "TfCurrentOrFuture";
            WindowTitles.Add("Current Or Future");

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

            //SearchProperties.Add(new PropertyExpression(UITestControl.PropertyNames.Name, "Select Tam Activity Type for FSA", PropertyExpressionOperator.Contains));
            SearchProperties[UITestControl.PropertyNames.ClassName] = "TfSelectItem";
            WindowTitles.Add("Select Tam Activity Type for FSA 2");

            #endregion
        }
Exemplo n.º 27
0
        public UIInsurEtamWindow1()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name]      = "Personal Lines";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "#32770";
            WindowTitles.Add(windowTitle);

            #endregion
        }
Exemplo n.º 28
0
        public UIPointOfSaleWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name]      = WindowTitle;
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            WindowTitles.Add(WindowTitle);

            #endregion
        }
Exemplo n.º 29
0
        public UIAmendRiskWindow()
        {
            #region Search Criteria

            SearchProperties[UITestControl.PropertyNames.Name]      = "Amend Risk";
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            WindowTitles.Add("Amend Risk");

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

            SearchProperties[UITestControl.PropertyNames.Name]      = WindowName;
            SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
            WindowTitles.Add(WindowName);

            #endregion
        }