Esempio n. 1
0
 public static void TestVB()
 {
     Console.WriteLine(ListItemOp.ListItemSelect("电话号码查询", "ganww"));
     Console.WriteLine(ListOP.SelectItemByCount("电话号码查询", "6", 0));
     MenuOp.MenuClick("电话号码查询", "工具");
     MenuOp.MenuItemClick("电话号码查询", "工具", "选项");
     //RadioOp.RadioSelect("查询设置", "和");
 }
Esempio n. 2
0
 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:"));
 }
Esempio n. 3
0
 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"));
 }