Esempio n. 1
0
        public void IndividualDetails()
        {
            /*Individual details*/
            SetMethods.ImplicitlyWait(10);
            PersalNum.EnterText("061375468");
            TitleArrow.Clicks();
            Thread.Sleep(500);
            Mr.Clicks();
            Surname.EnterText("Tailor");
            Initial.EnterText("D");
            IDNum.EnterText("8710039822081");
            OutSide.Clicks();
            Thread.Sleep(1500);
            Age.EnterText("32");
            Thread.Sleep(1000);
            GenderArrow.Clicks();
            Thread.Sleep(500);
            Male.Clicks();

            /*PersalNum.SendKeys("061375468");
             * TitleArrow.Click();
             * Thread.Sleep(500);
             * Mr.Click();
             * Surname.SendKeys("Tailor");
             * Initial.SendKeys("JH");
             * IDNum.SendKeys("8710039822081");
             * OutSide.Click();
             * Age.SendKeys("32");
             * GenderArrow.Click();
             * Thread.Sleep(500);
             * Male.Click();*/
        }
Esempio n. 2
0
 public void createAuthor()
 {
     Name.EnterText(AuthorName, "Name field");
     Age.EnterText(AuthorAge, "Author selectList");
     InsertButton.ClickOnIt("Insert button");
 }