Code Search for Developers
 
 
  

forms.html from Jameleon at Krugle


Show forms.html syntax highlighted

<!--
    Jameleon HtmlUnit plug-in - A plug-in that uses HtmlUnit to drive web sites
    Copyright (C) 2006 Christian W. Hargraves (engrean@hotmail.com)
    
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111AssertLevel.NO_FUNCTION07 USA
-->
<html>
<head>
    <TITLE>forms page</TITLE>
</head>
<body bgcolor="#FFFFFF">
    <form name="testform1" action="./tables.html" id="test_form_1">
        Username: <input type="text" name="username"><br>
        Password: <input type="password" name="password"><br>
        Username: <input name="textType"><br>
        checkbox unchecked: <input type="checkbox" name="checkbox1" value="cb_val1"><br>
        checkbox checked: <input type="checkbox" name="checkbox2" value="cb_val2" checked><br>
        checkbox same name different value: <input type="checkbox" name="checkbox2" value="cb_val3"><br>
        radio button <input type="radio" name="radio1" value="rad1"><input type="radio" name="radio1" value="rad2"><br>
        Text Area: <textarea name="ta_1"></textarea><br>
        Hidden Field: <input type="hidden" name="hf_1" value="hf value">
        Select Field: 
        <select name="sf_single_values">
            <option value="1">one</option>
            <option value="2">two</option>
            <option value="3">three</option>
        </select>
        <select name="sf_multiple_values" multiple>
            <option value="1">one</option>
            <option value="2">two</option>
            <option value="3">three</option>
        </select>
        <input type="submit" value="Login">
    </form>

    <form name="fileform" id="file_form_id">
        File to Upload: <input type="file" name="some_file"><br>
        <input type="submit" value="Upload File">
    </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