|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.actions.Drag
public class Drag
Provides item dragging capability to Selenium tests. Methods can be call in following serie: start, mouseOut, move, enter, drop. If we are calling preceding phase (e.g. move, when drag was already called), IllegalStateException is thrown. If we are calling following phase (e.g. drop, when no action was called), all phases preceding requested phase will be done before requested phase can be done.
| Constructor Summary | |
|---|---|
Drag(com.thoughtworks.selenium.Selenium selenium,
java.lang.String item,
java.lang.String target)
|
|
| Method Summary | |
|---|---|
void |
drop()
Last phase of dragging. |
void |
enter()
Starts fourth phase of dragging. |
void |
mouseOut()
Starts second phase of dragging. |
void |
move()
Starts third phase of dragging. |
void |
start()
Starts first phase of dragging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Drag(com.thoughtworks.selenium.Selenium selenium,
java.lang.String item,
java.lang.String target)
selenium - initialized and started Selenium instanceitem - item to dragtarget - target of item dragging| Method Detail |
|---|
public void start()
public void mouseOut()
public void move()
public void enter()
public void drop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||