示例#1
0
        public void edit()
        {
            //click the create button

            Administrator.Click();

            //click the employee button
            Employee.Click();

            Thread.Sleep(3000);
            //click the lastPage button
            lastPage.Click();

            //click the edit button
            EditButtton.Click();

            userName.Click();
            userName.Clear();
            userName.SendKeys("Testers");
            //click the Save button
            Save.Click();

            //click the Back to list button
            BackToList.Click();
        }
示例#2
0
        public void EditAction()
        {
            //click the create button

            Administrator.Click();

            //click the employee button
            Employee.Click();

            Thread.Sleep(3000);
            //click the lastPage button
            lastPage.Click();

            //click the edit button
            EditButtton.Click();

            //change the new contact information
            ContactPath.SendKeys("123456");

            //click the Save button
            Save.Click();

            //click the Back to list button
            BackToList.Click();
        }