Exemple #1
0
 public ShellAdapter OkClick()
 {
     OkButton.Click();
     Sleeper.Delay(500);
     ResetAuthenWindow();
     return(new ShellAdapter());
 }
Exemple #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());
 }
Exemple #4
0
 public AddCustomerToQueueAdapter AddNewCustomerToQueue()
 {
     CustomerQueue();
     AddNewCustomertoQueueButton.Click();
     Sleeper.Delay(500);
     return(new AddCustomerToQueueAdapter());
 }
Exemple #5
0
 public FindCustomerAdapter FindCustomer()
 {
     CustomerQueue();
     FindCustomerButton.Click();
     Sleeper.Delay(500);
     return(new FindCustomerAdapter());
 }
Exemple #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());
 }
        public void QueueForServiceContextMenuClick()
        {
            Menu contextMenu = new Menu(ContextMenuAccessMethod.ShiftF10);

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

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

            contextMenu[ResourceNames.FindCustomerResults.QueueForServiceContextMenuName].Execute();
            Sleeper.Delay(500);
            ResetFindCustomerResultsWindow();
        }
Exemple #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();
        }
Exemple #13
0
        public StringCollection GetCustomersInMyQueue()
        {
            Sleeper.Delay(3000);
            StringCollection customersInQueue = new StringCollection();

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

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