Ejemplo n.º 1
0
        public void ShoppiningTest(string sex, string name, string surname, string email, string password, string date,
                                   string company, string vat, string adress, string storage, string zipcod, string city, string phone)
        {
            SearchPage sp = mainPage.ClickOnT();

            sp.ClickOn();
            Thread.Sleep(2000);
            Cart        ct = sp.AddToCart();
            PrivateData pd = ct.ClickOnDiv();

            pd.Sex(sex).FirstName(name).LastName(surname).Email(email).Password(password).Brithday(date).Agree();
            Adress aadress = pd.ClickOnContinue();

            aadress.Company(company).PDV(vat)._Adress(adress).Storage(storage).PostCode(zipcod).City(city).Phone(phone);
            ShippingMethod SM = aadress.SM();

            SM.Coment();
            Paying pay = SM.Pay();

            pay.SwichPay();
        }