| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Journal Test Page |
|
| clickAtAndWait |
link=Journal Test Page |
|
| clickAtAndWait |
//input[@value='Add Article'] |
|
| type |
_15_title |
Test Journal Article Approved |
| pause |
5000 |
|
| waitForElementPresent |
_15_editor |
|
| waitForElementPresent |
FCKeditor1___Frame |
|
| waitForElementPresent |
//textarea |
|
| selectFrame |
//iframe[@id="_15_editor"] |
|
| selectFrame |
//iframe[@id="FCKeditor1___Frame"] |
|
| selectFrame |
//iframe |
|
| type |
//body |
This is a test Journal Article Approved |
| selectFrame |
relative=top |
|
| clickAtAndWait |
//input[@value='Save and Approve'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| waitForElementPresent |
//li[@id='_15_tabs1articlesTabsId']/a |
|
| clickAtAndWait |
//li[@id='_15_tabs1articlesTabsId']/a |
|
| assertElementPresent |
link=Test Journal Article Approved |
|