open |
http://localhost |
|
clickAndWait |
link=login |
|
type |
p_un |
hyde |
type |
p_pw |
h123yde |
clickAndWait |
action |
|
open |
http://localhost/yourapprovals.py |
|
verifyTextPresent |
You are not authorized to use approval system. |
|
open |
http://localhost/publiline.py?doctype=DEMOBOO |
|
clickAndWait |
link=DEMO-BOOK-2010-001 |
|
verifyTextNotPresent |
As a referee for this document, you may click this button to approve or reject it |
|
clickAndWait |
link=logout |
|
clickAndWait |
link=login here |
|
type |
p_un |
dorian |
type |
p_pw |
d123orian |
clickAndWait |
action |
|
clickAndWait |
link=Your approvals |
|
verifyTextPresent |
You are a general referee |
|
clickAndWait |
link=You are a general referee |
|
verifyTextPresent |
DEMO-BOOK- |
|
clickAndWait |
link=DEMO-BOOK-2010-001 |
|
verifyTextPresent |
As a referee for this document, you may click this button to approve or reject it |
|
clickAndWait |
link=logout |
|