| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| echo |
-Private Message- |
|
| open |
/ksdemo/private/classic/forum |
|
| waitForElementPresent |
link=Private Messages |
|
| click |
link=Private Messages |
|
| echo |
-Compose message- |
|
| waitForElementPresent |
link=Compose New Message |
|
| click |
link=Compose New Message |
|
| waitForElementPresent |
SendTo |
|
| type |
SendTo |
root,demo |
| type |
MailTitle |
Private Message Test |
| waitForElementPresent |
//iframe[@id='MailMessage___Frame'] |
|
| selectFrame |
//iframe[@id='MailMessage___Frame'] |
|
| waitForElementPresent |
//html/body/table/tbody/tr[2]/td/iframe |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Private Message Test Content |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Send |
|
| click |
link=Send |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| echo |
-View Sent Message- |
|
| waitForTextPresent |
Private Message Test |
|
| verifyTextPresent |
Private Message Test |
|
| click |
link=Private Message Test |
|
| waitForTextPresent |
Private Message Test Content |
|
| verifyTextPresent |
Private Message Test Content |
|
| waitForElementPresent |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| click |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| echo |
-Delele Sent Message- |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| verifyConfirmation |
Are you sure to delete this message? |
|
| waitForTextPresent |
No Messages |
|
| verifyTextPresent |
No Messages |
|
| click |
//div[@id='UIForumPopupWindow']//a[@title='Close Window'] |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| echo |
-Login demo to check receive message- |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/forum |
|
| waitForElementPresent |
link=Private Messages(1) |
|
| click |
link=Private Messages(1) |
|
| waitForElementPresent |
link=Private Message Test |
|
| verifyElementPresent |
link=Private Message Test |
|
| click |
link=Private Message Test |
|
| waitForTextPresent |
Private Message Test Content |
|
| verifyTextPresent |
Private Message Test Content |
|
| waitForElementPresent |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| click |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| echo |
-Reply Message- |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Reply Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Reply Message'] |
|
| waitForElementPresent |
SendTo |
|
| verifyValue |
SendTo |
root |
| verifyValue |
MailTitle |
Reply: Private Message Test |
| waitForElementPresent |
//iframe[@id='MailMessage___Frame'] |
|
| selectFrame |
//iframe[@id='MailMessage___Frame'] |
|
| waitForElementPresent |
//html/body/table/tbody/tr[2]/td/iframe |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
Message Reply |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Send |
|
| click |
link=Send |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| waitForElementPresent |
link=Reply: Private Message Test |
|
| verifyElementPresent |
link=Reply: Private Message Test |
|
| echo |
-Forward Message- |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Forward Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Forward Message'] |
|
| waitForElementPresent |
MailTitle |
|
| type |
SendTo |
root |
| verifyValue |
MailTitle |
Forward: Reply: Private Message Test |
| waitForElementPresent |
link=Send |
|
| click |
link=Send |
|
| waitForElementPresent |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIForumPortlet']//a[text()='OK'] |
|
| waitForElementPresent |
link=Forward: Reply: Private Message Test |
|
| verifyElementPresent |
link=Forward: Reply: Private Message Test |
|
| click |
//div[@id='UIForumPopupWindow']//a[@title='Close Window'] |
|
| click |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| echo |
-Check Reply and Forward message- |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/public/classic/forum |
|
| waitForElementPresent |
link=Private Messages(2) |
|
| click |
link=Private Messages(2) |
|
| waitForElementPresent |
link=Reply: Private Message Test |
|
| verifyElementPresent |
link=Reply: Private Message Test |
|
| verifyElementPresent |
link=Forward: Reply: Private Message Test |
|
| click |
link=Reply: Private Message Test |
|
| waitForElementPresent |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| click |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| waitForElementPresent |
link=Forward: Reply: Private Message Test |
|
| click |
link=Forward: Reply: Private Message Test |
|
| waitForElementPresent |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| click |
//form[@id='UIViewPrivateMessageForm']//a[text()='Close'] |
|
| echo |
-Delete test data- |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| assertConfirmation |
Are you sure to delete this message? |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| assertConfirmation |
Are you sure to delete this message? |
|
| waitForElementPresent |
//div[@id='UIForumPopupWindow']//a[@title='Close Window'] |
|
| click |
//div[@id='UIForumPopupWindow']//a[@title='Close Window'] |
|
| waitForElementPresent |
link=Sign out |
|
| click |
link=Sign out |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/forum |
|
| waitForElementPresent |
link=Private Messages |
|
| click |
link=Private Messages |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| assertConfirmation |
Are you sure to delete this message? |
|
| waitForElementPresent |
link=Sent Messages |
|
| click |
link=Sent Messages |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| assertConfirmation |
Are you sure to delete this message? |
|
| waitForElementPresent |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| click |
//table[@id='PermissionInfo']//div[@title='Delete Message'] |
|
| assertConfirmation |
Are you sure to delete this message? |
|
| waitForElementPresent |
//div[@id='UIForumPopupWindow']//a[@title='Close Window'] |
|
| click |
//div[@id='UIForumPopupWindow']//a[@title='Close Window'] |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|