br.eti.kinoshita.selenium.model
Class SeleniumScreenshot

java.lang.Object
  extended by 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

Constructor Summary
SeleniumScreenshot()
           
SeleniumScreenshot(File file, String description, String fileType, String title)
          Constructor with parameters.
 
Method Summary
 String getDescription()
           
 File getFile()
           
 String getFileType()
           
 String getTitle()
           
 void setDescription(String description)
           
 void setFile(File file)
           
 void setFileType(String fileType)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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!
Method Detail

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.