Package org.eclipse.swtbot.swt.finder

Examples of org.eclipse.swtbot.swt.finder.SWTBot.text()


  @Test
  public void testCreateProfile() {
    bot.menu("File").menu("New Profile").click();
    SWTBot profile = bot.shell("Profile").bot();
    assertTrue("Profile Dialog opens with General Tab selected", profile.tabItem("General").isActive());
    profile.text(0).setText("SWTBot Profile 1");
    profile.text(1).setText("Description");
    profile.button("Ok").click();
  }
}
View Full Code Here


  public void testCreateProfile() {
    bot.menu("File").menu("New Profile").click();
    SWTBot profile = bot.shell("Profile").bot();
    assertTrue("Profile Dialog opens with General Tab selected", profile.tabItem("General").isActive());
    profile.text(0).setText("SWTBot Profile 1");
    profile.text(1).setText("Description");
    profile.button("Ok").click();
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.