net.thucydides.core.pages.components
Class FileToUpload

Package class diagram package FileToUpload
java.lang.Object
  extended by net.thucydides.core.pages.components.FileToUpload

public class FileToUpload
extends Object

A class that helps upload a file to an HTML form in using a fluent API.


Constructor Summary
FileToUpload(String filename)
           
 
Method Summary
static boolean isAFullWindowsPath(String filename)
           
static boolean isOnTheUnixFileSystem(String filename)
           
static boolean isOnTheWindowsFileSystem(String filename)
           
 void to(org.openqa.selenium.WebElement uploadFileField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileToUpload

public FileToUpload(String filename)
Method Detail

isOnTheWindowsFileSystem

public static boolean isOnTheWindowsFileSystem(String filename)

isAFullWindowsPath

public static boolean isAFullWindowsPath(String filename)

isOnTheUnixFileSystem

public static boolean isOnTheUnixFileSystem(String filename)

to

public void to(org.openqa.selenium.WebElement uploadFileField)


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.