Package abbot.swt.finder.matchers

Examples of abbot.swt.finder.matchers.WidgetClassMatcher


    }

    // helper method
    public void clickTreeItem (Shell aShell, String[] treeList) throws MultipleFoundException, NotFoundException {
        ItemPath anItemPath = new ItemPath (treeList);
        Tree tree = (Tree) finder.find (aShell, new WidgetClassMatcher (Tree.class));
        TreeTester.getTreeTester().actionClickItem (tree, anItemPath);
        waitTime (WAIT_STANDARD);
    }
View Full Code Here


    }

    //helper method to check a box present in a tree
    public void checkTreeItem (Shell aShell, String[] treeList) throws MultipleFoundException, NotFoundException {
        ItemPath anItemPath = new ItemPath (treeList);
        Tree tree = (Tree) finder.find (aShell, new WidgetClassMatcher (Tree.class));
        TreeTester.getTreeTester().actionCheckItem(tree, anItemPath, true);
        waitTime (WAIT_STANDARD);
    }
View Full Code Here

        waitTime (WAIT_STANDARD);
    }

    // helper method
    public void setCombo (Shell aShell, String newText) throws MultipleFoundException, NotFoundException {
        Combo combo = (Combo) finder.find (aShell, new WidgetClassMatcher (Combo.class, true));
        ComboTester.getComboTester().actionClick(combo);
        ComboTester.getComboTester().actionKeyString(newText);
        waitTime (WAIT_STANDARD);
    }
View Full Code Here

TOP

Related Classes of abbot.swt.finder.matchers.WidgetClassMatcher

Copyright © 2018 www.massapicom. 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.