mobile/android/base/tests/robocop_login.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/tests/robocop_login.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<html>
     1.5 +<script>
     1.6 +function login(){
     1.7 +document.login.username.value="Test";
     1.8 +document.login.password.value="Test";
     1.9 +document.getElementById('submit').click();
    1.10 +}
    1.11 +</script>
    1.12 +<head>
    1.13 +  <title>Robocop Login</title>
    1.14 +  <meta charset="utf-8">
    1.15 +</head>
    1.16 +<body onload="login()">
    1.17 +  <h2>User Login </h2>
    1.18 +  <form name="login" method="post" action="robocop_blank_01.html">
    1.19 +   Username: <input type="text" name="username" id="username"><br>
    1.20 +   Password: <input type="password" name="password" id="password"><br>
    1.21 +   <input type="submit" id="submit" name="submit" value="Login!">
    1.22 +  </form>
    1.23 +</body>
    1.24 +</html>

mercurial