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

arjuna.tpi.guiauto.component.GuiActionConfigBuilder Maven / Gradle / Ivy

Go to download

Arjuna-Java is the client implementation in Java for development of test automation using Arjuna. It uses TestNG as the test engine. With minor tweaks, it can be used with any other test engine or custom test automation implementations. Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net)

The newest version!
package arjuna.tpi.guiauto.component;

import java.util.HashMap;
import java.util.Map;

import arjuna.lib.enums.GuiActionConfigType;

public class GuiActionConfigBuilder {
	private Map settings = new HashMap();
	
	public GuiActionConfigBuilder checkType(boolean flag) {
		settings.put(GuiActionConfigType.CHECK_TYPE, flag);
		return this;
	}
	
	public GuiActionConfigBuilder checkPreState(boolean flag) {
		settings.put(GuiActionConfigType.CHECK_PRE_STATE, flag);
		return this;
	}
	
	public GuiActionConfigBuilder checkPostState(boolean flag) {
		settings.put(GuiActionConfigType.CHECK_POST_STATE, flag);
		return this;
	}
	
	public GuiActionConfig build() {
		return new GuiActionConfig(settings);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy