コード例 #1
0
 public GetButton(UITestControl searchLimitContainer, string buttonId, string appName) :
     base(searchLimitContainer)
 {
     AppName = appName;
     SearchProperties[WpfButton.PropertyNames.AutomationId] = buttonId;
     WindowTitles.Add(AppName);
 }
コード例 #2
0
 public WindowsSecurityWindow()
 {
     SearchProperties[PropertyNames.Name]      = "Windows Security";
     SearchProperties[PropertyNames.ClassName] = "#32770";
     TechnologyName = "MSAA";
     WindowTitles.Add("Windows Security");
 }
コード例 #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
        }
コード例 #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);
 }
コード例 #5
0
 public UIViewAttachmentWindow()
 {
     #region Search Criteria
     SearchProperties[UITestControl.PropertyNames.Name]      = "View Attachment";
     SearchProperties[UITestControl.PropertyNames.ClassName] = "ThunderRT6FormDC";
     WindowTitles.Add("View Attachment");
     #endregion
 }
コード例 #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 UIWindowsSecurityWindow()
        {
            #region Search Criteria

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

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

            WindowTitles.Add("Ellis");

            #endregion
        }
コード例 #11
0
        public UIItemGroup(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #12
0
        public UITheAgencyManagerSignWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #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");
        }
コード例 #14
0
        public UICommissionAdjustmentWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #15
0
        public UIDocumentPropertiesWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #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
        }
コード例 #17
0
        public UIItemClient1(UITestControl searchLimitContainer)
            : base(searchLimitContainer)
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #18
0
        public UIMTAEffectiveDatesWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #19
0
        public UIRenewalLoaderWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #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
        }
コード例 #21
0
        public UITransactionListWindow(UITestControl searchLimitContainer)
            : base(searchLimitContainer)
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #22
0
ファイル: UIPane.cs プロジェクト: ICL-LisaBlanchard/TamTests
        public UIPane(UITestControl uiWindow, string name)
            : base(uiWindow)
        {
            SearchProperties[UITestControl.PropertyNames.Name] = name;

            foreach (string w in uiWindow.WindowTitles)
            {
                WindowTitles.Add(w);
            }
        }
コード例 #23
0
        public UI_gridOverdueCustomerWindow(UITestControl searchLimitContainer) :
            base(searchLimitContainer)
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #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
        }
コード例 #25
0
        public UICurrentOrFutureWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #26
0
        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
        }
コード例 #27
0
        public UIInsurEtamWindow1()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #28
0
        public UIPointOfSaleWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #29
0
        public UIAmendRiskWindow()
        {
            #region Search Criteria

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

            #endregion
        }
コード例 #30
0
        public UIVehicleLookupWindow()
        {
            #region Search Criteria

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

            #endregion
        }