Unzer/tests/acceptance/selenium/cases/giropay.html
2020-12-03 16:00:20 +01:00

136 lines
3.0 KiB
HTML

<?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>heidelpay_cc_step3</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">heidelpay_cc_step3</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_${oxidGiroPayment}</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=dynvalue[lsblz]</td>
<td>TESTDETT421</td>
</tr>
<tr>
<td>type</td>
<td>name=dynvalue[lsktonr]</td>
<td>DE46940594210000012345</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>type</td>
<td>css=input[name=&quot;account/addition[@name=benutzerkennung]&quot;]</td>
<td>sepatest1</td>
</tr>
<tr>
<td>type</td>
<td>css=input[name=&quot;ticket/pin&quot;]</td>
<td>12345</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=input[type=&quot;image&quot;]</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=input[type=&quot;image&quot;]</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>css=input[name=&quot;ticket/tan&quot;]</td>
<td>123456</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=input[type=&quot;image&quot;]</td>
<td></td>
</tr>
<tr>
<td>verifyText</td>
<td>css=table.textbox &gt; tbody &gt; tr &gt; td</td>
<td>Die giropay-Zahlung wurde erfolgreich durchgeführt.<br />Der Verkäufer hat eine Mitteilung erhalten, dass der Betrag seinem Konto gutgeschrieben wurde.<br />Durch Betätigen der Schaltfläche „Zurück zum Shop; schließen Sie den Vorgang ab und beenden gleichzeitig die Verbindung zu Ihrem Online Banking.</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>css=input[type=&quot;image&quot;]</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=li.step5.activeLast </td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>id=logoutLink</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>