[Webtest] use of propertytable

Sébastien Mathy webtest@lists.canoo.com
Wed, 13 Oct 2004 16:57:33 +0200


This is a multi-part message in MIME format.
--------------060808090207090001070902
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
I have another question.
I would like to use a <propertytable>.
I'm able to run the example provided on this page :
http://webtest-community.canoo.com/wiki/space/PropertyTable/Examples

But now I would like to insert in my groupware 2 users. I have a
spreadsheet whith 2 users and I do something like :

    <target name="case">
        <testSpec name="create_new_user" >
            &config;
            <steps>
		<propertytable container="${data.dir}/users.xls"
	            table="user" filterclass="All" >
	            <echo>${user.nick} ${user.first} ${user.last}</echo>
                <invoke url="adduser.php" stepid="" />
                <!-- here i addd the user
		</propertytable>
            </steps>
        </testSpec>
    </target>

But I have this error :
Task must be of type "Step": propertytable at create_new_user.xml:16:
is of type com.canoo.ant.task.PropertyTableTask

Regards


-- 
Sebastien Mathy


--------------060808090207090001070902
Content-Type: text/x-vcard; charset=utf-8;
 name="sebastien.mathy.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="sebastien.mathy.vcf"

begin:vcard
fn;quoted-printable:S=C3=A9bastien Mathy
n;quoted-printable:Mathy;S=C3=A9bastien
email;internet:sebastien.mathy@kereval.com
x-mozilla-html:FALSE
version:2.1
end:vcard


--------------060808090207090001070902--