Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions uiengine/src/main/java/com/axway/ats/uiengine/SwingDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public class SwingDriver extends UiDriver {

/**
*
* @param windowTitile the window title
* @param windowTitle the window title
*/
protected SwingDriver( String windowTitile ) {
protected SwingDriver( String windowTitle ) {

this(null, windowTitile);
this(null, windowTitle);
}

/**
Expand All @@ -81,12 +81,12 @@ protected SwingDriver( Class<?> mainClassOfTestedApplication ) {
/**
*
* @param mainClassOfTestedApplication the class containing the "main" method
* @param windowTitile the window title
* @param windowTitle the window title
*/
protected SwingDriver( Class<?> mainClassOfTestedApplication, String windowTitile ) {
protected SwingDriver( Class<?> mainClassOfTestedApplication, String windowTitle ) {

this.mainClassOfTestedApplication = mainClassOfTestedApplication;
this.windowTitle = windowTitile;
this.windowTitle = windowTitle;
}

/**
Expand All @@ -100,6 +100,20 @@ public SwingDriver( String jnlpLocation, boolean cacheEnabled ) {
this.isJnlpCached = cacheEnabled;
}

/**
*
* @param jnlpLocation JNLP location. It can be local JNLP file path or a remote url
* @param windowTitle the window title
* @param cacheEnabled whether the JNLP is cached or not
*/
public SwingDriver( String jnlpLocation, String windowTitle, boolean cacheEnabled ) {

this.jnlpLocation = jnlpLocation;
this.windowTitle = windowTitle;
this.isJnlpCached = cacheEnabled;
}


@Override
@PublicAtsApi
public void start() {
Expand Down
Loading