Author: hangnguyen
Date: 2010-06-28 00:22:19 -0400 (Mon, 28 Jun 2010)
New Revision: 3487
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_05_06_003_LimitAccessRightForApplicationInNotPublicCategoryWhenUserWhoHasRightToAccessApplicationAlsoHasRightToAccessItsCategory.html
Log:
TESTVN-356: Clean and improve
Modified:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_05_06_003_LimitAccessRightForApplicationInNotPublicCategoryWhenUserWhoHasRightToAccessApplicationAlsoHasRightToAccessItsCategory.html
===================================================================
---
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_05_06_003_LimitAccessRightForApplicationInNotPublicCategoryWhenUserWhoHasRightToAccessApplicationAlsoHasRightToAccessItsCategory.html 2010-06-28
03:53:02 UTC (rev 3486)
+++
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/Test_PRL_05_06_003_LimitAccessRightForApplicationInNotPublicCategoryWhenUserWhoHasRightToAccessApplicationAlsoHasRightToAccessItsCategory.html 2010-06-28
04:22:19 UTC (rev 3487)
@@ -343,12 +343,12 @@
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>link=Add New Page</td>
+ <td>//a[contains(text(),'Add New Page')]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>link=Add New Page</td>
+ <td>//a[contains(text(),'Add New Page')]</td>
<td></td>
</tr>
<tr>
@@ -367,16 +367,41 @@
<td>Test_PRL_05_06_003</td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Go to Step 2--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</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></td>
+</tr>
+<tr>
<td>click</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></td>
</tr>
<tr>
+ <td>echo</td>
+ <td>-- Go to step 3--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</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></td>
+</tr>
+<tr>
<td>click</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></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Test_PRL_05_06_003</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>link=Test_PRL_05_06_003</td>
<td></td>
@@ -412,6 +437,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UIApplicationOrganizer']/div[2]/div[1]/div/div/div[2]/div/div[4]/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>//div[@id='UIApplicationOrganizer']/div[2]/div[1]/div/div/div[2]/div/div[4]/div/div/div/div/a</td>
<td></td>
@@ -442,6 +472,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div[2]/div[1]/div/a</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div[2]/div[1]/div/a</td>
<td></td>
@@ -477,6 +512,11 @@
<td></td>
</tr>
<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div[2]/div[1]/div/a</td>
+ <td></td>
+</tr>
+<tr>
<td>click</td>
<td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[2]/div[2]/div[1]/div/a</td>
<td></td>
Show replies by date