I tried running the same commands and it worked fine for me:
[INFO] Executing tasks
[mkdir] Created dir: C:\Source\helloworld\target\webtest-data
[echo] Testing 'helloworld-1.0-SNAPSHOT' with locale 'en'
Login:
log4j:WARN No appenders could be found for logger
(com.canoo.webtest.ant.TestStepSequence).
log4j:WARN Please initialize the log4j system properly.
Logout:
PasswordHint:
Signup:
EditUser:
SearchUser:
SaveUser:
AddUser:
ActiveUsers:
UserTests:
[echo] Successfully ran all User UI tests!
FlushCache:
FileUpload:
run-all-tests:
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 18 seconds
[INFO] Finished at: Thu Feb 08 09:04:26 MST 2007
[INFO] Final Memory: 51M/508M
[INFO] ------------------------------------------------------------------------
$
What locale is your OS? In other words, what does it print out when
it prints the following:
[INFO] Executing tasks
[mkdir] Created dir: C:\Source\helloworld\target\webtest-data
[echo] Testing 'helloworld-1.0-SNAPSHOT' with locale 'en'
Matt
On 2/8/07, Struts2 Fan <[EMAIL PROTECTED]> wrote:
Hi all,
I create the project by the command
mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-spring
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=1.0-m3 -DgroupId=com.mycompany -DartifactId=helloworld
After that when i run the command mvn integration-test
It gives the following error.
Login:
log4j:WARN No appenders could be found for logger
(com.canoo.webtest.ant.TestSte
pSequence).
log4j:WARN Please initialize the log4j system properly.
Logout:
PasswordHint:
Signup:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
D:\Projeler\Appfuse\helloworld\src\test\resources\web-tests.xml:145: Canoo
Webte
st: R_1454.
Test failed.
Test step steps
(D:\Projeler\Appfuse\helloworld\src\test\resources\web-tests.xml
:147: ) null failed with message "Step[invoke "click signup link" (1/17)]:
Scrip
t error loading page executing webtest at: invoke TypeError: Cannot find
functio
n activate.
(http://localhost:8081/helloworld-1.0-SNAPSHOT/scripts/prototype.js;
jsessionid=B508F4DE9CB7D6E6FF23AA7853F86191#1956)
Source code:
Form.focusFirstElement($('signupForm'));
highlightFormElements();"
--
View this message in context:
http://www.nabble.com/mvn-integration-test-error-%5Chelloworld%5Csrc%5Ctest%5Cresources%5Cweb-tests.xml%3A145%3A-Canoo-Webtest%3A-R_1454-tf3193304s2369.html#a8865413
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]