Yes, of course. This a new instance of appfuse. there are no errors.


>

It sounds like login is failing in your tests? If you bring the application up as suggested by Matt earlier, and try and login using the credentials as configured in your web tests, can you login successfully?

 

Mike.

 

On 6/2/07, bUg. <[EMAIL PROTECTED]> wrote: 

Can anybody help me?


> Yes I can. I think there is error in web-test config, because start

> page title is Login | AppFuse but canoo search .*Main Menu.*. 


>> If you run "mvn integration-test -Dcargo.wait=true" and wait for

>> Tomcat to startup, can you navigate to

>> http://localhost:8081/yourappname-1.0-SNAPSHOT ?


>> Matt


>> On 6/1/07, bUg. <[EMAIL PROTECTED]> wrote:

>>> No. I've got same error.

>>> "Wrong document title found! Expected ".*Main Menu.*" but got "Login | AppFuse"" 

>>>

>>> > If you try "mvn -o install", does it work?

>>>

>>>

>>> > On 6/1/07, bUg. <[EMAIL PROTECTED] > wrote:

>>> >> I don't use proxy, but i've checked maven config, there are all required

>>> >> proxy settings in config, but it status is inactive. When I delete all

>>> >> proxy configs, i got new error 

>>> >>

>>> >> here error:

>>> >>

>>> >>  "Wrong document title found! Expected ".*Main Menu.*" but got "Login |

>>> >> AppFuse"" 

>>> >>

>>> >> This is a new instance of appfuse, i don't change any source files.

>>> >>

>>> >>

>>> >> > According to a message earlier in this thread, this happens on Windows 

>>> >> > machines that connect through a proxy:

>>> >>

>>> >> > <quote>

>>> >> > I have seen this before on Windows. At least I can reproduce on my 

>>> >> > machine at work, which connects to the internet via a proxy. In my

>>> >> > case I found it is Maven related, and can be solved by running in

>>> >> > offline mode. Warning: it takes a few iterations to get everything 

>>> >> > working.:

>>> >>

>>> >> > 1) Run the normal commands to download dependencies, and wait for the

>>> >> > test to fail.

>>> >> > 2) Now run maven with the -o switch, e.g. mvn -o install, and see if

>>> >> > the tests pass.

>>> >>

>>> >> > Mike.

>>> >> > </quote>

>>> >>

>>> >> > You could try modifying pom.xml (or web-tests.xml) to specify your

>>> >> > proxy settings for Ant.

>>> >>

>>> >> > Matt

>>> >>

>>> >> > On 6/1/07, bUg. < [EMAIL PROTECTED]> wrote:

>>> >> >> But how i can run web test with canoo, I got

>>> >> >> com.canoo.webtest.engine.StepExecutionException : Unexpected exception

>>> >> >> caught: java.net.ConnectException: Connection timed out: connect, Step:

>>> >> InvokePage.

>>> >> >> At this time I can use my appfuse project through browser. I can't 

>>> >> >> understand it.

>>> >> >>

>>> >> >> > Selenium is not currently a distributed option with AppFuse. However,

>>> >> >> > that shouldn't stop you from using it. Here's a post I wrote on how to 

>>> >> >> > integrate Selenium with Maven 2:

>>> >> >>

>>> >> >> > http://raibledesigns.com/rd/entry/integrating_selenium_with_maven_2

>>> >> >>

>>> >> >> > Here's an issue to track Selenium integration (notice the "fix for" 

>>> >> version #).

>>> >> >>

>>> >> >> > http://issues.appfuse.org/browse/APF-479

>>> >> >> 

>>> >> >> > Matt

>>> >> >>

>>> >> >> > On 5/31/07, bUg. <[EMAIL PROTECTED]> wrote:

>>> >> >> >> How I can switch project to Selenium? I use appfuse-rc1. 

>>> >> >> >>

>>> >> >> >> > You could use Cygwin and set an alias so "mvn -o" is aliased to "m".

>>> >> >> >> > That makes it easier to run Maven in offline mode.  I haven't seen 

>>> >> >> >> > this issue myself, but I also use Cygwin on Windows.  If we switched

>>> >> >> >> > from Canoo WebTest to Selenium, it may solve this issue. 

>>> >> >> >>

>>> >> >> >> > Matt

>>> >> >> >>

>>> >> >> >> > On 5/24/07, Michael Horwitz < [EMAIL PROTECTED]> wrote:

>>> >> >> >> >> Not yet. Thought about trying to track it down, but kind of lost

>>> >> the will to

>>> >> >> >> >> live - Maven source code can be a bit spaghetti like. It all works 

>>> >> fine on

>>> >> >> >> >> Linux, so do most of my development there :-).

>>> >> >> >> >>

>>> >> >> >> >> Mike. 

>>> >> >> >> >>

>>> >> >> >> >>

>>> >> >> >> >> On 5/24/07, fadhli <[EMAIL PROTECTED] > wrote:

>>> >> >> >> >> > Thanks Michael, I did what you suggested on my machine and it all

>>> >> works

>>> >> >> >> >> perfectly alright. Do you have any idea how to configure your maven 

>>> >> to get

>>> >> >> >> >> it work without the -o switch?

>>> >> >> >> >> >

>>> >> >> >> >> > 

>>> >> >> >> >> >

>>> >> >> >> >> > On 5/24/07, Michael Horwitz <[EMAIL PROTECTED] > wrote: 

>>> >> >> >> >> > >

>>> >> >> >> >> > > I have seen this before on Windows. At least I can reproduce on

>>> >> my

>>> >> >> >> >> machine at work, which connects to the internet via a proxy. In my 

>>> >> case I

>>> >> >> >> >> found it is Maven related, and can be solved by running in offline

>>> >> mode.

>>> >> >> >> >> Warning: it takes a few iterations to get everything working.: 

>>> >> >> >> >> > >

>>> >> >> >> >> > > 1) Run the normal commands to download dependencies, and wait

>>> >> for the

>>> >> >> >> >> test to fail.

>>> >> >> >> >> > > 2) Now run maven with the -o switch, e.g. mvn -o install, and

>>> >> see if the 

>>> >> >> >> >> tests pass.

>>> >> >> >> >> > >

>>> >> >> >> >> > > Mike.

>>> >> >> >> >> > > 

>>> >> >> >> >> > >

>>> >> >> >> >> > > On 5/24/07, bUg. <[EMAIL PROTECTED] > wrote:

>>> >> >> >> >> > > > 

>>> >> >> >> >> > > >

>>> >> >> >> >> > > >

>>> >> >> >> >> > > > I have the same problem. look attachment. 

>>> >> >> >> >> > > >

>>> >> >> >> >>

>>> >> ---------------------------------------------------------------------

>>> >> >> >> >> > > > To unsubscribe, e-mail: 

>>> >> >> >> >> [EMAIL PROTECTED]

>>> >> >> >> >> > > > For additional commands, e-mail: 

>>> >> [EMAIL PROTECTED]

>>> >> >> >> >> > > >

>>> >> >> >> >> > > > 

>>> >> >> >> >> > >

>>> >> >> >> >> > >

>>> >> >> >> >> >

>>> >> >> >> >> > 

>>> >> >> >> >> >

>>> >> >> >> >> > --

>>> >> >> >> >> > /fadhli

>>> >> >> >> >> 

>>> >> >> >> >>

>>> >> >> >>

>>> >> >> >>

>>> >> >> >> --------------------------------------------------------------------- 

>>> >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]

>>> >> >> >> For additional commands, e-mail: [EMAIL PROTECTED]

>>> >> >> >>

>>> >> >> >>

>>> >> >>

>>> >> >> 

>>> >> >>

>>> >> >>

>>> >> >> ---------------------------------------------------------------------

>>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]

>>> >> >> For additional commands, e-mail: [EMAIL PROTECTED] 

>>> >> >>

>>> >> >>

>>> >>

>>> >>

>>> >>

>>> >>

>>> >> --------------------------------------------------------------------- 

>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]

>>> >> For additional commands, e-mail: [EMAIL PROTECTED]

>>> >>

>>> >>

>>>

>>>

>>>

>>>

>>> --------------------------------------------------------------------- 

>>> To unsubscribe, e-mail: [EMAIL PROTECTED]

>>> For additional commands, e-mail: [EMAIL PROTECTED]

>>>

>>>





---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to