Commit 2ea7686a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use better Element Locator using @title or text() instead of hardcoded index.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26268 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b58a45d
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[3]/a</td>\n <td>//tr/td[3]/a[text()="Test Web Site"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@id=\'listbox_data_line_0\']/td[3]/a</td>\n <td>//tr/td[3]/a[text()="Test Web Site II"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//div[@id=\'context_bar\']/span[4]/span[1]/a[2]/span[1]</td>\n <td>//div[@id=\'context_bar\']//a[@title="Previous"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -157,12 +157,12 @@ ...@@ -157,12 +157,12 @@
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//tr[@id=\'listbox_data_line_1\']/td[3]/a</td>\n <td>//tr/td[3]/a[text()="Test Web Site"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//div[@id=\'context_bar\']/span[4]/span[1]/a[4]/span[1]</td>\n <td>//div[@id=\'context_bar\']//a[@title="Next"]</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
......
12 13
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment