Author: hangnguyen
Date: 2010-03-08 23:54:43 -0500 (Mon, 08 Mar 2010)
New Revision: 2046
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html
Log:
Change position of portlet in script
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html 2010-03-09
04:10:57 UTC (rev 2045)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_SNF_PRL_12.html 2010-03-09
04:54:43 UTC (rev 2046)
@@ -4,12 +4,12 @@
<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>SNF_PRL_12</title>
+<title>Test_SNF_PRL_12</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
-<tr><td rowspan="1"
colspan="3">SNF_PRL_12</td></tr>
+<tr><td rowspan="1"
colspan="3">Test_SNF_PRL_12</td></tr>
</thead><tbody>
<tr>
<td>open</td>
@@ -78,42 +78,52 @@
</tr>
<tr>
<td>echo</td>
- <td>--Verify details of Administration>>Organisation
Management</td>
+ <td>--Verify details of Administration>>NewAccount</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
- <td>OrganizationPortlet</td>
+ <td>AccountPortlet</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>OrganizationPortlet</td>
+ <td>AccountPortlet</td>
<td></td>
</tr>
<tr>
<td>echo</td>
- <td>--Verify details of Administration>>NewAccount</td>
+ <td>--Verify details of Administration>>Organisation
Management</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[3]//a</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[3]//a</td>
<td></td>
</tr>
<tr>
<td>waitForTextPresent</td>
- <td>AccountPortlet</td>
+ <td>OrganizationPortlet</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
- <td>AccountPortlet</td>
+ <td>OrganizationPortlet</td>
<td></td>
</tr>
<tr>
@@ -122,11 +132,26 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@class='UIVerticalSlideTabs']/div[2]//a</td>
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[1]//a</td>
<td></td>
@@ -147,6 +172,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAt</td>
<td>xpath=//div[@class='UIVerticalSlideTabs']//div[@class='UIVTabContent']//div[2]//a</td>
<td></td>