コード例 #1
0
        public void SetPassangerData(int num, char gender, string lastName, string name, string date, string expdate, string passport)
        {
            BookingPage bookingPage = new BookingPage(driver);

            bookingPage.SetGender(num, (gender == 'm') ? 0 : 1);
            bookingPage.SetLastName(num, lastName);
            bookingPage.SetName(num, name);
            bookingPage.SetBDay(num, date);
            bookingPage.SetExpireDate(num, expdate);
            bookingPage.SetPassport(num, passport);
        }