| click |
//p[@id='portal-tab-todo-label']/span[2][@class="labeltext"] |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| contextMenu |
//*[@id="tasks"]/div[1]/h3[1] |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertVisible |
css=li#contextmenu-add.add a.taskAdd |
|
| mouseOver |
css=li#contextmenu-add.add a.taskAdd |
|
| pause |
1000 |
|
| assertVisible |
css=ul#contextmenu-add-submenu.context-submenu li#contextmenu-add-comment.add-comment a.task-add-comment |
|
| click |
css=ul#contextmenu-add-submenu.context-submenu li#contextmenu-add-comment.add-comment a.task-add-comment |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertElementPresent |
//ul[contains(@class,"tabs")]/li[contains(@class,"tabkey-comment")][contains(@class,"active")] |
|
| assertElementPresent |
//div[contains(@class,"tabContent")]/div[contains(@class,"comment")]/div[2]/form/fieldset[@class="buttons"] |
|
| assertElementPresent |
//input[@type="hidden"][@name="comment[is_public]"] |
|
| assertElementPresent |
//input[contains(@class,"checkbox")][@name="comment[sendasemail]"] |
|
| selectFrame |
css=#comment-33-0-field-comment_ifr |
|
| focus |
css=#tinymce |
|
| type |
css=#tinymce |
O plura ut sumo lavo vindex qualiscumque Castellum fere longinquus An se Super. Nec patulum ita tui Designo curso tum Lavo misericordaliter, ubi in locupletatus farrago. Lux inhabitabilis cedo cito arx sceleratus propinquitas Pastus, cum Abutor Occursus hordeum quid tuba Proprius hio Elatio inspiro, cui Subcribo, qui quo seco Paciscor nam Se specialitas lumen. Os disperdo aut Quercetum domus Hosp. |
| selectFrame |
relative=parent |
|
| assertElementPresent |
css=.formComment button.saveButton |
|
| click |
css=.formComment button.saveButton |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertTextPresent |
O plura ut sumo lavo vindex qualiscumque Castellum fere longinquus An se Super. Nec patulum ita tui Designo curso tum Lavo misericordaliter, ubi in locupletatus farrago. Lux inhabitabilis cedo cito arx sceleratus propinquitas Pastus, cum Abutor Occursus hordeum quid tuba Proprius hio Elatio inspiro, cui Subcribo, qui quo seco Paciscor nam Se specialitas lumen. Os disperdo aut Quercetum domus Hosp. |
|
| assertElementNotPresent |
css=ul#task-33-comments.task-comments li#task-comment-14.isPublic |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertElementPresent |
css=span.comment-options a.public-trigger |
|
| click |
public-trigger-14 |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertElementPresent |
css=ul#task-33-comments.task-comments li#task-comment-14.isPublic |
|
| assertElementPresent |
link=Edit Comment |
|
| click |
link=Edit Comment |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| selectFrame |
css=#comment-33-0-field-comment_ifr |
|
| focus |
css=#tinymce |
|
| type |
css=#tinymce |
this comment has been changed! |
| selectFrame |
relative=parent |
|
| pause |
1000 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| click |
css=.formComment button.saveButton |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertTextPresent |
this comment has been changed |
|
| assertElementPresent |
link=Edit Comment |
|
| verifyText |
link=Delete Comment |
Delete Comment |
| click |
link=Delete Comment |
Delete Comment |
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertTextNotPresent |
this comment has been changed |
|
| click |
//*[@id="tasks"]/div[1]/h3[1] |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |