Beispiel #1
0
        public void HarvestPlant()
        {
            propogationNursery.Click();
            Thread.Sleep(1000);
            propogationGarden.Click();
            prodViewViablePlants.Click();
            Thread.Sleep(2000);
            workRoom.Click();
            Thread.Sleep(1000);
            genAg.Click();
            Thread.Sleep(1000);
            filterBySelection.Click();
            Thread.Sleep(2000);
            selectedPlant.Click();
            Thread.Sleep(2000);
            wareHouseLocation.Click();
            Thread.Sleep(1000);
            selectWarehouse.Click();
            Thread.Sleep(1000);
            chooseWareHouse.Click();
            Thread.Sleep(1000);
            Move.Click();
            Thread.Sleep(2000);

            Console.WriteLine("Move Plant To Vegetation - PASS");

            Vegetating.Click();
            Thread.Sleep(1000);
            genAgVeg.Click();
            Thread.Sleep(2000);
            filterBySelection.Click();
            Thread.Sleep(2000);
            selectedPlant.Click();
            Thread.Sleep(1000);
            wareHouseLocation.Click();
            Thread.Sleep(1000);
            selectWarehouse.Click();
            Thread.Sleep(1000);
            chooseWareHouse.Click();
            Thread.Sleep(1000);
            Move.Click();
            Thread.Sleep(1000);

            Console.WriteLine("Move Plant to Flowering - PASS");

            Flowering.Click();
            Thread.Sleep(2000);
            workRoom.Click();
            Thread.Sleep(1000);
            genAgFlow.Click();
            Thread.Sleep(2000);
            filterBySelection.Click();
            Thread.Sleep(2000);
            selectedPlant.Click();
            Thread.Sleep(1000);
            Harvest.Click();
            Thread.Sleep(2000);
            new SelectElement(destinationWH).SelectByValue("Harvest Room");
            new SelectElement(harvestType).SelectByValue("Full");
            Thread.Sleep(1000);
            harvestName.SendKeys("biraz2");
            Thread.Sleep(2000);
            harvestTotal.SendKeys("22");
            Thread.Sleep(2000);
            harChkBox.Click();
            Thread.Sleep(2000);
            Apply.Click();
            Thread.Sleep(3000);

            Console.WriteLine("Harvest Plant - PASS");

            cancelButton.Click();
        }