Esempio n. 1
0
 public ShellAdapter OkClick()
 {
     OkButton.Click();
     Sleeper.Delay(500);
     ResetAuthenWindow();
     return(new ShellAdapter());
 }
Esempio n. 2
0
 public AddReasonAdapter AddReason()
 {
     AddReasonButton.Click();
     Sleeper.Delay(500);
     ResetFindCustomerResultsWindow();
     return(new AddReasonAdapter());
 }
 public FindCustomerResultsAdapter EnterPressed()
 {
     findCustomerWindow.SendKeys("{ENTER}");
     Sleeper.Delay(500);
     ResetFindCustomerWindow();
     return(new FindCustomerResultsAdapter());
 }
Esempio n. 4
0
 public AddCustomerToQueueAdapter AddNewCustomerToQueue()
 {
     CustomerQueue();
     AddNewCustomertoQueueButton.Click();
     Sleeper.Delay(500);
     return(new AddCustomerToQueueAdapter());
 }
Esempio n. 5
0
 public FindCustomerAdapter FindCustomer()
 {
     CustomerQueue();
     FindCustomerButton.Click();
     Sleeper.Delay(500);
     return(new FindCustomerAdapter());
 }
Esempio n. 6
0
 public AddReasonAdapter QueueForService()
 {
     QueueForServiceButton.Click();
     Sleeper.Delay(500);
     ResetFindCustomerResultsWindow();
     return(new AddReasonAdapter());
 }
 public FindCustomerResultsAdapter Find()
 {
     FindButton.Click();
     Sleeper.Delay(500);
     ResetFindCustomerWindow();
     return(new FindCustomerResultsAdapter());
 }
Esempio n. 8
0
        public void QueueForServiceContextMenuClick()
        {
            Menu contextMenu = new Menu(ContextMenuAccessMethod.ShiftF10);

            contextMenu[ResourceNames.AddReason.QueueForServiceContextMenuText].Execute();
            Sleeper.Delay(500);
            ResetAddReasonWindow();
        }
Esempio n. 9
0
        public AuthenAdapter ManagerApprovalLinkClick()
        {
            // Sleeper.Delay(500);
            ManagerApprovalLink.Click();
            Sleeper.Delay(500);

            return(new AuthenAdapter());
        }
Esempio n. 10
0
        public void QueueForServiceContextMenuClick()
        {
            Menu contextMenu = new Menu(ContextMenuAccessMethod.ShiftF10);

            contextMenu[ResourceNames.FindCustomerResults.QueueForServiceContextMenuName].Execute();
            Sleeper.Delay(500);
            ResetFindCustomerResultsWindow();
        }
Esempio n. 11
0
        public AddReasonAdapter AddReasonContextMenuClick()
        {
            Menu contextMenu = new Menu(ContextMenuAccessMethod.ShiftF10);

            contextMenu[ResourceNames.FindCustomerResults.AddReasonContextMenuName].Execute();
            Sleeper.Delay(500);
            return(new AddReasonAdapter());
        }
        public void SelfServiceContextMenuClick()
        {
            Menu contextMenu = new Menu(ContextMenuAccessMethod.ShiftF10);

            contextMenu[ResourceNames.AddCustomerToQueue.SelfServiceContextMenuText].Execute();
            Sleeper.Delay(500);
            ResetAddCustomerToQueueWindow();
        }
Esempio n. 13
0
        public StringCollection GetCustomersInMyQueue()
        {
            Sleeper.Delay(3000);
            StringCollection customersInQueue = new StringCollection();

            foreach (ListBoxItem queueItem in MyCustomerQueueListBox.Items)
            {
                customersInQueue.Add(queueItem.Text);
            }

            return(customersInQueue);
        }
Esempio n. 14
0
 public void SelfService()
 {
     SelfServiceButton.Click();
     Sleeper.Delay(500);
     ResetAddReasonWindow();
 }
 public void EscPressed()
 {
     addCustomerToQueueWindow.SendKeys("{ESC}");
     Sleeper.Delay(500);
     ResetAddCustomerToQueueWindow();
 }
 public void Cancel()
 {
     CancelButton.Click();
     Sleeper.Delay(500);
     ResetAddCustomerToQueueWindow();
 }
 public void SelfService()
 {
     SelfServiceButton.Click();
     Sleeper.Delay(500);
     ResetAddCustomerToQueueWindow();
 }
 public void OkClick()
 {
     OkButton.Click();
     Sleeper.Delay(500);
     ResetAddCustomerToQueueWindow();
 }
Esempio n. 19
0
 public void SelfService()
 {
     SelfServiceButton.Click();
     Sleeper.Delay(500);
     ResetFindCustomerResultsWindow();
 }
Esempio n. 20
0
 public void EscPressed()
 {
     authenWindow.SendKeys("{ESC}");
     Sleeper.Delay(500);
     ResetAuthenWindow();
 }
Esempio n. 21
0
 public void Cancel()
 {
     CancelButton.Click();
     Sleeper.Delay(500);
     ResetAuthenWindow();
 }
Esempio n. 22
0
 public void OkClick()
 {
     OkButton.Click();
     Sleeper.Delay(500);
     ResetAddReasonWindow();
 }
Esempio n. 23
0
 public void EscPressed()
 {
     addReasonWindow.SendKeys("{ESC}");
     Sleeper.Delay(500);
     ResetAddReasonWindow();
 }
Esempio n. 24
0
 public RightPaneAdapter ServiceCustomer()
 {
     ServiceCustomerButton.Click();
     Sleeper.Delay(500);
     return(new RightPaneAdapter(shellWindow));
 }
Esempio n. 25
0
 public void Cancel()
 {
     CancelButton.Click();
     Sleeper.Delay(500);
     ResetFindCustomerResultsWindow();
 }
Esempio n. 26
0
 public void QueueForService()
 {
     QueueForServiceButton.Click();
     Sleeper.Delay(500);
     ResetAddReasonWindow();
 }
 public PurchaseCDAdapter PurchaseCD()
 {
     PurchaseCDButton.Click();
     Sleeper.Delay(4000);
     return(new PurchaseCDAdapter(shellWindow, CustomerDetailsTabConrol));
 }
Esempio n. 28
0
 public void EscPressed()
 {
     findCustomerResultsWindow.SendKeys("{ESC}");
     Sleeper.Delay(500);
     ResetFindCustomerResultsWindow();
 }
Esempio n. 29
0
 public RightPaneAdapter GetRightPaneAdapter()
 {
     Sleeper.Delay(500);
     return(new RightPaneAdapter(shellWindow));
 }
Esempio n. 30
0
 private void ResetFindCustomerResultsWindow()
 {
     Sleeper.Delay(500);
     findCustomerResultsWindow = MAUIUtilities.GetWindow(BankWorkBench.Application,
                                                         ResourceNames.FindCustomerResults.WindowTitle, false);
 }