Hi Ruth,
Please check that you have the latest version of Wonder. I've just
committed there an example that shows how to use meta commands (your
code seems to be right, though):
Wonder/Common/Examples/ERSeleniumExample/Resource/Selenium/main/metarepeat.sel
If Wonder version is not the case please send me the concrete example of
the buggy test, because I'm not currently able to reproduce the problem.
--
Michael
Ruth Palmer wrote:
I'm currently trying to get my .sel login tests to work
with @[EMAIL PROTECTED]@done metacommands to execute specific part of the
test with additional values edited in textboxes. As mentioned on the
wonder frameworks website the following test format should work:
@repeat
...some actions...
@values user1 user2 user3
|type|user|user0|
@values pass1 pass2 pass3
|type|password|pass0|
...some more actions...
@done
However when I try to run my login test I get the following error in my
application:
DEBUG 16:46:12 (SeleniumTestSuitePage:235)
-_java.lang.NullPointerException_
at
er.selenium.filters.SeleniumRepeatExpanderTestFilter.generateIterations(_SeleniumRepeatExpanderTestFilter.java:73_)
at
er.selenium.filters.SeleniumRepeatExpanderTestFilter.processTestElements(_SeleniumRepeatExpanderTestFilter.java:112_)......
WARN 16:46:12 (NSLog:41)
-<er.extensions.ERXDirectActionRequestHandler>: Exception while handling
action named "Tests_001-Login.sel" on action class "SeleniumTestSuite"
:_java.lang.RuntimeException_: Test export failed
[2007-09-28 16:46:12 BST] <WorkerThread5> _java.lang.RuntimeException_:
Test export failed...........
If anyone has had similar problems with metacommands in selenese tests
please get in touch.
Ruth
------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mbushkov%40demax.ru
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]