Exemplo n.º 1
0
 private void RunMenu()
 {
     Robot.ClickMenuItem(new string[] { "Examination", "Number Of Questions", "10 Questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Number Of Questions", "20 Questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Number Of Questions", "50 Questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Question Type", "All fill in blank questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Question Type", "All multiple-choice questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Question Type", "Pick up qustions randomly" });
     Robot.ClickMenuItem(new string[] { "File", "Exit" });
 }
Exemplo n.º 2
0
 public void TestAbout()
 {
     Robot.ClickMenuItem(new string[] { "Examination", "Number of Questions", "50 Questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Number of Questions", "20 Questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Number of Questions", "10 Questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Question Type", "All fill-in-blank questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Question Type", "All multiple-choice questions" });
     Robot.ClickMenuItem(new string[] { "Examination", "Question Type", "Pick up questions randomly" });
     Robot.ClickMenuItem(new string[] { "Help", "About Spelling Checker" });
     Robot.ClickMenuItem(new string[] { "Help", "About Dictionary" });
 }
Exemplo n.º 3
0
 public void TestExit()
 {
     Robot.ClickMenuItem(new string[] { "File", "Exit" });
 }
 public void TestAbout()
 {
     Robot.ClickMenuItem(new string[] { "About", "Calculator" });
     Robot.AssertWindow("Caption");
     Robot.SendKeyEnterToMessageBox("Caption");
 }