I am using selenium IDE 1.9.0 to record a test. Please advise me what I didn't wrong and how to fix the problem.
here are the steps that i am taking to record the test. 1.I logged into the site with username and password 2.I navigated to search member page to type in the member's name, click on the name link the system lead me to the member profile page.
The script stopped at this line:
ClickAndWait id=cmp_admin
the first time I played script it runs without any error. The run the script on after 8 hours, it prompts me the following error:
[error] Element id=cmp_admin not found
I used the debug function to see what went wrong. Here are the messages displayed in the debug pane:
[debug] modifySeparateTestWindowToDetectPageLoads: already polling this window: selenium1365079281311
[debug] getCurrentWindow newPageLoaded = false
[error] Element id=cmp_admin not found
[debug] commandError
[debug] testComplete: failed=true
Here is the html code generated by Selenium IDE
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=nd_home</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>id=cmp_admin</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=quicksearch_anchor</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=img[alt="Member"]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=search_name</td>
<td>suzy</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Balagia, Suzy</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>