public InfoLogPage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }
Example #2
0
        public bool GetTabExists(string tabName)
        {
            try
            {
                WinWindow parentWindow = new UIAXCWindow();
                WinWindow itemWindow = new WinWindow(parentWindow);
                itemWindow.SearchProperties.Add("Instance", "11");
                itemWindow.SearchProperties.Add("ClassName", "WindowsForms10.Window", PropertyExpressionOperator.Contains);
                itemWindow.WaitForControlReady();
                WinTabList tabList = new WinTabList(itemWindow);
                tabList.SearchProperties.Add("ControlType", "TabList");
                tabList.WaitForControlReady();
                UITestControlCollection tablistChildren = tabList.GetChildren();
                int tabListCount = tablistChildren.Count();
                for (int i = 0; i <= tabListCount; i++)
                {

                    if ((tablistChildren.ElementAt(i).ControlType.ToString() == "TabPage") && (tablistChildren.ElementAt(i).Name == tabName) && !(tablistChildren.ElementAt(i).State.ToString().Contains("Invisible")))
                    {
                        return true;
                    }

                } return false;
            }
            catch
            {
                return false;
            }
        }
 public CRMOutboundNotificationPage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }
Example #4
0
 public void ClickOutboundCRMMessagesLink()
 {
     WinWindow parentWindow = new UIAXCWindow();
     WinControl parentLink = UIControls.GetGroupedControl("Submenu1", "Hyperlink", "Inquiries", parentWindow);
     WinControl uILink = UIControls.GetChildControl("CRMOutboundNotification", parentLink, "Hyperlink");
     Mouse.Click(uILink, new Point(25, uILink.Height / 2));
 }
Example #5
0
 public void ClickSalesTaxLink()
 {
     WinWindow parent = new UIAXCWindow();
     UIControls.ClickMaximizeMenuGroup("Setup", parent);
     WinControl uILink = UIControls.GetGroupedControl("SalesTax", "Hyperlink", "Setup", parent);
     if (uILink.Height <= 20)
     {
         Mouse.Click(uILink, new Point(25, uILink.Height / 2));
     }
 }
Example #6
0
 public void ClickConsolidateOnlineLink()
 {
     WinWindow parentWindow = new UIAXCWindow();
     WinControl parentLink = UIControls.GetGroupedControl("Consolidate", "Hyperlink", "Periodic", parentWindow);
     WinControl uILink = UIControls.GetChildControl("LedgerConsolidate2", parentLink, "Hyperlink");
     Mouse.Click(uILink, new Point(25, uILink.Height / 2));
 }
Example #7
0
 public void ClickLedgerPostingGroupsLink()
 {
     WinWindow parentWindow = new UIAXCWindow();
     WinControl parentLink = UIControls.GetGroupedControl("SalesTax", "Hyperlink", "Setup", parentWindow);
     WinControl uILink = UIControls.GetChildControl("TaxAccountGroup", parentLink, "Hyperlink");
     Mouse.Click(uILink, new Point(25, uILink.Height / 2));
 }
 public BondReceiptJournalPage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }
Example #9
0
 public void ClickBPayFileLink()
 {
     WinWindow parentWindow = new UIAXCWindow();
     WinControl parentLink = UIControls.GetGroupedControl("BPAY", "Hyperlink", "Inquiries", parentWindow);
     WinControl uILink = UIControls.GetChildControl("BPAYFileHeader", parentLink, "Hyperlink");
     Mouse.Click(uILink, new Point(25, uILink.Height / 2));
 }
 public OutboundCRMMessagePage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }
 public BPayFileExceptionsPage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }
 public JournalVoucherPage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }
 public BondTransactionsPage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }
 public GeneralJournalPage()
 {
     WinWindow thisWindow = new UIAXCWindow();
     UIControls.ClickMaximizeButton(new UIAXCWindow());
 }