diff options
author | Mikael Grankvist <mikael.grankvist@itmill.com> | 2010-07-01 12:18:59 +0000 |
---|---|---|
committer | Mikael Grankvist <mikael.grankvist@itmill.com> | 2010-07-01 12:18:59 +0000 |
commit | 938ba6e3c47d38f900fb04ed05038cd6a7bb545b (patch) | |
tree | 4ee58b99e9782b7fca951ec8cc8a2be1dc7939b3 /tests/integration-testscripts | |
parent | 6ff992225d0d424d9ecd14b767310752f8c52c79 (diff) | |
download | vaadin-framework-938ba6e3c47d38f900fb04ed05038cd6a7bb545b.tar.gz vaadin-framework-938ba6e3c47d38f900fb04ed05038cd6a7bb545b.zip |
liferay portlet2 test.
gatein 3.1.0 integration test
svn changeset:14005/svn branch:6.4
Diffstat (limited to 'tests/integration-testscripts')
-rw-r--r-- | tests/integration-testscripts/integration-test-GateIn-3.1.0-sampler.html | 122 | ||||
-rw-r--r-- | tests/integration-testscripts/integration-test-liferay-5.2.3-portlet2.html | 102 |
2 files changed, 224 insertions, 0 deletions
diff --git a/tests/integration-testscripts/integration-test-GateIn-3.1.0-sampler.html b/tests/integration-testscripts/integration-test-GateIn-3.1.0-sampler.html new file mode 100644 index 0000000000..9d10fb8ea9 --- /dev/null +++ b/tests/integration-testscripts/integration-test-GateIn-3.1.0-sampler.html @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="http://rndtestlinux.office.itmill.com:8080/" /> +<title>GateIn-Test</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">GateIn-Test</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/portal/public/classic/</td> + <td></td> +</tr> +<tr> + <td>mouseClickAndWait</td> + <td>link=Administrator</td> + <td>27,7</td> +</tr> +<tr> + <td>mouseClickAndWait</td> + <td>link=Application Registry</td> + <td>93,13</td> +</tr> +<tr> + <td>click</td> + <td>//div[2]/div[2]/div[1]/div[1]/div[2]</td> + <td>73,18</td> +</tr> +<tr> + <td>assertConfirmation</td> + <td>This action will automatically create categories and import all the gadgets and portlets on it.</td> + <td></td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>link=demo</td> + <td></td> +</tr> +<tr> + <td>mouseClickAndWait</td> + <td>link=Home</td> + <td>65,18</td> +</tr> +<tr> + <td>mouseClick</td> + <td>link=Add New Page</td> + <td>55,11</td> +</tr> +<tr> + <td>mouseClick</td> + <td>pageName</td> + <td>33,16</td> +</tr> +<tr> + <td>enterCharacter</td> + <td>pageName</td> + <td>Sampler</td> +</tr> +<tr> + <td>mouseClick</td> + <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td> + <td>36,12</td> +</tr> +<tr> + <td>mouseClick</td> + <td>//div[@id='UIPageCreationWizard']/div/div[3]/div/div/div/div[2]/div/table/tbody/tr/td/div[2]/div/div/div</td> + <td>21,13</td> +</tr> +<tr> + <td>mouseClick</td> + <td>//div[3]/div</td> + <td>51,11</td> +</tr> +<tr> + <td>scroll</td> + <td>//div[@id='UIPageEditor']/div[2]/div/div/div/div/div</td> + <td>609</td> +</tr> +<tr> + <td>pause</td> + <td>300</td> + <td></td> +</tr> +<tr> + <td>drag</td> + <td>//div[@id='demo/SamplerPortlet']/div/div/div[1]/div[2]</td> + <td></td> +</tr> +<tr> + <td>drop</td> + <td>//div[2]/div/div/div[1]/div/div[2]/div/div/div/div</td> + <td>113,9</td> +</tr> +<tr> + <td>mouseClickAndWait</td> + <td>//a[@onclick='eXo.core.DOMUtil.disableOnClick(this);']</td> + <td>13,5</td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td></td> +</tr> +<tr> + <td>mouseClick</td> + <td>//div[@id='demosampler-624716997']/div/div[2]/div/div[2]/div/div/div/div[1]/div/div[2]/div/div/div/div[8]/div/div/div[7]/a/span</td> + <td>22,-1763</td> +</tr> +<tr> + <td>screenCapture</td> + <td></td> + <td></td> +</tr> + +</tbody></table> +</body> +</html> diff --git a/tests/integration-testscripts/integration-test-liferay-5.2.3-portlet2.html b/tests/integration-testscripts/integration-test-liferay-5.2.3-portlet2.html new file mode 100644 index 0000000000..8fb3a5d1a6 --- /dev/null +++ b/tests/integration-testscripts/integration-test-liferay-5.2.3-portlet2.html @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head profile="http://selenium-ide.openqa.org/profiles/test-case"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<link rel="selenium.base" href="" /> +<title>integration-test-liferay-Portlet2</title> +</head> +<body> +<table cellpadding="1" cellspacing="1" border="1"> +<thead> +<tr><td rowspan="1" colspan="3">integration-test-liferay-Portlet2</td></tr> +</thead><tbody> +<tr> + <td>open</td> + <td>/web/guest/home</td> + <td></td> +</tr> +<tr> + <td>mouseClickAndWait</td> + <td>link=Login as bruno</td> + <td>43,14</td> +</tr> +<tr> + <td>mouseClick</td> + <td>//div[@id='add-page']/a/span</td> + <td>51,17</td> +</tr> +<tr> + <td>pressSpecialKey</td> + <td>new_page</td> + <td>enter</td> +</tr> +<tr> + <td>enterCharacter</td> + <td>new_page</td> + <td>portlet2</td> +</tr> +<tr> + <td>mouseClick</td> + <td>link=Save</td> + <td>35,10</td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='navigation']/ul/li[3]/a/span</td> + <td></td> +</tr> +<tr> + <td>mouseClickAndWait</td> + <td>//div[@id='navigation']/ul/li[3]/a/span</td> + <td>19,8</td> +</tr> +<tr> + <td>mouseClick</td> + <td>link=Add Application</td> + <td>134,16</td> +</tr> +<tr> + <td>waitForElementPresent</td> + <td>//div[@id='Vaadin']/h2/span</td> + <td></td> +</tr> +<tr> + <td>mouseClickAndWait</td> + <td>//div[@id='Vaadin-AddressBook']/p/a</td> + <td>16,11</td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=AddressBookPortlet_WAR_demo_INSTANCE_0SLs_LAYOUT_10784::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[3]/domChild[0]/domChild[0]</td> + <td>37,14</td> +</tr> +<tr> + <td>click</td> + <td>vaadin=AddressBookPortlet_WAR_demo_INSTANCE_0SLs_LAYOUT_10784::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VHorizontalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]</td> + <td></td> +</tr> +<tr> + <td>mouseClick</td> + <td>vaadin=AddressBookPortlet_WAR_demo_INSTANCE_0SLs_LAYOUT_10784::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VFilterSelect[0]/domChild[0]</td> + <td>-11,7</td> +</tr> +<tr> + <td>enterCharacter</td> + <td>vaadin=AddressBookPortlet_WAR_demo_INSTANCE_0SLs_LAYOUT_10784::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VFormLayout[0]/VFormLayout$VFormLayoutTable[0]/VFilterSelect[0]/domChild[0]</td> + <td>Belfast</td> +</tr> +<tr> + <td>click</td> + <td>vaadin=AddressBookPortlet_WAR_demo_INSTANCE_0SLs_LAYOUT_10784::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VForm[0]/VHorizontalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]</td> + <td></td> +</tr> +<tr> + <td>assertText</td> + <td>vaadin=AddressBookPortlet_WAR_demo_INSTANCE_0SLs_LAYOUT_10784::/VVerticalLayout[0]/ChildComponentContainer[1]/VSplitPanelHorizontal[0]/VSplitPanelVertical[0]/VScrollTable[0]/domChild[1]/domChild[0]/domChild[1]/domChild[0]/domChild[3]/domChild[6]/domChild[0]</td> + <td>Belfast</td> +</tr> + +</tbody></table> +</body> +</html> |