checkBrowserVersion.html
checkBrowserVersion |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium checkBrowserVersion |
|
storeExpression |
javascript{selenium.getEval("navigator.userAgent");} |
userAgent |
echo |
${userAgent} |
Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 |
|
|
login.html
login |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium login |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
|
|
socialWorkspace/createSocialDomain.html
Create Social Domain |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium createSocialDomain |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Social Domain |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
New Social Domain |
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
New Social Domain |
|
|
|
socialWorkspace/library/fillContent.html
Gadget Library: Create Test Documents |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium fillContent |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Social Workspace |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
testBrowserSocialWorkspace |
clickAndWait |
//input[@value="Create"] |
|
open |
nxpath/default/collaboration/testBrowserSocialWorkspa@view_documents?tabIds=%3ATAB_CONTENT |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
waitForElementPresent |
link=Folder |
|
clickAndWait |
link=Folder |
|
type |
document_create:nxl_heading:nxw_title |
Folder1 |
clickAndWait |
//input[@value="Create"] |
|
open |
nxpath/default/collaboration/testBrowserSocialWorkspa@view_documents?tabIds=%3ATAB_CONTENT |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
waitForElementPresent |
link=Folder |
|
clickAndWait |
link=Folder |
|
type |
document_create:nxl_heading:nxw_title |
Folder2 |
clickAndWait |
//input[@value="Create"] |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
waitForElementPresent |
link=Folder |
|
clickAndWait |
link=Folder |
|
type |
document_create:nxl_heading:nxw_title |
SubFolder |
clickAndWait |
//input[@value="Create"] |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Article |
|
type |
document_create:nxl_social_document_heading:nxw_title |
Article |
type |
document_create:nxl_social_document_heading:nxw_required_description |
test article |
clickAndWait |
//input[@value="Create"] |
|
verifyTextPresent |
test article |
|
|
|
socialWorkspace/library/navigate.html
Gadget Library: navigate |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium navigate |
|
open |
collaboration/default/collaboration/testBrowserSocialWorkspa/social@dashboard |
|
waitForElementPresent |
//div[@class="customSearchBox"] |
|
selectOpenSocialGadgetFrame |
library |
|
click |
//a[@class="navigation"][ text()="Folder1"] |
|
waitForElementPresent |
//img[@alt="goToParent"] |
|
click |
//img[@alt="goToParent"] |
|
waitForElementPresent |
//a[@class="navigation"][text()="Folder1"] |
|
click |
//a[@class="navigation"][ text()="Folder2"] |
|
waitForElementPresent |
//a[@class="navigation"][ text()="SubFolder"] |
|
click |
//a[@class="navigation"][ text()="SubFolder"] |
|
waitForElementPresent |
//img[@alt="goToRoot"] |
|
click |
//img[@alt="goToRoot"] |
|
waitForElementPresent |
//a[@class="navigation"][text()="Folder1"] |
|
click |
//a[@class="navigation"][ text()="Folder2"] |
|
waitForElementPresent |
//a[@class="navigation"][text()="SubFolder"] |
|
click |
//a[@class="navigation"][text()="SubFolder"] |
|
waitForElementPresent |
//a[@class="navigation"][text()="Article"] |
|
assignId |
//a[@class="navigation"][text()="Article"] |
selectedElementId |
selectWindow |
null |
|
clickAndWait |
selectedElementId |
|
verifyTextPresent |
Article |
|
|
|
socialWorkspace/library/createfolder.html
Gadget Library: create folder |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium createFolder |
|
open |
collaboration/default/collaboration/testBrowserSocialWorkspa/social@dashboard |
|
waitForElementPresent |
//a/img[@alt="create folder"] |
|
selectOpenSocialGadgetFrame |
library |
|
click |
//a/img[@alt="create folder"] |
|
waitForElementPresent |
//input[@name="createDocument"] |
|
type |
//input[@name="dc:title"] |
TestFolder |
click |
//input[@name="createDocument"] |
|
pause |
3000 |
|
click |
//a/img[@alt="goToParent"]/.. |
|
waitForElementPresent |
//a[contains(@href,"TestFolder")] |
|
click |
//a[contains(@href,"TestFolder")] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
|
|
socialWorkspace/library/search.html
Gadget Library: search |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium search |
|
open |
collaboration/default/collaboration/testBrowserSocialWorkspa/social@dashboard |
|
waitForElementPresent |
//a/img[@alt="create folder"] |
|
selectOpenSocialGadgetFrame |
library |
|
click |
//a/img[@alt="create folder"] |
|
waitForElementPresent |
//input[@name="createDocument"] |
|
type |
//input[@name="dc:title"] |
TestSearchFolder |
type |
//textarea[@name="dc:description"] |
test folder used for search |
click |
//input[@name="createDocument"] |
|
pause |
3000 |
|
type |
//input[@name="queryText"] |
search |
click |
//input[@name="search"] |
|
waitForElementNotPresent |
//img[@alt="goToParent"] |
|
verifyElementPresent |
//a[@class="navigation"][text()="TestSearchFolder"] |
|
type |
//input[@name="queryText"] |
|
click |
//input[@name="search"] |
|
waitForElementPresent |
//img[@alt="refresh"] |
|
click |
//a[contains(@href,"TestSearchFolder")] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
|
|
socialWorkspace/library/createPrivateSW.html
Gadget Library: create private social workspace |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium createPrivateSW |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Social Workspace |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
testPublicationSW |
click |
id=document_create:nxl_social_workspace_heading:nxw_social_workspace_is_public:nxw_social_workspace_is_public_checkbox:0 |
|
clickAndWait |
//input[@value="Create"] |
|
open |
nxpath/default/collaboration/testPublicationSW/news-root@view_documents?tabIds=%3ATAB_CONTENT |
|
clickAndWait |
link=Create a News Item |
|
type |
document_create:nxl_social_document_heading:nxw_title |
myNews |
type |
document_create:nxl_social_document_heading:nxw_required_description |
news item used for tests |
selectWindow |
null |
|
clickAndWait |
//input[@value="Create"] |
|
|
|
socialWorkspace/library/publication.html
Gadget Library: publication |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium publication |
|
open |
collaboration/default/collaboration/testPublicationSW/social@dashboard |
|
waitForElementPresent |
//div[@class="customSearchBox"] |
|
selectOpenSocialGadgetFrame |
library |
|
click |
//a[@class="navigation"][ text()="News"] |
|
waitForElementPresent |
//img[@alt="publish private"] |
|
click |
//img[@alt="publish private"] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
waitForElementPresent |
//img[@alt="make it public"] |
|
click |
//img[@alt="make it public"] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
|
|
socialWorkspace/library/uploadfile.html
Gadget Library: upload |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium upload |
|
retrieveTestFolderPath |
|
|
storeExpression |
javascript{ storedVars['testfolderpath'] + 'test-file.txt';} |
testFile |
echo |
${testFile} |
/mnt/workspace/FT-nuxeo-master-selenium-social-collaboration-tomcat/nuxeo-distribution-social-collaboration/ftest/selenium/data/test-file.txt |
open |
collaboration/default/collaboration/testBrowserSocialWorkspa/social@dashboard |
|
waitForElementPresent |
//a/img[@alt="create document"] |
|
selectOpenSocialGadgetFrame |
library |
|
click |
//a/img[@alt="create document"] |
|
waitForElementPresent |
link=File |
|
click |
link=File |
|
waitForElementPresent |
//input[@name="dc:title"] |
|
type |
//input[@name="dc:title"] |
testFile |
type |
//input[@name="file:content"] |
${testFile} |
click |
//input[@name="createDocument"] |
|
pause |
2500 |
|
waitForElementPresent |
css=img[alt="download"] |
|
waitForElementPresent |
css=img[alt="download"] |
|
verifyElementPresent |
//a[contains(@href, 'test-file.txt')]/img[@alt="download"] |
|
verifyElementPresent |
//a[contains(@href, "testFile")]/img[@alt="remove"] |
|
click |
//a[contains(@href, "testFile")]/img[@alt="remove"] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
|
|
socialWorkspace/library/unusualTitles.html
Gadget Library: unusual titles |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium unusualTitles |
|
open |
collaboration/default/collaboration/testBrowserSocialWorkspa/social@dashboard |
|
waitForElementPresent |
//a/img[@alt="create document"] |
|
selectOpenSocialGadgetFrame |
library |
|
click |
//a/img[@alt="create document"] |
|
waitForElementPresent |
link=File |
|
click |
link=File |
|
waitForElementPresent |
//input[@name="dc:title"] |
|
type |
//input[@name="dc:title"] |
' |
click |
//input[@name="createDocument"] |
|
pause |
3000 |
|
verifyElementNotPresent |
//a[contains(@href, "\\'")]/img[@alt="remove"] |
|
click |
//a[contains(@href, "\'")]/img[@alt="remove"] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
waitForElementPresent |
//a/img[@alt="create document"] |
|
click |
//a/img[@alt="create document"] |
|
waitForElementPresent |
link=File |
|
click |
link=File |
|
waitForElementPresent |
//input[@name="dc:title"] |
|
type |
//input[@name="dc:title"] |
" |
click |
//input[@name="createDocument"] |
|
pause |
3000 |
|
verifyElementPresent |
//a[contains(@href, """)]/img[@alt="remove"] |
|
click |
//a[contains(@href, """)]/img[@alt="remove"] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
waitForElementPresent |
//a/img[@alt="create document"] |
|
click |
//a/img[@alt="create document"] |
|
waitForElementPresent |
link=File |
|
click |
link=File |
|
waitForElementPresent |
//input[@name="dc:title"] |
|
type |
//input[@name="dc:title"] |
& |
click |
//input[@name="createDocument"] |
|
pause |
3000 |
|
verifyElementPresent |
//a[contains(@href, "&")]/img[@alt="remove"] |
|
click |
//a[contains(@href, "&")]/img[@alt="remove"] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
waitForElementPresent |
//a/img[@alt="create document"] |
|
click |
//a/img[@alt="create document"] |
|
waitForElementPresent |
link=File |
|
click |
link=File |
|
waitForElementPresent |
//input[@name="dc:title"] |
|
type |
//input[@name="dc:title"] |
<xyz> |
click |
//input[@name="createDocument"] |
|
pause |
3000 |
|
verifyElementPresent |
//a[contains(@href, "<xyz>")]/img[@alt="remove"] |
|
click |
//a[contains(@href, "<xyz>")]/img[@alt="remove"] |
|
waitForElementPresent |
//button[@name="ok"] |
|
click |
//button[@name="ok"] |
|
|
|
socialWorkspace/createSocialWorkspaces.html
Create Social Workpaces |
setTimeout |
120000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium createSocialWorkspaces |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Social Workspace |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
SocialWorkspaceForNews |
click |
id=document_create:nxl_social_workspace_heading:nxw_social_workspace_is_public:nxw_social_workspace_is_public_checkbox:0 |
|
clickAndWait |
//input[@value="Create"] |
|
open |
nxpath/default/collaboration@view_documents?tabIds=%3ATAB_CONTENT |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Social Workspace |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
SocialWorkspaceForDashboardView |
click |
id=document_create:nxl_social_workspace_heading:nxw_social_workspace_is_public:nxw_social_workspace_is_public_checkbox:0 |
|
clickAndWait |
//input[@value="Create"] |
|
|
|
socialWorkspace/createSocialWorkspaceUsers.html
Create Social Workspace Users |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium createSocialWorkspaceUsers |
|
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
verifyTextPresent |
Default domain |
|
verifyTextPresent |
Collaboration |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
3000 |
|
waitForElementPresent |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
SocialWorkspaceMember |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
member@social.workspace.org |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
watchA4jRequests |
|
|
click |
//input[@id='createUserView:createUser:button_save'] |
|
waitForA4jRequest |
3000 |
|
verifyTextPresent |
User created |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
3000 |
|
waitForElementPresent |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
OutOfSocialWorkspaceMember |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
user@lambda.org |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
watchA4jRequests |
|
|
click |
//input[@id='createUserView:createUser:button_save'] |
|
waitForA4jRequest |
3000 |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
clickAndWait |
link=SocialWorkspaceForNews |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Membership management |
|
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
SocialWorkspaceMember |
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
SocialWorkspaceMember |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
verifyTextPresent |
SocialWorkspaceMember |
|
clickAndWait |
//input[starts-with(@name,'editSocialWorkspaceGroups') and @value="Save"] |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
link=SocialWorkspaceForDashboardView |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Membership management |
|
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
SocialWorkspaceMember |
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
SocialWorkspaceMember |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
SocialWorkspaceMember |
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
SocialWorkspaceMember |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
verifyTextPresent |
SocialWorkspaceMember |
|
clickAndWait |
//input[starts-with(@name,'editSocialWorkspaceGroups') and @value="Save"] |
|
|
|
socialWorkspace/initAdminDashboard.html
Initiate Administrator Dashboard |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium initAdminDashboard |
|
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
click |
//*[@id="addGadgetButton"] |
|
waitForElementPresent |
//div[@id='gadgetListContainer']/div/div[@gadget-name='usersocialworkspaces'] |
|
click |
//div[@id='gadgetListContainer']/div/div[@gadget-name='usersocialworkspaces'] |
|
verifyElementPresent |
//*[@id="addGadgetButton"] |
|
click |
//*[@id="addGadgetButton"] |
|
waitForElementPresent |
//div[@id='gadgetListContainer']/div/div[@gadget-name='news'] |
|
click |
//div[@id='gadgetListContainer']/div/div[@gadget-name='news'] |
|
|
|
socialWorkspace/connectAsSWMember.html
Connect as SocialWorkspace Member |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium connectAsSWMember |
|
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
SocialWorkspaceMember |
type |
password |
pwd |
clickAndWait |
Submit |
|
verifyTextPresent |
Dashboard |
|
|
|
socialWorkspace/initDashBoard.html
Initiate Dashboard |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium initDashboard |
|
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
SocialWorkspaceMember |
type |
password |
pwd |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
click |
//*[@id="addGadgetButton"] |
|
waitForElementPresent |
//div[@id='gadgetListContainer']/div/div[@gadget-name='usersocialworkspaces'] |
|
click |
//div[@id='gadgetListContainer']/div/div[@gadget-name='usersocialworkspaces'] |
|
verifyElementPresent |
//*[@id="addGadgetButton"] |
|
click |
//*[@id="addGadgetButton"] |
|
waitForElementPresent |
//div[@id='gadgetListContainer']/div/div[@gadget-name='news'] |
|
click |
//div[@id='gadgetListContainer']/div/div[@gadget-name='news'] |
|
|
|
socialWorkspace/connectAsNonSWMember.html
Connect as non SocialWorkspace Member |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium connectAsNonSWMember |
|
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
OutOfSocialWorkspaceMember |
type |
password |
pwd |
clickAndWait |
Submit |
|
verifyTextPresent |
OutOfSocialWorkspaceMember |
|
|
|
socialWorkspace/createRestrictedNews.html
Create a Restricted To The SocialWorkspace News |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium createRestrictedNews |
|
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"] |
News for test |
type |
//*[@id="document_create:nxl_social_document_heading:nxw_required_description"] |
description for test |
select |
//*[contains(@id,"nxw_social_document_content_editorselector")] |
label=Text |
type |
//*[contains(@id,"nxw_social_document_content_editor")] |
And now the content of the news |
clickAndWait |
//*[@id="document_create:create_doc_CREATE_DOCUMENT"] |
|
open |
/nuxeo/nxpath/default/collaboration/SocialWorkspaceForNews@view_documents |
|
clickAndWait |
link=Private dashboard |
|
waitForElementPresent |
//*[@id='nxDocumentListData']/div/p |
|
verifyText |
//*[@id='nxDocumentListData']/div/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//*[@id='nxDocumentListData']/div/p/a |
News for test |
verifyText |
//*[@id='nxDocumentListData']/div/p[2] |
description for test |
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 |
News for test |
verifyText |
//div/p[2] |
description for test |
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 |
assignId |
link=SocialWorkspaceForNews |
selectedElementId |
selectWindow |
null |
|
clickAndWait |
selectedElementId |
|
clickAndWait |
link=Go to News items |
|
verifyTextPresent |
News for test |
|
verifyTextNotPresent |
Delete |
|
verifyTextNotPresent |
Edit |
|
verifyTextNotPresent |
Restrict to the social workspace |
|
verifyTextNotPresent |
make it public |
|
|
|
socialWorkspace/verifyPrivateNewsByNonMember.html
Verify private news by the non member |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium verifyPrivateNewsByNonMember |
|
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
OutOfSocialWorkspaceMember |
type |
password |
pwd |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
news |
|
verifyTextNotPresent |
Administrator |
|
verifyTextNotPresent |
News for test |
|
selectWindow |
null |
|
selectOpenSocialGadgetFrame |
usersocialworkspaces |
|
verifyTextNotPresent |
SocialWorkspaceForNews |
|
verifyTextNotPresent |
Administrator |
|
selectWindow |
null |
|
|
|
socialWorkspace/modifyRestrictedNews.html
Modify a Restricted To The SocialWorkspace News |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium modifyRestrictedNews |
|
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=News for test |
|
clickAndWait |
link=Edit |
|
type |
//*[@id="document_edit:nxl_social_document_heading:nxw_required_description"] |
And now something completely different:" the larch!" |
clickAndWait |
//*[@id="document_edit:edit_doc_EDIT_CURRENT_DOCUMENT"] |
|
clickAndWait |
link=SocialWorkspaceForNews |
|
clickAndWait |
link=Private dashboard |
|
waitForElementPresent |
//*[@id='nxDocumentListData']/div/p |
|
verifyText |
//*[@id='nxDocumentListData']/div/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//*[@id='nxDocumentListData']/div/p/a |
News for test |
verifyText |
//*[@id='nxDocumentListData']/div/p[2] |
And now something completely different:" the larch!" |
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 |
News for test |
verifyText |
//div/p[2] |
And now something completely different:" the larch!" |
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 |
|
type |
username |
OutOfSocialWorkspaceMember |
type |
password |
pwd |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
news |
|
verifyTextNotPresent |
Administrator |
|
verifyTextNotPresent |
News for test |
|
selectWindow |
null |
|
selectOpenSocialGadgetFrame |
usersocialworkspaces |
|
verifyTextNotPresent |
SocialWorkspaceForNews |
|
verifyTextNotPresent |
Administrator |
|
selectWindow |
null |
|
|
|
socialWorkspace/createPublicNews.html
Create a Public news |
open |
restAPI/systemLog?token=dolog&level=WARN&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 |
|
|
|
socialWorkspace/modifyPublicNews.html
Modify a Public news |
open |
restAPI/systemLog?token=dolog&level=WARN&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 |
|
|
|
socialWorkspace/switchBetweenPublicAndRestricted.html
Switch between Public and Restricted |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium switchBetweenPublicAndRestricted |
|
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=News for test |
|
clickAndWait |
link=make it public |
|
verifyText |
//div[@id="private_public_publishing_button"]/span |
Public |
verifyText |
//div[@id="private_public_publishing_button"]/a |
Restrict to the social workspace |
clickAndWait |
link=SocialWorkspaceForNews |
|
clickAndWait |
link=News |
|
clickAndWait |
link=Public news |
|
clickAndWait |
link=Restrict to the social workspace |
|
verifyText |
//div[@id="private_public_publishing_button"]/span |
Restricted to the Social Workspace |
verifyText |
//div[@id="private_public_publishing_button"]/a |
make it public |
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 |
verifyText |
//div[2]/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//div[2]/p/a |
News for test |
verifyText |
//div[2]/p[2] |
And now something completely different:" the larch!" |
selectWindow |
null |
|
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=News for test |
|
clickAndWait |
link=Edit |
|
click |
id=document_edit:nxl_news_item:nxw_social_document_visibility:nxw_social_document_visibility_checkbox:1 |
|
clickAndWait |
//*[@id="document_edit:edit_doc_EDIT_CURRENT_DOCUMENT"] |
|
clickAndWait |
link=SocialWorkspaceForNews |
|
clickAndWait |
link=News |
|
clickAndWait |
link=Public news |
|
clickAndWait |
link=Edit |
|
click |
id=document_edit:nxl_news_item:nxw_social_document_visibility:nxw_social_document_visibility_checkbox:0 |
|
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 |
verifyText |
//div[2]/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//div[2]/p/a |
News for test |
verifyText |
//div[2]/p[2] |
And now something completely different:" the larch!" |
selectWindow |
null |
|
|
|
socialWorkspace/verifySWDashboardView.html
Verify SocialWorkspace dashboard view |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium verifySWDashboardView |
|
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
usersocialworkspaces |
|
verifyTextPresent |
SocialWorkspaceForNews |
|
verifyText |
//div[@id="nxDocumentListData"]/table/tbody/tr/td[4] |
Administrator |
verifyTextPresent |
testBrowserSocialWorkspace |
|
verifyText |
//div[@id="nxDocumentListData"]/table/tbody/tr[2]/td[4] |
Administrator |
assignId |
link=SocialWorkspaceForNews |
selectedElementId |
selectWindow |
null |
|
clickAndWait |
selectedElementId |
|
clickAndWait |
link=Document Management View |
|
clickAndWait |
link=Private dashboard |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
news |
|
verifyText |
//*[@id="nxDocumentListData"]/div/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//*[@id="nxDocumentListData"]/div/p/a |
Public news |
verifyText |
//*[@id="nxDocumentListData"]/div/p[2] |
changing the content of the public news |
verifyText |
//*[@id="nxDocumentListData"]/div[2]/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//*[@id="nxDocumentListData"]/div[2]/p/a |
News for test |
verifyText |
//*[@id="nxDocumentListData"]/div[2]/p[2] |
And now something completely different:" the larch!" |
selectWindow |
null |
|
open |
logout |
|
type |
username |
SocialWorkspaceMember |
type |
password |
pwd |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
usersocialworkspaces |
|
assignId |
link=SocialWorkspaceForNews |
selectedElementId |
selectWindow |
null |
|
clickAndWait |
selectedElementId |
|
clickAndWait |
link=Document Management View |
|
clickAndWait |
link=Private dashboard |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
news |
|
verifyText |
//*[@id="nxDocumentListData"]/div/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//*[@id="nxDocumentListData"]/div/p/a |
Public news |
verifyText |
//*[@id="nxDocumentListData"]/div/p[2] |
changing the content of the public news |
verifyText |
//*[@id="nxDocumentListData"]/div[2]/p |
Administrator,* |
verifyTextNotPresent |
01/01/1970 |
|
verifyText |
//*[@id="nxDocumentListData"]/div[2]/p/a |
News for test |
verifyText |
//*[@id="nxDocumentListData"]/div[2]/p[2] |
And now something completely different:" the larch!" |
selectWindow |
null |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
usersocialworkspaces |
|
assignId |
link=SocialWorkspaceForDashboardView |
selectedElementId |
selectWindow |
null |
|
clickAndWait |
selectedElementId |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
news |
|
verifyTextNotPresent |
Administrator,* |
|
selectWindow |
null |
|
selectOpenSocialGadgetFrame |
articles |
|
verifyTextNotPresent |
Administrator,* |
|
|
|
socialWorkspace/collaboration/documentsCreation.html
Collaboration view: documents creation |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium documentsCreation |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Social Workspace |
|
type |
id=document_create:nxl_social_workspace_heading:nxw_title |
SocialWorkspace_SocialCollaborationView_Visibility |
click |
id=document_create:nxl_social_workspace_heading:nxw_social_workspace_is_public:nxw_social_workspace_is_public_checkbox:0 |
|
click |
id=document_create:nxl_social_workspace_heading:nxw_social_workspace_is_restricted:nxw_social_workspace_is_restricted_checkbox:1 |
|
clickAndWait |
id=document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=Content |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Article |
|
type |
id=document_create:nxl_social_document_heading:nxw_title |
One |
type |
id=document_create:nxl_social_document_heading:nxw_required_description |
some text |
clickAndWait |
id=document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
link=Content |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Article |
|
type |
id=document_create:nxl_social_document_heading:nxw_title |
Two |
click |
id=document_create:nxl_article:nxw_social_document_visibility:nxw_social_document_visibility_checkbox:1 |
|
type |
id=document_create:nxl_social_document_heading:nxw_required_description |
text some |
clickAndWait |
id=document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
link=Content |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Article |
|
type |
id=document_create:nxl_social_document_heading:nxw_title |
Three |
type |
id=document_create:nxl_social_document_heading:nxw_required_description |
some text |
clickAndWait |
id=document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
link=Content |
|
clickAndWait |
link=News |
|
clickAndWait |
link=Create a News Item |
|
type |
id=document_create:nxl_social_document_heading:nxw_title |
NI one |
type |
id=document_create:nxl_social_document_heading:nxw_required_description |
text description |
clickAndWait |
id=document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=News |
|
clickAndWait |
link=Create a News Item |
|
type |
id=document_create:nxl_social_document_heading:nxw_title |
NI two |
type |
id=document_create:nxl_social_document_heading:nxw_required_description |
text for description |
clickAndWait |
id=document_create:create_doc_CREATE_DOCUMENT |
|
clickAndWait |
link=News |
|
clickAndWait |
link=Create a News Item |
|
type |
id=document_create:nxl_social_document_heading:nxw_title |
NI three |
type |
id=document_create:nxl_social_document_heading:nxw_required_description |
Text for the description |
clickAndWait |
id=document_create:create_doc_CREATE_DOCUMENT |
|
|
|
socialWorkspace/collaboration/usersCreation.html
Collaboration view: create users |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium usersCreation |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
memberSW |
type |
id=createUserView:createUser:nxl_user:nxw_email |
n |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
click |
id=createUserView:createUser:button_save |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
nonMemberSW |
type |
id=createUserView:createUser:nxl_user:nxw_email |
n |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
watchA4jRequests |
|
|
click |
id=createUserView:createUser:button_save |
|
waitForA4jRequest |
10000 |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Membership management |
|
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
memberSW |
typeKeys |
css=div[id$='nxw_social_workspace_group_members_1_select2'] input |
memberSW |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
verifyTextPresent |
memberSW |
|
click |
//input[starts-with(@name,'editSocialWorkspaceGroups') and @value="Save"] |
|
|
|
socialWorkspace/collaboration/consultationByNonMember.html
Collaboration view: consultation by non member |
setTimeout |
120000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium consultationByNonMember |
|
open |
logout |
|
type |
username |
nonMemberSW |
type |
password |
pwd |
clickAndWait |
Submit |
|
clickAndWait |
link=Home |
|
click |
id=addGadgetButton |
|
selectFrame |
//iframe[@id='fancybox-frame'] |
|
waitForElementPresent |
//div[@id='gadgetListContainer']//div[@gadget-name='publicsocialworkspaces'] |
|
click |
//div[@id='gadgetListContainer']//div[@gadget-name='publicsocialworkspaces'] |
|
selectWindow |
null |
|
selectOpenSocialGadgetFrame |
publicsocialworkspaces |
|
waitForElementPresent |
//a[@title='SocialWorkspace_SocialCollaborationView_Visibility'] |
|
assignId |
//a[@title='SocialWorkspace_SocialCollaborationView_Visibility'] |
selectedElementId |
selectWindow |
null |
|
clickAndWait |
selectedElementId |
|
click |
//*[@id="socialWorkspaceCollaborationListForm"]/ul/li |
|
waitForElementPresent |
link=Go to Articles |
|
clickAndWait |
link=Go to Articles |
|
verifyTextNotPresent |
make public |
|
verifyTextNotPresent |
restrict to the Social Workspace |
|
clickAndWait |
id=title_Two |
|
verifyTextNotPresent |
make public |
|
verifyTextNotPresent |
restrict to the Social Workspace |
|
|
|
socialWorkspace/collaboration/documentsVisibilityByMember.html
Collaboration view: documents visibility management by member |
setTimeout |
120000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium documentsVisibilityByMember |
|
open |
logout |
|
type |
username |
memberSW |
type |
password |
pwd |
clickAndWait |
Submit |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
//img[@alt='Social Collaboration View'] |
|
clickAndWait |
link=Go to Articles |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
clickAndWait |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementNotPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
clickAndWait |
id=title_One |
|
clickAndWait |
link=Restrict to the social workspace |
|
clickAndWait |
link=make it public |
|
verifyElementPresent |
link=Restrict to the social workspace |
|
clickAndWait |
link=Go to Articles |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
clickAndWait |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementNotPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
|
|
socialWorkspace/collaboration/documentsVisibilityByAdmin.html
Collaboration view: documents visibility management by admin |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium documentsVisibilityByAdmin |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
//img[@alt='Social Collaboration View'] |
|
clickAndWait |
link=Go to Articles |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
clickAndWait |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementNotPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
clickAndWait |
id=title_One |
|
clickAndWait |
link=Restrict to the social workspace |
|
clickAndWait |
link=make it public |
|
verifyElementPresent |
link=Restrict to the social workspace |
|
clickAndWait |
link=Go to Articles |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
clickAndWait |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementNotPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
clickAndWait |
link=Go to News items |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
clickAndWait |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementNotPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
clickAndWait |
id=title_NI one |
|
clickAndWait |
link=Restrict to the social workspace |
|
clickAndWait |
link=make it public |
|
verifyElementPresent |
link=Restrict to the social workspace |
|
clickAndWait |
link=Go to News items |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
clickAndWait |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
verifyElementPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] |
|
verifyElementNotPresent |
//table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |
|
|
|
minimessages/testUserMiniMessages.html
Test User Mini Messages |
setTimeout |
120000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium testUserMiniMessages |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
3000 |
|
waitForElementPresent |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
bender |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
bender@nuxeo.com |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
bender1 |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
bender1 |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
watchA4jRequests |
|
|
click |
//input[@id='createUserView:createUser:button_save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
User created |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
3000 |
|
waitForElementPresent |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
leela |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
leela@nuxeo.com |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
leela1 |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
leela1 |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
watchA4jRequests |
|
|
click |
//input[@id='createUserView:createUser:button_save'] |
|
waitForA4jRequest |
10000 |
|
open |
logout |
|
type |
username |
bender |
type |
password |
bender1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bender |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Network |
|
watchA4jRequests |
|
|
click |
//input[@id='relationshipNetworkView:searchForm:clearButton'] |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
leela |
watchA4jRequests |
|
|
click |
//input[@id='relationshipNetworkView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
verifyElementPresent |
link=leela |
|
clickAndWait |
link=leela |
|
waitForElementPresent |
//div[@class='gadgets-gadget-chrome gadgets gadget-user-mini-messages fullWidth']/div[2]/iframe |
|
selectFrame |
//div[@class='gadgets-gadget-chrome gadgets gadget-user-mini-messages fullWidth']/div[2]/iframe |
|
waitForTextPresent |
No mini message to display. |
|
selectWindow |
null |
|
watchA4jRequests |
|
|
click |
//tbody[@id='viewUserView:viewUser:nxl_summary_user_profile_layout:nxl_user_relationship:nxw_user_relationship_add:nxw_user_relationship_add_add_relationship:tbody_element']/tr/td/input |
|
waitForA4jRequest |
10000 |
|
open |
logout |
|
type |
username |
leela |
type |
password |
leela1 |
clickAndWait |
Submit |
|
verifyTextPresent |
leela |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Mini Messages |
|
waitForElementPresent |
//div[@class='gadgets gadget-user-mini-messages threeQuarterWidth']/div[2]/iframe |
|
selectFrame |
//div[@class='gadgets gadget-user-mini-messages threeQuarterWidth']/div[2]/iframe |
|
waitForElementPresent |
//form[@name='newMiniMessageForm'] |
|
type |
newMiniMessageText |
Leela's first mini message! |
click |
//p[@class='newMiniMessageActions']/input |
|
waitForTextPresent |
Leela's first mini message! |
|
type |
newMiniMessageText |
Leela's second mini message! |
click |
//p[@class='newMiniMessageActions']/input |
|
waitForTextPresent |
Leela's second mini message! |
|
selectWindow |
null |
|
clickAndWait |
link=Log out |
|
type |
username |
bender |
type |
password |
bender1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bender |
|
clickAndWait |
Link=Home |
|
clickAndWait |
link=Mini Messages |
|
waitForElementPresent |
//div[@class='gadgets gadget-user-mini-messages threeQuarterWidth']/div[2]/iframe |
|
selectFrame |
//div[@class='gadgets gadget-user-mini-messages threeQuarterWidth']/div[2]/iframe |
|
waitForTextPresent |
leela |
|
verifyTextPresent |
Leela's first mini message! |
|
verifyTextPresent |
Leela's second mini message! |
|
type |
newMiniMessageText |
Bender's first mini message! |
click |
//p[@class='newMiniMessageActions']/input |
|
waitForTextPresent |
Bender's first mini message! |
|
selectWindow |
null |
|
clickAndWait |
link=Network |
|
watchA4jRequests |
|
|
click |
//input[@id='relationshipNetworkView:searchForm:clearButton'] |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
leela |
watchA4jRequests |
|
|
click |
//input[@id='relationshipNetworkView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
verifyElementPresent |
link=leela |
|
clickAndWait |
link=leela |
|
waitForElementPresent |
//div[@class='gadgets-gadget-chrome gadgets gadget-user-mini-messages fullWidth']/div[2]/iframe |
|
selectFrame |
//div[@class='gadgets-gadget-chrome gadgets gadget-user-mini-messages fullWidth']/div[2]/iframe |
|
waitForTextPresent |
Leela's first mini message! |
|
verifyTextPresent |
Leela's second mini message! |
|
verifyTextNotPresent |
Bender's first mini message! |
|
selectWindow |
null |
|
clickAndWait |
link=Log out |
|
type |
username |
bender |
type |
password |
bender1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bender |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Mini Messages |
|
waitForElementPresent |
//div[@class='gadgets gadget-user-mini-messages threeQuarterWidth']/div[2]/iframe |
|
selectFrame |
//div[@class='gadgets gadget-user-mini-messages threeQuarterWidth']/div[2]/iframe |
|
verifyTextPresent |
Bender's first mini message! |
|
click |
//div[@id="container"]/div/div/div[3]/div/a |
|
assertConfirmation |
Delete mini message? |
|
waitForTextNotPresent |
Bender's first mini message! |
|
selectWindow |
null |
|
clickAndWait |
link=Log out |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
type |
//input[@id='usersListingView:searchForm:searchText'] |
leela |
watchA4jRequests |
|
|
click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
xpath=id('usersListingView:users_listing')/table[1]/tbody[1]/tr[1]/td[1]/a[1] |
|
waitForA4jRequest |
10000 |
|
click |
link=Delete |
|
assertConfirmation |
Delete user? |
|
waitForTextPresent |
No user matching the entered criteria |
10000 |
type |
//input[@id='usersListingView:searchForm:searchText'] |
bender |
watchA4jRequests |
|
|
click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
xpath=id('usersListingView:users_listing')/table[1]/tbody[1]/tr[1]/td[1]/a[1] |
|
waitForA4jRequest |
10000 |
|
click |
link=Delete |
|
assertConfirmation |
Delete user? |
|
waitForTextPresent |
No user matching the entered criteria |
10000 |
clickAndWait |
link=Log out |
|
|
|
minimessages/testAddMiniMessageButton.html
Test Add Mini Message |
setTimeout |
120000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium testAddMiniMessagesButton |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
click |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
selectOpenSocialGadgetFrame |
minimessages |
|
waitForElementPresent |
//textarea[@name="newMiniMessageText"] |
|
type |
//textarea[@name="newMiniMessageText"] |
a new minimessage |
click |
//input[@name="writeMiniMessageButton"] |
|
waitForElementPresent |
//div[@class="message"][text()="a new minimessage"] |
|
selectWindow |
null |
|
clickAndWait |
link=Log out |
|
|
|
activitystream/testUserActivityStream.html
Test User Activity Stream |
setTimeout |
120000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium testUserActivityStream |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
3000 |
|
waitForElementPresent |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
bender |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
bender@nuxeo.com |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
bender1 |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
bender1 |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
administrators |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
administrators |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
watchA4jRequests |
|
|
click |
//input[@id='createUserView:createUser:button_save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
User created |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
3000 |
|
waitForElementPresent |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
leela |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
leela@nuxeo.com |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
leela1 |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
leela1 |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
administrators |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
administrators |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
watchA4jRequests |
|
|
click |
//input[@id='createUserView:createUser:button_save'] |
|
waitForA4jRequest |
10000 |
|
open |
logout |
|
type |
username |
leela |
type |
password |
leela1 |
clickAndWait |
Submit |
|
verifyTextPresent |
leela |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
link=Default domain |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=Create a new workspace |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
activityStreamWorkspace |
clickAndWait |
//input[@value='Create'] |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=File |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
activityStreamFile |
type |
//td[@class="fieldColumn"]/textarea |
desc activityStreamFile |
clickAndWait |
//input[@value='Create'] |
|
clickAndWait |
link=Log out |
|
type |
username |
bender |
type |
password |
bender1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bender |
|
clickAndWait |
Link=Home |
|
clickAndWait |
link=Activity Stream |
|
waitForElementPresent |
//div[@class='gadgets gadget-user-activity-stream threeQuarterWidth']/div[2]/iframe |
|
selectFrame |
//div[@class='gadgets gadget-user-activity-stream threeQuarterWidth']/div[2]/iframe |
|
waitForTextPresent |
leela |
|
verifyTextPresent |
leela created a new document activityStreamWorkspace |
|
verifyTextPresent |
leela created a new document activityStreamFile |
|
selectWindow |
null |
|
clickAndWait |
link=Network |
|
watchA4jRequests |
|
|
click |
//input[@id='relationshipNetworkView:searchForm:clearButton'] |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
leela |
watchA4jRequests |
|
|
click |
//input[@id='relationshipNetworkView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
verifyElementPresent |
link=leela |
|
clickAndWait |
link=leela |
|
waitForElementPresent |
//div[@class='gadgets-gadget-chrome gadgets gadget-user-activity-stream fullWidth']/div[2]/iframe |
|
selectFrame |
//div[@class='gadgets-gadget-chrome gadgets gadget-user-activity-stream fullWidth']/div[2]/iframe |
|
waitForTextPresent |
leela created a new document activityStreamWorkspace |
|
verifyTextPresent |
leela created a new document activityStreamFile |
|
selectWindow |
null |
|
clickAndWait |
link=Log out |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
Link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
type |
//input[@id='usersListingView:searchForm:searchText'] |
leela |
watchA4jRequests |
|
|
click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
xpath=id('usersListingView:users_listing')/table[1]/tbody[1]/tr[1]/td[1]/a[1] |
|
waitForA4jRequest |
10000 |
|
click |
link=Delete |
|
assertConfirmation |
Delete user? |
|
waitForTextPresent |
No user matching the entered criteria |
10000 |
type |
//input[@id='usersListingView:searchForm:searchText'] |
bender |
watchA4jRequests |
|
|
click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
xpath=id('usersListingView:users_listing')/table[1]/tbody[1]/tr[1]/td[1]/a[1] |
|
waitForA4jRequest |
10000 |
|
click |
link=Delete |
|
assertConfirmation |
Delete user? |
|
waitForTextPresent |
No user matching the entered criteria |
10000 |
clickAndWait |
link=Log out |
|
|
|
socialWorkspace/BulkMemberImport/createUsersToBeImported.html
ll
Bulk Import: create users for import
Bulk Import: create users for import |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium createUsersToBeImported |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
member1 |
type |
id=createUserView:createUser:nxl_user:nxw_email |
member1@mail.net |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
waitForA4jRequest |
10000 |
|
click |
id=createUserView:createUser:button_save |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
member2 |
type |
id=createUserView:createUser:nxl_user:nxw_email |
member2@mail.net |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
click |
id=createUserView:createUser:button_save |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
memberToAddByEmailList1 |
type |
id=createUserView:createUser:nxl_user:nxw_email |
memberToAddByEmailList1@mail.net |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
waitForA4jRequest |
10000 |
|
click |
id=createUserView:createUser:button_save |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
memberToAddByEmailList2 |
type |
id=createUserView:createUser:nxl_user:nxw_email |
memberToAddByEmailList2@mail.net |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
click |
id=createUserView:createUser:button_save |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
memberOfAnotherGroup1 |
type |
id=createUserView:createUser:nxl_user:nxw_email |
memberOfAnotherGroup1@mail.net |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
click |
id=createUserView:createUser:button_save |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
click |
id=usersListingView:createUserActionsForm:createUserButton |
|
waitForElementPresent |
//*[@id='createUserView:createUser:nxl_user:nxw_username'] |
|
type |
id=createUserView:createUser:nxl_user:nxw_username |
memberOfAnotherGroup2 |
type |
id=createUserView:createUser:nxl_user:nxw_email |
memberOfAnotherGroup2@mail.net |
type |
id=createUserView:createUser:nxl_user:nxw_firstPassword |
pwd |
type |
id=createUserView:createUser:nxl_user:nxw_secondPassword |
pwd |
click |
id=createUserView:createUser:button_save |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Groups |
|
waitForA4jRequest |
6000 |
|
watchA4jRequests |
|
|
click |
//*[@id="groupsListingView:createGroupActionsForm:createGroupButton"] |
|
waitForA4jRequest |
6000 |
|
type |
//*[@id="createGroupView:createGroup:nxl_group:nxw_group_name"] |
AnotherGroup |
typeKeys |
css=div[id$='nxw_group_members_select2'] input |
memberOfAnotherGroup1 |
typeKeys |
css=div[id$='nxw_group_members_select2'] input |
memberOfAnotherGroup1 |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
typeKeys |
css=div[id$='nxw_group_members_select2'] input |
memberOfAnotherGroup2 |
typeKeys |
css=div[id$='nxw_group_members_select2'] input |
memberOfAnotherGroup2 |
waitForJSQueries |
10000 |
|
clickAt |
css=.select2-result-label |
|
verifyTextPresent |
memberOfAnotherGroup1 |
|
verifyTextPresent |
memberOfAnotherGroup2 |
|
watchA4jRequests |
|
|
click |
//input[@id='createGroupView:createGroup:button_save'] |
|
waitForA4jRequest |
6000 |
|
open |
logout |
|
|
|
socialWorkspace/BulkMemberImport/importMembers.html
Bulk Import: import members |
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium importMembers |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Bulk invitation |
|
type |
//textarea[1] |
member1@mail.net; member2@mail.net
;memberToAddByEmailList1@mail.net; memberToAddByEmailList2@mail.net;
nobodyAsUser@mail.net |
type |
//table[@class="dataInput"]//tr[3]//textarea |
My Comment ... |
clickAndWait |
//p[@class="buttonsGadget"]//input[@type="submit"] |
|
clickAndWait |
link=User registration requests |
|
watchA4jRequests |
|
|
click |
//table[@class='dataOutput']/thead/tr[1]/th[1]//input |
|
waitForA4jRequest |
10000 |
|
clickAndWait |
//input[@id="local_user_requests_view_buttons:nxw_UserRegistrationValidate_form:nxw_UserRegistrationValidate"] |
Timed out after 30000ms |
clickAndWait |
link=Membership management |
|
verifyTextPresent |
|
member2 |
verifyTextPresent |
|
memberToAddByEmailList2 |
verifyTextPresent |
|
member1 |
verifyTextPresent |
|
memberToAddByEmailList1 |
open |
logout |
|
|
|
relationships/testUserRelationships.html
Test User Relationships |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium testUserRelationships |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
link=Admin Center |
|
clickAndWait |
link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
3000 |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
jdoh |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
jdoh@social.workspace.org |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
watchA4jRequests |
|
|
click |
//input[@value='Save and create'] |
|
waitForA4jRequest |
12000 |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
mistert |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_lastname"] |
Tureaud |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstname"] |
Laurence |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
mt@social.workspace.org |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
watchA4jRequests |
|
|
click |
//input[@value='Save and create'] |
|
waitForA4jRequest |
12000 |
|
type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
shedlund |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_lastname"] |
Hedlund |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstname"] |
Stieg |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
sh@social.workspace.org |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
12000 |
|
verifyTextNotPresent |
Relationship added successfully |
|
waitForElementPresent |
link=Add |
|
click |
link=Add |
|
watchA4jRequests |
|
|
click |
//input[@type='checkbox'] |
|
waitForA4jRequest |
12000 |
|
waitForTextPresent |
Relationship added successfully |
|
watchA4jRequests |
|
|
click |
//input[@type='checkbox'] |
|
waitForA4jRequest |
12000 |
|
waitForTextPresent |
Relationship removed successfully |
|
watchA4jRequests |
|
|
click |
//input[@type='checkbox'] |
|
waitForA4jRequest |
12000 |
|
watchA4jRequests |
|
|
click |
link=Back to the list |
|
waitForA4jRequest |
12000 |
|
type |
id=usersListingView:searchForm:searchText |
|
typeKeys |
id=usersListingView:searchForm:searchText |
miste |
watchA4jRequests |
|
|
click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
xpath=id('usersListingView:users_listing')/table[1]/tbody[1]/tr[1]/td[1]/a[1] |
|
waitForA4jRequest |
10000 |
|
waitForTextPresent |
Laurence has no relation |
|
waitForElementPresent |
link=Add |
|
click |
link=Add |
|
watchA4jRequests |
|
|
click |
//input[@type='checkbox'] |
|
waitForA4jRequest |
12000 |
|
watchA4jRequests |
|
|
click |
link=Back to the list |
|
waitForA4jRequest |
12000 |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Network |
|
watchA4jRequests |
|
|
click |
id=relationshipNetworkView:searchForm:clearButton |
|
waitForA4jRequest |
12000 |
|
verifyTextPresent |
No user matching |
|
verifyTextPresent |
Stieg Hedlund |
|
verifyTextPresent |
friends |
|
verifyTextNotPresent |
jdo |
|
waitForElementPresent |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
|
typeKeys |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
|
type |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
jdo |
keyUp |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
o |
waitForTextPresent |
jdoh |
|
clickAndWait |
link=jdoh |
|
verifyTextPresent |
Username |
|
|
|
userSocialWorkspaces/selectUserSW.html
Select User Social Workspaces in the Dashboard |
open |
restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium selectUserSW |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
clickAndWait |
link=SocialWorkspaceForDashboardView |
|
clickAndWait |
//img[@alt='Social Collaboration View'] |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
verifyTextPresent |
Select a workspace |
|
verifyText |
//*[@id="title_SocialWorkspaceForDashboardView"] |
SocialWorkspaceForDashboardView |
verifyText |
//*[@id="title_SocialWorkspaceForNews"] |
SocialWorkspaceForNews |
verifyText |
//*[@id="title_SocialWorkspace_SocialCollaborationView_Visibility"] |
SocialWorkspace_SocialCollaborationView_Visibility |
verifyText |
//*[@id="title_testBrowserSocialWorkspace"] |
testBrowserSocialWorkspace |
verifyText |
//*[@id="title_testPublicationSW"] |
testPublicationSW |
clickAndWait |
link=SocialWorkspaceForNews |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
verifyTextPresent |
Select a workspace |
|
waitForElementPresent |
//*[@id="title_SocialWorkspaceForDashboardView"] |
|
verifyText |
//*[@id="title_SocialWorkspaceForDashboardView"] |
SocialWorkspaceForDashboardView |
verifyText |
//*[@id="title_SocialWorkspaceForNews"] |
SocialWorkspaceForNews |
verifyText |
//*[@id="title_SocialWorkspace_SocialCollaborationView_Visibility"] |
SocialWorkspace_SocialCollaborationView_Visibility |
verifyText |
//*[@id="title_testBrowserSocialWorkspace"] |
testBrowserSocialWorkspace |
verifyText |
//*[@id="title_testPublicationSW"] |
testPublicationSW |
clickAndWait |
link=Go to Articles |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData,content |
60000 |
verifyTextPresent |
Select a workspace |
|
verifyText |
//*[@id="title_SocialWorkspaceForDashboardView"] |
SocialWorkspaceForDashboardView |
verifyText |
//*[@id="title_SocialWorkspaceForNews"] |
SocialWorkspaceForNews |
verifyText |
//*[@id="title_SocialWorkspace_SocialCollaborationView_Visibility"] |
SocialWorkspace_SocialCollaborationView_Visibility |
verifyText |
//*[@id="title_testBrowserSocialWorkspace"] |
testBrowserSocialWorkspace |
verifyText |
//*[@id="title_testPublicationSW"] |
testPublicationSW |
open |
logout |
|
type |
username |
memberSW |
type |
password |
pwd |
clickAndWait |
Submit |
|
clickAndWait |
link=Document Management |
|
clickAndWait |
//form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] |
|
clickAndWait |
link=SocialWorkspace_SocialCollaborationView_Visibility |
|
clickAndWait |
//img[@alt='Social Collaboration View'] |
|
verifyTextPresent |
Select a workspace |
|
verifyText |
//*[@id="title_SocialWorkspace_SocialCollaborationView_Visibility"] |
SocialWorkspace_SocialCollaborationView_Visibility |
verifyTextNotPresent |
SocialWorkspaceForDashboardView |
|
verifyTextNotPresent |
SocialWorkspaceForNews |
|
verifyTextNotPresent |
testBrowserSocialWorkspace |
|
verifyTextNotPresent |
testPublicationSW |
|
clickAndWait |
link=Go to Articles |
|
verifyTextPresent |
Select a workspace |
|
verifyText |
//*[@id="title_SocialWorkspace_SocialCollaborationView_Visibility"] |
SocialWorkspace_SocialCollaborationView_Visibility |
verifyTextNotPresent |
SocialWorkspaceForDashboardView |
|
verifyTextNotPresent |
SocialWorkspaceForNews |
|
verifyTextNotPresent |
testBrowserSocialWorkspace |
|
verifyTextNotPresent |
testPublicationSW |
|
|
|