I successfully integrated the latest SNAPSHOT release of webtest-maven-plugin into AppFuse 2.0.2. You can search for my post in the AppFuse mailing list with the details.
Josep 2010/11/19 Sagar Pidaparthi <[email protected]> > Hi, > > I did some more research. I was hoping to run the sample project > provided by webtest using maven plugin. I was not successful. > > > I have realized that there are sample tests created for webtest plugin. > > How can I download them? > > thanks > > Sagar > > > > > On Nov 19, 2010, at 12:38 PM, Sagar Pidaparthi wrote: > > Hi, > > The other questions I have are > > 1. When you run webtest.sh command manually, you take care of setting > the path > > export PATH=${PATH}:/usr/local/webtest/bin in .bashrc (bash). > > I am assuming that maven installation takes care of this. Is this > correct? > > > 2. what is the equivalent of > > webtest -f path\to\webtest\home\webtest.xml wt.createProject in maven? > > How do you create a webtest Project with maven ? > > Thanks for clarifying the issues > > Sagar > > > > > > On Nov 19, 2010, at 12:05 PM, Sagar Pidaparthi wrote: > > 1. I need help on running mvn webtest:test > > Please list out the steps I need to follow. Your help much appreciated > > I am working on Apple mac snow leopard. > > 2. I have a pom.xml in my directory, which has the following entries > > -------------- Plugin entry ---------- > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>webtest-maven-plugin</artifactId> > <version>0.7.1-SNAPSHOT</version> > </plugin> > > > ---------Reporting > > <reporting> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>webtest-maven-plugin</artifactId> > <version>0.7.1-SNAPSHOT</version> > </plugin> > </plugins> > </reporting> > > > ---- Dependency > > <dependency> > <groupId>com.canoo.webtest</groupId> > <artifactId>webtest</artifactId> > <version>3.1-SNAPSHOT</version> > </dependency> > > > _______ Plugin Repository entry in the super pom ---- > > <repository> > <id>webtest_dependencies_snapshot</id> > <name>WebTest dependencies</name> > <url>http://repo2.maven.org/maven2</url> > </repository> > > > I created a webtest folder under …./src/test/webtest > > > > > I ran > > mvn test > > This downloaded the maven plugins and web test > > > I am able to run mvn webtest:info and most other commands but NOT mvn > webtest:test > > Please guide me with the next steps. > > > I also created a test folder using manual command > > webtest -f webtest.xml wt.createProject which created a test folder at > the same > > I am not sure about the next steps. > > > Thanks for your help > > > Sagar > > ------------------------------ > Disclaimer notice: This e-mail message, including any attachments, is for > the sole use of the intended recipient(s) and may contain confidential and > privileged information or otherwise be protected by law. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies of the original message. > > ------------------------------ > Disclaimer notice: This e-mail message, including any attachments, is for > the sole use of the intended recipient(s) and may contain confidential and > privileged information or otherwise be protected by law. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies of the original message. > > > > ------------------------------ > Disclaimer notice: This e-mail message, including any attachments, is for > the sole use of the intended recipient(s) and may contain confidential and > privileged information or otherwise be protected by law. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies of the original message. > > ------------------------------ > Disclaimer notice: This e-mail message, including any attachments, is for > the sole use of the intended recipient(s) and may contain confidential and > privileged information or otherwise be protected by law. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies of the original message. > > > > ------------------------------ > Disclaimer notice: This e-mail message, including any attachments, is for > the sole use of the intended recipient(s) and may contain confidential and > privileged information or otherwise be protected by law. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply e-mail and destroy > all copies of the original message. >

