public final class Script
extends org.testatoo.core.component.Component
| Constructor and Description |
|---|
Script(HtmlEvaluator evaluator,
String id)
Class constructor specifying the evaluator to use and the id of the "script" element we want to test.
|
| Modifier and Type | Method and Description |
|---|---|
String |
charset()
To get the charset attribute of the "script" element.
|
Boolean |
isVisible() |
String |
src()
To get the src attribute of the "script" element.
|
String |
toString()
To get the string describing the "script" element.
|
String |
type()
To get the type attribute of the "script" element.
|
public Script(HtmlEvaluator evaluator, String id)
evaluator - a UI Test engine specific html evaluatorid - the id (unique) of the "script" elementorg.testatoo.core.ComponentException - if the given id does not correspond to a "script" elementpublic String charset()
public String type()
public String src()
public Boolean isVisible()
isVisible in class org.testatoo.core.component.Componentpublic String toString()
toString in class org.testatoo.core.component.ComponentCopyright © 2008-2012 Ovea. All Rights Reserved.