| waitForElementPresent |
link=Document Library Test Page |
|
| clickAndWait |
link=Document Library Test Page |
|
| clickAndWait |
//b |
|
| clickAndWait |
//b |
|
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
link=Edit |
|
| clickAndWait |
link=Edit |
|
| waitForElementPresent |
_20_file |
|
| type |
_20_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\documentlibrary\test_document.txt |
| clickAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
link=Edit |
|
| clickAndWait |
link=Edit |
|
| assertTextPresent |
1.1 |
|
| click |
_20_rowIds |
|
| clickAndWait |
//input[@value='Compare Versions'] |
|
| assertTextPresent |
There are no differences between Test Document.txt 1.0 and Test Document.txt 1.1. |
|
| waitForElementPresent |
_20_tabs1TabsBack |
|
| clickAndWait |
_20_tabs1TabsBack |
|
| waitForElementPresent |
_20_file |
|
| type |
_20_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\documentlibrary\test_CompareVersionsTest.txt |
| clickAndWait |
//input[@value='Save'] |
|
| assertTextPresent |
Your request processed successfully. |
|
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
link=Edit |
|
| clickAndWait |
link=Edit |
|
| assertTextPresent |
1.2 |
|
| click |
//input[@name='_20_rowIds' and @value='1.0'] |
|
| clickAndWait |
//input[@value='Compare Versions'] |
|
| assertTextPresent |
CompareVersionsTest |
|