public void Chrome_RegistrationTest() { RegistrationPageObject registrationPage = new RegistrationPageObject(); SignInClick SignClickRegistration = new SignInClick(); Driver.Navigate().GoToUrl("http://automationpractice.com/index.php"); SignClickRegistration.FillUserSignIn("*****@*****.**"); waitingForPageUntilEmeentIsVisible(By.Id("uniform-id_gender1"), 5); registrationPage.FillUserForm("Mateusz", "Test", "Qweqwe123", "Mateusz", "Test", "Hamynha Software", "Hamynha Software", "Strzegomska 103 53-610 Wroclaw", "Wroclaw", "53-610", "Please send the package imidetley", "746490001", "667224762", "Company Adress"); }
public void Firefox_RegistrationTest() { SignInClick SignClickRegistration = new SignInClick(); RegistrationPageObject registrationPage = new RegistrationPageObject(); ExcelLib.PopulateInCollection(@"C:\C#\Automatyzacja\ExcellData\Employees.xlsx"); Driver.Navigate().GoToUrl("http://automationpractice.com/index.php"); Console.WriteLine("Udaje pod wskazany adres"); //waitOnPage(10); SignClickRegistration.FillUserSignIn("*****@*****.**"); waitOnPage(5); registrationPage.FillUserForm(ExcelLib.ReadData(4, "firstName"), ExcelLib.ReadData(4, "lastName"), ExcelLib.ReadData(4, "typePassword"), ExcelLib.ReadData(4, "addresFirstName"), ExcelLib.ReadData(4, "addresLastName"), ExcelLib.ReadData(4, "companyName"), ExcelLib.ReadData(4, "companyAdress1"), ExcelLib.ReadData(4, "companyAdress2"), ExcelLib.ReadData(4, "cityName"), ExcelLib.ReadData(4, "zipPostCode"), ExcelLib.ReadData(4, "additionalInfo"), ExcelLib.ReadData(4, "landLinePhone"), ExcelLib.ReadData(4, "mobilePhone"), ExcelLib.ReadData(4, "allias")); }