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

com.sdl.selenium.bootstrap.form.Form 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.bootstrap.form;

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

/**
 * 

Used for finding element process (to generate xpath address)

*

Example:

*
{@code
 * 
* Form Title *
* }
*

In Java write this:

*
{@code
 * private Form form = new Form().setTitle("Form Title");
 * form.ready();
 * }
*/ public class Form extends WebLocator implements IWebLocator { public Form() { setClassName("Form"); setTag("form"); WebLocator e = new WebLocator().setTag("legend"); setTemplateTitle(e); } public Form(WebLocator container) { this(); setContainer(container); } public Form(String title) { this(null, title); } public Form(WebLocator container, String title) { this(container); setTitle(title, SearchType.EQUALS); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy