Hello,
I realize this post is over a year old, but it discusses exactly the problem I
am currently facing.

I am trying to implement a similar scenario, trying to implement a reusable
login module.

The limitation of the solution below is that I'm trying to make the login module
an ant macro, with an attribute of login.name and login.password, and the below
solution does not offer a way to call the module and dynamically pass in the
login.name and login.password attributes.

So, instead of using 

<!DOCTYPE project SYSTEM "../WebTest.dtd"[
        <!ENTITY login SYSTEM "login.xml">
]>

and calling the entity

&login;

I am trying to do:

<import file="${webtest.script.home}/modules/login.xml"/>

and calling the macro contained in login.xml

<login login.name="webtest" login.password="password"/>

Yet any actions after calling the macro are throwing the error is
com.canoo.webtest.engine.StepExecutionException: Last response not valid. Is a
previous invoke missing?

Any ideas for a solution to this problem?

thanks

-Mike



_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to