Пример #1
0
        public void AddingOperation(string Description, string Quantity)
        {
            EnterDescription.SendKeys(Keys.Control + "A");
            EnterDescription.SendKeys(Keys.Delete);
            EnterDescription.SendKeys(Description);
            EnterQuantity.Clear();
            EnterQuantity.SendKeys(Quantity);
            EnterDescription.SendKeys(Keys.Tab);
            string unitPrice = UnitPrice.GetText();

            Console.WriteLine(unitPrice);
            CustomWait.WaitFortheLoadingIconDisappear2000();
            string salesPriceAmount = SalesPriceAmount.GetText();

            Console.WriteLine(salesPriceAmount);
            AddRowInOperation.Click();
            CustomWait.WaitFortheLoadingIconDisappear2000();
            DeleteRowInOperation.Click();
        }
Пример #2
0
 public void AgainAddingOperation(string Quantity)
 {
     EnterQuantity.Clear();
     EnterQuantity.SendKeys(Quantity);
     AddRowInOperation.Click();
 }