public static void FindFlight() { EditOp.EditInput("Flight Reservation", "__/__/__", "11/11/11"); Utility.wait(2); ComboBoxOp.ComboBoxItemSelect("Flight Reservation", "1003", "Frankfurt"); ComboBoxOp.ComboBoxItemSelect("Flight Reservation", "2004", "Los Angeles"); ButtonOp.buttonClick("Flight Reservation", "FLIGHT"); ListItemOp.ListItemSelect("Flights Table", "20330"); ButtonOp.buttonClick("Flights Table", "OK"); EditOp.EditInput("Flight Reservation", "1014", "Ivan"); ButtonOp.buttonClick("Flight Reservation", "Insert Order"); ButtonOp.buttonClick("Flight Reservation", "6"); Console.WriteLine(EditOp.Exsit("Flight Reservation", "Class:")); }
public string FindFlight() { while (EditOp.Exsit("Flight Reservation", "__/__/__") == false) { Utility.wait(2); } EditOp.EditInput("Flight Reservation", "__/__/__", "11/11/11"); ComboBoxOp.ComboBoxItemSelect("Flight Reservation", "1003", "Frankfurt"); ComboBoxOp.ComboBoxItemSelect("Flight Reservation", "2004", "Los Angeles"); ButtonOp.buttonClick("Flight Reservation", "FLIGHT"); ListItemOp.ListItemSelect("Flights Table", "20330"); ButtonOp.buttonClick("Flights Table", "OK"); EditOp.EditInput("Flight Reservation", "1014", "Ivan"); EditOp.EditInput("Flight Reservation", "1029", "3"); RadioOp.RadioSelect("Flight Reservation", "Business"); ButtonOp.buttonClick("Flight Reservation", "Insert Order"); Utility.wait(10); return(EditOp.EditOutput("Flight Reservation", "1016")); }