| setTimeout |
30000 |
|
| open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium addCommentsOnTopicWithoutModeration |
|
| open |
logout |
|
| open |
nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithoutModerati@view_documents |
|
| type |
username |
linnet |
| type |
password |
linnet1 |
| clickAndWait |
Submit |
|
| verifyTextPresent |
linnet |
|
| clickAndWait |
//input[@value="Add"] |
|
| verifyTextPresent |
Add a comment |
|
| type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
testTopicWithoutModeration |
| type |
//table[@class="dataInput"]//textarea |
comment n°1 in testTopicWithoutModeration |
| clickAndWait |
//input[@value="Add"] |
|
| verifyTextPresent |
comment n°1 in testTopicWithoutModeration |
|
| verifyElementPresent |
link=Delete |
|
| verifyElementPresent |
link=Reply |
|
| clickAndWait |
link=Log out |
|
| open |
nxpath/default/default-domain/workspaces/testWorkspace1/testForum1@view_documents |
|
| type |
username |
jdoe |
| type |
password |
jdoe1 |
| clickAndWait |
Submit |
|
| verifyTextPresent |
jdoe |
|
| verifyTextPresent |
linnet |
|
| verifyTextPresent |
1 |
|
| clickAndWait |
link=testTopicWithoutModeration |
|
| clickAndWait |
link=Topic |
|
| verifyTextPresent |
comment n°1 in testTopicWithoutModeration |
|
| verifyElementNotPresent |
link=Delete |
|
| verifyElementPresent |
link=Reply |
|
| clickAndWait |
//input[@value="Add"] |
|
| type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
John Doe adds a comment |
| type |
//table[@class="dataInput"]//textarea |
comment n°2 |
| clickAndWait |
//div[@class="tabsContent"]//input[@value="Cancel"] |
|
| verifyTextNotPresent |
John Doe adds a comment |
|
| verifyTextNotPresent |
comment n°2 |
|
| clickAndWait |
//input[@value="Add"] |
|
| type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
John Doe adds a comment |
| clickAndWait |
//input[@value="Add"] |
|
| verifyTextPresent |
Value is required |
|
| verifyTextNotPresent |
John Doe adds a comment |
|
| type |
//table[@class="dataInput"]//textarea |
comment n°2 |
| clickAndWait |
//input[@value="Add"] |
|
| verifyTextPresent |
John Doe adds a comment |
|
| verifyTextPresent |
comment n°2 |
|
| verifyElementPresent |
link=Delete |
|
| verifyElementPresent |
link=Reply |
|
| clickAndWait |
link=Log out |
|
| open |
nxpath/default/default-domain/workspaces/testWorkspace1/testForum1@view_documents |
|
| type |
username |
jsmith |
| type |
password |
jsmith1 |
| clickAndWait |
Submit |
|
| verifyTextPresent |
jsmith |
|
| verifyTextPresent |
jdoe |
|
| verifyTextPresent |
2 |
|
| clickAndWait |
link=testTopicWithoutModeration |
|
| clickAndWait |
link=Topic |
|
| verifyTextPresent |
comment n°1 in testTopicWithoutModeration |
|
| verifyTextPresent |
comment n°2 |
|
| verifyTextPresent |
John Doe adds a comment |
|
| verifyElementNotPresent |
link=Delete |
|
| verifyElementPresent |
link=Reply |
|
| clickAndWait |
//input[@value="Add"] |
|
| type |
//table[@class="dataInput"]//textarea |
comment n°3 |
| clickAndWait |
//input[@value="Add"] |
|
| verifyTextPresent |
Value is required |
|
| clickAndWait |
//input[@value="Add"] |
|
| type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
jsmith adds a comment |
| clickAndWait |
//input[@value="Add"] |
|
| verifyTextPresent |
jsmith adds a comment |
|
| verifyTextPresent |
comment n°3 |
|
| verifyElementPresent |
link=Delete |
|
| verifyElementPresent |
link=Reply |
|
| clickAndWait |
link=Log out |
|