Esempio n. 1
0
 internal void Profiletitle()
 {
     Commondriver.Excellib.PopulateInCollection(Base.Excelpath, "ProfilePage data");
     Dropdown.Click();
     Commondriver.Wait(10);
     Fname.Clear();
     Fname.SendKeys(Commondriver.Excellib.ReadData(2, "FirstName"));
     Lname.Clear();
     Lname.SendKeys(Commondriver.Excellib.ReadData(2, "LastName"));
     Commondriver.Wait(10);
     TitleSave.Click();
     Commondriver.Wait(10);
 }
Esempio n. 2
0
        public void Create_AccountPage()
        {
            Fname.SendKeys("Testing");
            Lname.SendKeys("Guru");
            Email.SendKeys("*****@*****.**");
            TelePhone.SendKeys("07777777");
            Fax.SendKeys("012345");
            Company.SendKeys("IT_Tech");
            Address1.SendKeys("BFD");
            Address2.SendKeys("city road");
            City.SendKeys("Leeds");



            //DropDown list for Country
            SelectElement DropDown2 = new SelectElement(Country_UK);

            DropDown2.SelectByText("United Kingdom");
            BasePage.driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);

            //DropDown list for State/Region
            SelectElement DropDown1 = new SelectElement(RegionState);

            DropDown1.SelectByText("West Yorkshire");
            BasePage.driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);

            ZipCode.SendKeys("12345");



            CountryDropDownClick.Click();
            //Country_UK.Click();

            LoginName.SendKeys("tguru2713");
            Password.SendKeys("123qwe");
            ConfirmPass.SendKeys("123qwe");
            Suscribe.Click();
            TermsCondition.Click();
            ContinueBtn1.Click();
            ContinueBtn2.Click();
            //Assert.IsTrue
        }