Testy Save

Automated Acceptance Testing: Selenium and Selenium WebDriver test framework for web applications (best suited for ExtJS and complex UI)

Project README


Automated Acceptance Testing.

Selenium WebDriver test framework for web applications. You don't have to worry anymore about complex XPATH or CSS selector because we are taking care for you about that. Simply set each property on the element and we will generate the necessary selector. You can combine more properties/attributes on the same selector very easy.

This project is optimized for:

Java Usage Example

    <div class="close" title="Close">x</div>
    <span class="minimize" title="Minimize">_</span>
    Button saveButton   = new Button().setText("Save");
    Button cancelButton = new Button().setText("Cancel");
    // more properties for selecting/testing specific element with wanted attributes
    WebLocator closeIcon = new WebLocator().setClasses("close").setTitle("Close");
    WebLocator minimIcon = new WebLocator().setClasses("minimize").setTitle("Minimize");

    public class SubscribePage {
        private WebLocator header = new WebLocator().setClasses("header");
        private TextField emailField = new TextField().setLabel("Email");
        private WebLink subscribeLink = new WebLink(header, "Subscribe now");
        public void subscribe(String email) {
    public class SubscribeTest extends TestBase {
        SubscribePage subscribePage = new SubscribePage();
        public void subscribeTest() {
            subscribePage.subscribe("[email protected]");

Table and rows examples

    public class SubscribersPage {
        private Table table = new Table();
        public boolean unsubscribe(String email) {
            // find row that contains specified email in second column
            Row row = table.getRow(new Cell(2, email));
            // find remove button inside specified row
            Button removeButton = new Button(row, "Remove");
            return removeButton.click();
    public class RemoveSubscriberTest extends TestBase {
        SubscribersPage subscribersPage = new SubscribersPage();
        public void unsubscribeTest() {
            boolean removed = subscribersPage.unsubscribe("[email protected]");
            //... assert


  • Java
  • Maven

Getting the maven plugin


Here is how these lines appear in a project pom.xml

Initialize Testy

Simple way to migrate or use Testy

After you create your driver, pass the reference to Testy, then just it use as you want

driver = new FirefoxDriver();
// then just use WebLocator or any other classes from Testy

OR Create your driver using Testy much simpler

public static WebDriver driver;
static {
private static void startSuite() {
    try {
        driver = WebDriverConfig.getWebDriver(Browser.FIREFOX);
    } catch (Exception e) {
        LOGGER.error("Exception when start suite", e);

To use Selenium Grid you need the following:

  1. Set this system property: remoteDriver=true
  2. Pass the remote hub url as a parameter when initializing the WebDriver. e.g.:
WebDriver driver = WebDriverConfig.getWebDriver(EnvConfig.getBrowserConfigPath(), new URL("http://localhost:4444/wd/hub"));
WebDriver driver = WebDriverConfig.getWebDriver(URL remoteUrl, DesiredCapabilities capabilities);

Here is how these lines appear in a project

Example project

Here is a sample project with cucumber and Testy on Chrome browser:

Full example

Release Notes

Release Notes for Testy 2.13.1

  • added setChildNodes(SearchType searchType, final WebLocator... childNodes) method
  • improvement select(boolean doScroll, String... nodes) method in Tree
  • update webdriver version 3.141.59
  • TODO

Detailed Release Notes

Getting SNAPSHOT versions of the plugin


Setting up Testy project

Setting UP


Testy is MIT licensed.

Open Source Agenda is not affiliated with "Testy" Project. README Source: RWS/Testy
Open Issues
Last Commit
3 days ago

Open Source Agenda Badge

Open Source Agenda Rating