Code Search for Developers
 
 
  

onLoad.html from Jameleon at Krugle


Show onLoad.html syntax highlighted

<html>
<head>
    <title>onLoad page</title>
    <script language="JavaScript">
    function setFormFields(){
        var value = "username";
        document.forms.emptyform.new_username.value = value;
        value = "password";
        document.forms.emptyform.new_password.value = value;
    }

    function setLinkField(){
        document.forms.emptyform.link_value.value = 'link was clicked';
    }
    </script>
</head>
<body onload="setFormFields();">
<form id="emptyform">
    <input name="new_username">
    <input name="new_password" type="password">
</form>
</body>
</html>




See more files for this project here

Jameleon

Jameleon is a data-driven automated testing tool that is easily extensible via plug-ins. Features of applications are automated in Java and tied together independently in XML, creating self-documenting automated test cases.

Project homepage: http://sourceforge.net/projects/jameleon
Programming language(s): Java,XML
License: other

  actions.html
  basic.html
  forms.html
  onLoad.html
  sessionTag.html
  tables.html