open |
restAPI/systemLog?token=dolog&level=INFO&message=-----Selenium modifyPublicNews |
|
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=Public news |
|
clickAndWait |
link=Edit |
|
type |
//*[@id="document_edit:nxl_social_document_heading:nxw_required_description"] |
changing the content of the public news |
clickAndWait |
//*[@id="document_edit:edit_doc_EDIT_CURRENT_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] |
changing the content of the public news |
selectWindow |
null |
|
open |
logout |
|
type |
username |
SocialWorkspaceMember |
type |
password |
pwd |
clickAndWait |
Submit |
|
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] |
changing 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 |
|