What you are describing is intended to be supported as of the last
few weeks. Have you tried with a recent build? This is very new and
powerful functionality but we haven't been able to test against all
possible usage scenarios. Let us know if it is currently not working
and what is going wrong with as many details as you can supply and
preferably the smallest example which highlights your problem.
Cheers, Paul.
Mike Danifo wrote:
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