public void TestAbout()
 {
     Robot.ClickMenuItem(new string[] { "About", "Calculator" });
     Robot.AssertWindow("Caption");
     Robot.SendKeyEnterToMessageBox("Caption");
 }
 public void TestAdd()
 {
     RunScriptAdd();
     Robot.AssertText(RESULT_CONTROL_NAME, EXPECTED_VALUE);
 }
 public void Cleanup()
 {
     Robot.CleanUp();
 }
 public void Initialize()
 {
     Robot.Initialize(FILE_PATH, CALCULATOR_TITLE);
 }
示例#5
0
 public void ClickPageButtonTest()
 {
     Robot.ClickButton(HOST.NextPage.ToString());
     Robot.ClickButton(HOST.LastPage.ToString());
 }
示例#6
0
 public void Initialize()
 {
     Robot.Initialize(FILE_NAME, FORM.StartUpForm.ToString());
     Robot.ClickButton(STARTUP.CustomerSideFormButton.ToString());
     Robot.SetForm(FORM.CustomerSideForm.ToString());
 }