br.eti.kinoshita.selenium.model
Class SeleniumScreenshot
java.lang.Object
br.eti.kinoshita.selenium.model.SeleniumScreenshot
- All Implemented Interfaces:
- Serializable
public class SeleniumScreenshot
- extends Object
- implements Serializable
A screen shot taken by Selenium. This bean is used to generate a TAP Stream
containing Base64 encoded images.
- Since:
- 0.1
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
- See Also:
- Test Anything Protocol,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeleniumScreenshot
public SeleniumScreenshot()
SeleniumScreenshot
public SeleniumScreenshot(File file,
String description,
String fileType,
String title)
- Constructor with parameters.
- Parameters:
file - The screen shot original file.description - A description for the screen shot.fileType - MIME file-type.title - A title for the screen shot. Be creative!
getFile
public File getFile()
setFile
public void setFile(File file)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getFileType
public String getFileType()
setFileType
public void setFileType(String fileType)
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
Copyright © 2010-2011. All Rights Reserved.