Tina4Stack  v1.0.1
The Tina4 Stack
TestElement Class Reference

Public Member Functions

 __construct ($element)
 
 byPath ($path)
 
 byId ($id)
 
 byTag ($tag)
 
 chooseOption ($value)
 
 byCSS ($css)
 
 byClass ($class)
 
 andSetText ($text)
 
 setText ($text, $clear=false)
 
 andAddText ($text)
 
 getText ()
 
 getValue ()
 
 getAttr ($attr)
 
 setValue ($value)
 
 andClick ()
 
 click ()
 
 andAlias ($name)
 
 dragAndDrop ($target, $options)
 
 clickAndHold ()
 
 getID ()
 

Detailed Description

Test Element used by Tessa

Constructor & Destructor Documentation

TestElement::__construct (   $element)
Parameters
$element

Member Function Documentation

TestElement::andAddText (   $text)
Parameters
$text
TestElement::andAlias (   $name)
Parameters
$name
Returns
mixed
TestElement::andClick ( )
TestElement::andSetText (   $text)
Parameters
$text
TestElement::byClass (   $class)
Parameters
$class
Returns
TestElement
TestElement::byCSS (   $css)
Parameters
$css
Returns
TestELement
TestElement::byId (   $id)
Parameters
$id
Returns
TestElement
TestElement::byPath (   $path)
Parameters
$path
Returns
TestElement
TestElement::byTag (   $tag)
Parameters
$tag
Returns
TestELement
TestElement::chooseOption (   $value)
Parameters
$value
Returns
TestElement
TestElement::click ( )
TestElement::clickAndHold ( )
TestElement::dragAndDrop (   $target,
  $options 
)
Parameters
$target
$options
TestElement::getAttr (   $attr)
Parameters
$attr
Returns
mixed
TestElement::getID ( )
Returns
mixed
TestElement::getText ( )
Returns
mixed
TestElement::getValue ( )
Returns
mixed
TestElement::setText (   $text,
  $clear = false 
)
Parameters
$text
bool$clear
TestElement::setValue (   $value)
Parameters
$value

The documentation for this class was generated from the following file: