Examples of click()


Examples of com.vaadin.testbench.elements.GridLayoutElement.click()

        layout.$(TextFieldElement.class).get(1).click();
        assertLogText("GridLayout 5th child clicked",
                "2. GridLayout: left click on This is tf5");

        // click on the layout body (not any component inside the layout)
        layout.click(130, 41);
        assertLogText("GridLayout body clicked",
                "3. GridLayout: left click on <none>");
    }

    @Test
View Full Code Here

Examples of com.vaadin.testbench.elements.MenuBarElement.click()

    public void closeComboboxPopupOnClickToMenuBar() {
        openTestURL();

        openPopup();
        MenuBarElement menuBar = selectMenuBar();
        menuBar.click();
        Assert.assertFalse("Combobox popup items are visible",
                isElementPresent(By.className("gwt-MenuItem")));

        openPopup();
        menuBar = selectMenuBar();
View Full Code Here

Examples of com.vaadin.testbench.elements.PanelElement.click()

        openTestURL();

        final PanelElement panelElement = $(PanelElement.class).first();
        // I currently have no idea why PhantomJS wants a click here to work
        // properly
        panelElement.click();
        waitForElementVisible(By.cssSelector(".layout-update"));

        compareScreen("large");

        // Resize below 600px width breakpoint
View Full Code Here

Examples of com.vaadin.ui.Button.click()

    @Test
    public void testClickDisabled() {
        Button b = getButton();
        b.setEnabled(false);
        b.click();
        Assert.assertFalse("Disabled button fires click events", clicked);
    }

    @Test
    public void testClickReadOnly() {
View Full Code Here

Examples of daveayan.gherkinsalad.components.Element.click()

  public void click_if_enabled() {
    wait_between_steps();
    Element element = root_element();
    if(this.isEnabled()) {
      element.click();
    } else {
      action("Did not click disabled " + this);
      takeScreenshot();
    }
  }
View Full Code Here

Examples of daveayan.gherkinsalad.components.core.Element.click()

        String value = input.getAttribute("value");
        if(value == null) return Boolean.FALSE;
        return value.trim().equals(code);
      }
    });
    element_to_select.click();
  }

  public Strings get_all_options() {
    Elements root_elements = root_elements();
    return toStrings(root_elements);
View Full Code Here

Examples of net.sf.sahi.client.ElementStub.click()

  @Override
  public void set( ElementDescriptor descriptor ) {
    ElementStub element = find( descriptor );
    if ( StringUtils.equalsIgnoreCase( CHOOSE, descriptor.getValue() ) || StringUtils.startsWithIgnoreCase(
        CheckboxElementHandler.CHECKED, descriptor.getValue() ) ) {
      element.click();
    }
  }

  @Override
  public void verify( ElementDescriptor descriptor, boolean expectedOutcome ) {
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotButton.click()

        assertTrue( backButton.isEnabled() );
        assertTrue( nextButton.isEnabled() );
        assertTrue( finishButton.isEnabled() );

        // finish dialog
        finishButton.click();
        bot.sleep( 2000 );

        // ensure connection was created
        ConnectionManager connectionManager = ConnectionCorePlugin.getDefault().getConnectionManager();
        assertNotNull( connectionManager.getConnections() );
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotMenu.click()

        SWTBotUtils.selectNode( bot, browserTree, "DIT", "Root DSE", "ou=system", "ou=users",
            "cn=Barbara Jensen+uid=bjensen" );

        SWTBotMenu contextMenu = browserTree.contextMenu( "Rename Entry..." );
        contextMenu.click();

        bot.text( "Barbara Jensen" ).setText( "Babs Jensen" );
        bot.text( "bjensen" ).setText( "babsjens" );
        bot.button( "OK" ).click();
View Full Code Here

Examples of net.sf.swtbot.widgets.SWTBotTreeItem.click()

        SWTBotTree tree = bot.tree( 0 );
        tree.select( "sn" );
        bot.text( "" ).setText( "test" );
        // click to finish editing of sn
        SWTBotTreeItem cnNode = SWTBotUtils.selectNode( bot, tree, "sn" );
        cnNode.click();

        // click finish to create the entry
        bot.button( "Finish" ).click();

        // wait till entry is created and selected in the tree
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.