A. The configuration:
Selenium version:IDE 1.8.0
OS: Window XP
Browser:Firefox
Browser version:12.0
B. Procedure:
1.Opening Selenium IDE and pressing "record" button.
2.Opening Fiefox browser and enter : www.google.com"
3.In search frame, typing: "gmail".
4. choosing first adress, in my case is: "https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http://mail.google.com/mail/?hl%3Dvi&scc=1<mpl=default<mplcache=2&hl=vi"
5. stopping record.
6. Opening new tab firefox and pressing button: "Play current test case".
C. Expected result:
6. I can access gmail page successfully.
D. Actual result:
6. I don't access gmail page.
E. Log and code:
1. Log:
[info] Executing: |open | / | |
[info] Executing: |type | id=gbqfq | gmail |
[info] Executing: |click | link=exact:Gmail: Email từ Google | |
[error] Element link=exact:Gmail: Email từ Google not found
2. Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<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="http://www.google.com.vn/" />
<title>New Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>id=gbqfq</td>
<td>gmail</td>
</tr>
<tr>
<td>click</td>
<td>link=exact:Gmail: Email từ Google</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
=============================
Please help me to solve this issue.
Thank you.
Reported by daoquanghungGTVT on 2012-07-07 18:38:02
Originally reported on Google Code with ID 4212
Reported by
daoquanghungGTVT
on 2012-07-07 18:38:02