| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Document Library Test Page |
|
| clickAtAndWait |
link=Document Library Test Page |
|
| clickAtAndWait |
//a/strong |
|
| clickAt |
//td[5]/ul/li/strong/a |
|
| waitForElementPresent |
//div[@class='lfr-component lfr-menu-list']/ul/li[2]/a |
|
| clickAndWait |
//div[@class='lfr-component lfr-menu-list']/ul/li[2]/a |
|
| type |
_20_title |
Test1 Document1.txt |
| type |
_20_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\documentlibrary\document\comparefolderdocumentversion\dependencies\test_document.txt |
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| clickAtAndWait |
//td[1]/a |
|
| assertTextPresent |
1.1 |
|
| clickAt |
_20_rowIds |
|
| clickAtAndWait |
//input[@value='Compare Versions'] |
|
| assertPartialText |
//section/div/div/div |
There are no differences between 1.1 and 1.1. |
| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Document Library Test Page |
|
| clickAtAndWait |
link=Document Library Test Page |
|
| clickAtAndWait |
//a/strong |
|
| clickAt |
//td[5]/ul/li/strong/a |
|
| waitForElementPresent |
//div[@class='lfr-component lfr-menu-list']/ul/li[2]/a |
|
| clickAndWait |
//div[@class='lfr-component lfr-menu-list']/ul/li[2]/a |
|
| waitForElementPresent |
_20_file |
|
| type |
_20_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\documentlibrary\document\comparefolderdocumentversion\dependencies\test_CompareVersionsTest.txt |
| clickAtAndWait |
//input[@value='Publish'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| clickAtAndWait |
//td[1]/a |
|
| assertTextPresent |
1.2 |
|
| clickAt |
//input[@name='_20_rowIds' and @value='1.0'] |
|
| clickAtAndWait |
//input[@value='Compare Versions'] |
|
| assertTextPresent |
CompareVersionsTest |
|