| open |
restAPI/systemLog?token=dolog&level=INFO&message=-----Selenium createPublicNews |
|
| setTimeout |
120000 |
|
| open |
logout |
|
| type |
username |
Administrator |
| type |
password |
Administrator |
| clickAndWait |
Submit |
|
| clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
| clickAndWait |
link=SocialWorkspaceForNews |
|
| clickAndWait |
link=News |
|
| clickAndWait |
link=Create a News Item |
|
| type |
//*[@id="document_create:nxl_social_document_heading:nxw_title"] |
Public news |
| click |
id=document_create:nxl_news_item:nxw_social_document_visibility:nxw_social_document_visibility_checkbox:1 |
|
| select |
//*[contains(@id,"nxw_social_document_content_editorselector")] |
label=Text |
| type |
//*[@id="document_create:nxl_social_document_heading:nxw_required_description"] |
And now the content of the public news |
| clickAndWait |
//*[@id="document_create:create_doc_CREATE_DOCUMENT"] |
|
| clickAndWait |
link=Home |
|
| waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
| selectOpenSocialGadgetFrame |
news |
|
| verifyText |
//div/p |
Administrator,* |
| verifyTextNotPresent |
01/01/1970 |
|
| verifyText |
//div/p/a |
Public news |
| verifyText |
//div/p[2] |
And now the content of the public news |
| selectWindow |
null |
|
| open |
logout |
|
| type |
username |
SocialWorkspaceMember |
| type |
password |
pwd |
| clickAndWait |
Submit |
|
| verifyTextPresent |
SocialWorkspaceMember |
|
| clickAndWait |
link=Home |
|
| waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
| selectOpenSocialGadgetFrame |
news |
|
| verifyText |
//div/p |
Administrator,* |
| verifyTextNotPresent |
01/01/1970 |
|
| verifyText |
//div/p/a |
Public news |
| verifyText |
//div/p[2] |
And now the content of the public news |
| selectWindow |
null |
|
| selectOpenSocialGadgetFrame |
usersocialworkspaces |
|
| verifyText |
//div[@id="nxDocumentListData"]/table/tbody/tr/td[2]/a |
SocialWorkspaceForDashboardView |
| verifyText |
//div[@id="nxDocumentListData"]/table/tbody/tr/td[4] |
Administrator |
| verifyText |
//div[@id="nxDocumentListData"]/table/tbody/tr[2]/td[2]/a |
SocialWorkspaceForNews |
| verifyText |
//div[@id="nxDocumentListData"]/table/tbody/tr[2]/td[4] |
Administrator |
| selectWindow |
null |
|
| open |
logout |
|