All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sdl.selenium.extjs6.window.ToolTip Maven / Gradle / Ivy

Go to download

Automated Acceptance Testing. Selenium and Selenium WebDriver test framework for web applications. (optimized for dynamic html, ExtJS, Bootstrap, complex UI, simple web applications/sites)

The newest version!
package com.sdl.selenium.extjs6.window;

import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.WebLocator;

public class ToolTip extends WebLocator {

    public ToolTip() {
        setInfoMessage("ToolTip");
        setClasses("x-tip");
        setAttribute("aria-hidden", "false");
    }

    public ToolTip(String message, SearchType... searchTypes) {
        this();
        WebLocator messageEl = new WebLocator(this).setClasses("x-tip-body").setText(message, searchTypes);
        setChildNodes(messageEl);
    }

    public String getMessage() {
        WebLocator messageEl = new WebLocator(this).setClasses("x-tip-body");
        return messageEl.getText();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy