Author: hangnguyen
Date: 2010-12-29 05:31:22 -0500 (Wed, 29 Dec 2010)
New Revision: 5661
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_31_ManageNodePortal.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_40_EditPageForGroup.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_49_ChangeApplicationWhenEditPagePropertiesOfNode.html
Log:
TESTVN-2278 - Daily tests on GateIn - Clean and improve scripts
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_31_ManageNodePortal.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_31_ManageNodePortal.html 2010-12-29
06:38:04 UTC (rev 5660)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_31_ManageNodePortal.html 2010-12-29
10:31:22 UTC (rev 5661)
@@ -133,16 +133,46 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//tr[2]/td[5]/div/img</td>
+ <td>searchTerm</td>
<td></td>
</tr>
<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>Group Navigation</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>searchOption</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>//tr[2]/td[5]/div/img</td>
+ <td>//form[@id='UIPageSearch']/div[2]/a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>//img[@title='Select Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//img[@title='Select Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
</tr>
@@ -273,16 +303,46 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>//div[@id='UIRepeater']/table/tbody/tr[4]/td[5]/div/img</td>
+ <td>searchTerm</td>
<td></td>
</tr>
<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>Link</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>searchOption</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
- <td>//div[@id='UIRepeater']/table/tbody/tr[4]/td[5]/div/img</td>
+ <td>//form[@id='UIPageSearch']/div[2]/a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
+ <td>//img[@title='Select Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>click</td>
+ <td>//img[@title='Select Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
<td>link=Save</td>
<td></td>
</tr>
@@ -307,6 +367,11 @@
<td></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- View node node after change page --</td>
+ <td></td>
+</tr>
+<tr>
<td>waitForElementPresent</td>
<td>//div[@id='PortalNavigationTopContainer']/div[3]/div/div/div/div/div/div/a</td>
<td></td>
@@ -401,7 +466,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_40_EditPageForGroup.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_40_EditPageForGroup.html 2010-12-29
06:38:04 UTC (rev 5660)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_40_EditPageForGroup.html 2010-12-29
10:31:22 UTC (rev 5661)
@@ -177,13 +177,13 @@
<td></td>
</tr>
<tr>
- <td>waitForElementNotPresent</td>
- <td>css= div[@id="UIPortalApplication"]</td>
+ <td>waitForElementPresent</td>
+ <td>//div[@class="VIEW-PAGE"]</td>
<td></td>
</tr>
<tr>
- <td>verifyElementNotPresent</td>
- <td>css= div[@id="UIPortalApplication"]</td>
+ <td>verifyElementPresent</td>
+ <td>//div[@class="VIEW-PAGE"]</td>
<td></td>
</tr>
<tr>
@@ -589,7 +589,7 @@
<tr>
<td>waitForElementPresent</td>
<td>searchTerm</td>
- <td>Test_SNF_PRL_40</td>
+ <td></td>
</tr>
<tr>
<td>type</td>
@@ -671,7 +671,6 @@
<td>link=Sign out</td>
<td></td>
</tr>
-
</tbody></table>
</body>
</html>
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_49_ChangeApplicationWhenEditPagePropertiesOfNode.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_49_ChangeApplicationWhenEditPagePropertiesOfNode.html 2010-12-29
06:38:04 UTC (rev 5660)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/NewSnifftest/Test_SNF_PRL_49_ChangeApplicationWhenEditPagePropertiesOfNode.html 2010-12-29
10:31:22 UTC (rev 5661)
@@ -92,6 +92,11 @@
<td>Test_SNF_PRL_49</td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>label</td>
+ <td></td>
+</tr>
+<tr>
<td>type</td>
<td>label</td>
<td>Test_SNF_PRL_49</td>
@@ -702,6 +707,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Test_SNF_PRL_49</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Test_SNF_PRL_49</td>
<td></td>
@@ -712,6 +722,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
<td>clickAndWait</td>
<td>link=Group</td>
<td></td>