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

com.sdl.selenium.utils.config.WebLocatorConfigReader 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)

There is a newer version: 20.08.432.0_b2d2a09
Show newest version
package com.sdl.selenium.utils.config;

import com.sdl.selenium.web.SearchType;
import com.sdl.selenium.web.utils.PropertiesReader;

import java.util.Arrays;

public class WebLocatorConfigReader extends PropertiesReader {

    private static final String DEFAULT_CONFIG =
            "\n weblocator.log.containers=true" +
            "\n weblocator.log.useClassName=false" +
            "\n weblocator.log.xPath=true" +
            "\n weblocator.log.retryException=true" +
            "\n weblocator.log.suggestions=false" +
            "\n weblocator.highlight=false" +
            "\n weblocator.generateCssSelector=false" +
            "\n weblocator.defaults.renderMillis=3000" +
            "\n #accepted values for searchType: " + Arrays.asList(SearchType.values()) +
            "\n weblocator.defaults.searchType=CONTAINS" +
            "\n weblocator.defaults.labelPosition=//following-sibling::*//" +
            "\n weblocator.min.chars.toType=-1" +
            "\n driver.autoClose=true" +
            "\n driver.implicitlyWait=100" +
            "\n upload.exe.path=src\\\\test\\\\resources\\\\upload\\\\upload.exe" +
            "\n weblocator.log.params.exclude=Password,Current Password,New Password";

    public WebLocatorConfigReader() {
        this(null);
    }

    public WebLocatorConfigReader(String resourcePath) {
        super(DEFAULT_CONFIG, resourcePath);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy