Unzer/tests/acceptance/selenium/cases/prepayment.html

92 lignes
1.8 KiB
HTML
Brut Vue normale Historique

<?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" />
<title>prepayment</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">prepayment</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>?force_sid=reset</td>
<td></td>
</tr>
<tr>
<td>submitAndWait</td>
<td>css=form[name=&quot;tobasketnewItems_1&quot;]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=#minibasketIcon</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=#basketFlyout a.submitButton</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>css=#optionLogin input[name=&quot;lgn_usr&quot;]</td>
<td>${customerUserName}</td>
</tr>
<tr>
<td>type</td>
<td>css=#optionLogin input[name=&quot;lgn_pwd&quot;]</td>
<td>${customerPassword}</td>
</tr>
<tr>
<td>submitAndWait</td>
<td>css=#optionLogin form[name=&quot;login&quot;]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=#userNextStepBottom</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>id=payment_${oxidPrePayment}</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=#paymentNextStepBottom</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=#orderConfirmAgbBottom</td>
<td></td>
</tr>
<tr>
<td>submitAndWait</td>
<td>css=#orderConfirmAgbBottom</td>
<td></td>
</tr>
<tr>
<td>verifyElementPresent</td>
<td>css= div.status.corners.error</td>
<td>Wichtig!</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=li.step5.activeLast</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=#logoutLink</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>