コード例 #1
0
        public void AddNewTask2()

        {
            WaitforIt(Properties.InactivePhase); AddBtn.WaitUntil();

            AddBtn.Clicks();

            AddNewTask.Clicks();

            TaskName.WaitUntil();

            TaskName.EnterText("Test Task 2");

            TaskTypeParent("Office Tasks").Clicks();

            TaskTypeChild("Discipline").Clicks(); WaitforIt(Properties.VeryInactivePhase);//WaitforIt(Properties.VeryInactivePhase)

            Complexity.SelectIndex(1); WaitforIt(Properties.VeryInactivePhase);

            SaveTask.WaitUntil();

            SaveTask.Clicks();

            AddBtn.WaitUntil();
        }
コード例 #2
0
        public void AddNewTask4()

        {
            AddBtn.WaitUntil(); AddBtn.Clicks();

            AddNewTask.Clicks();

            TaskName.WaitUntil();

            TaskName.EnterText("Unplanned Task 2");

            TaskTypeParent("Office Tasks").Clicks();

            TaskTypeChild("Discipline").Clicks(); WaitforIt(Properties.VeryInactivePhase);

            Complexity.SelectIndex(1); WaitforIt(Properties.InactivePhase);

            UCodeNewTask.WaitUntil();

            UCodeNewTask.Clicks(); WaitforIt(Properties.VeryInactivePhase);

            UCommentNewTask.EnterText("Unplanned2"); WaitforIt(Properties.InactivePhase);

            SaveTask.WaitUntil();

            SaveTask.Clicks(); WaitforIt(Properties.InactivePhase);

            AddBtn.WaitUntil();
        }
コード例 #3
0
        public void AddNewTask1()

        {
            TaskElement("Maintenance Spend - WTD").Clicks();

            RemoveTask.WaitUntil();

            RemoveTask.Clicks();

            AddBtn.Clicks();

            AddNewTask.Clicks();

            TaskName.WaitUntil();

            TaskName.EnterText("Test Task 1");

            TaskTypeParent("Office Tasks").Clicks();

            TaskTypeChild("Discipline").Clicks(); WaitforIt(Properties.VeryInactivePhase);

            Complexity.SelectIndex(1); WaitforIt(Properties.VeryInactivePhase);

            SaveTask.WaitUntil();

            SaveTask.Clicks();

            AddBtn.WaitUntil();
        }