[Webtest] RE: Test works on Windows, not on Linux

Matt Raible webtest@lists.canoo.com
Mon, 19 Jan 2004 07:07:10 -0700


Yeah, and I can tell from my Tomcat logs that the button is never
getting clicked.  

> -----Original Message-----
> From: webtest-admin@lists.canoo.com 
> [mailto:webtest-admin@lists.canoo.com] On Behalf Of Marc Guillemot
> Sent: Sunday, January 18, 2004 2:55 AM
> To: webtest@lists.canoo.com
> Subject: Re: [Webtest] RE: Test works on Windows, not on Linux
> 
> 
> Have you tryed to reduce the test to get the minimal version 
> that fails? (the 
> one with the minimal amount of steps)
> 
> Marc.
> 
> Matt Raible wrote:
> > Hmmm, it works on OS X too.  I guess I'd just better chaulk 
> this up to 
> > a Linux anomoly?  I'd really like to know why it's 
> happening though - 
> > considering my automated builds run via Anthill on Linux and I keep 
> > getting failures!
> > 
> > Matt
> > 
> > 
> >>-----Original Message-----
> >>From: webtest-admin@lists.canoo.com
> >>[mailto:webtest-admin@lists.canoo.com] On Behalf Of Matt Raible
> >>Sent: Friday, January 16, 2004 11:56 AM
> >>To: webtest@lists.canoo.com
> >>Subject: [Webtest] RE: Test works on Windows, not on Linux
> >>
> >>
> >>On linux, it seems that <clickbutton> is never called or the
> >>button is never clicked - since I never see any logging 
> >>occuring in my servlet. Very weird.
> >>
> >>I'm using Fedora Core 1 java version "1.4.2_01"
> >>
> >>On windows, I'm using java version "1.4.2"
> >>
> >>Matt
> >>
> >>
> >>>-----Original Message-----
> >>>From: Matt Raible [mailto:matt@raibledesigns.com]
> >>>Sent: Friday, January 16, 2004 11:34 AM
> >>>To: 'webtest@lists.canoo.com'
> >>>Subject: Test works on Windows, not on Linux
> >>>
> >>>
> >>>I have the following test that works fine on Windows, but fails on 
> >>>Linux.  Any ideas why?  It seems as though the button is never 
> >>>clicked towards the end.  When I do it through my browser, 
> everything 
> >>>works fine.
> >>>
> >>>    <!-- Sign up a new user (no login) -->
> >>>    <target name="Signup"
> >>>        description="Signup a new user">
> >>>        <canoo name="signup">
> >>>            &config;
> >>>            <steps>
> >>>                <invoke stepid="click signup link" 
> >>>                    url="/signup.jsp"/>
> >>>                <verifytitle stepid="we should signup title" 
> >>>                    text="${webapp.prefix}${signup.title}"/>
> >>>                <setinputfield stepid="set username"
> >>
> >>name="username"
> >>
> >>>                    value="signup-user"/>
> >>>                <setinputfield stepid="set password"
> >>
> >>name="password"
> >>
> >>>                    value="test"/>
> >>>                <setinputfield stepid="set confirmPassword" 
> >>>name="confirmPassword"
> >>>                    value="test"/>
> >>>                <setinputfield stepid="set firstName"
> >>>name="firstName" 
> >>>                    value="Test"/>
> >>>                <setinputfield stepid="set lastName" 
> >>
> >>name="lastName"
> >>
> >>>                    value="Name"/>
> >>>                <setinputfield stepid="set city" name="city" 
> >>>                    value="Denver"/>
> >>>                <setselectfield stepid="Select province"
> >>>name="province"
> >>>                    value="CO"/>
> >>>                <setselectfield stepid="Select country" 
> >>
> >>name="country"
> >>
> >>>                    value="US"/>
> >>>                <setinputfield stepid="set postalCode"
> >>>name="postalCode" 
> >>>                    value="80210"/>
> >>>                <setinputfield stepid="set email" name="email" 
> >>>                    value="signup-user@appfuse.org"/>
> >>>                <setinputfield stepid="set website" name="website" 
> >>>                    value="http://raibledesigns.com"/>
> >>>                <setinputfield stepid="set passwordHint" 
> >>>name="passwordHint" 
> >>>                    value="test"/>
> >>>                <clickbutton label="${button.register}" 
> >>>                    stepid="Click button 'Signup'">
> >>>                    <index value="0" />
> >>>                </clickbutton>
> >>>                <verifytext stepid="verify success message" 
> >>>                    text="You have successfully registered 
> >>>for access to this application."/>
> >>>            </steps>
> >>>        </canoo>
> >>>    </target>
> >>>
> >>>Thanks,
> >>>
> >>>Matt
> >>>
> >>
> >>_______________________________________________
> >>WebTest mailing list
> >>WebTest@lists.canoo.com
> >>http://lists.canoo.com/mailman/listinfo/webtes> t
> >>
> > 
> > 
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com 
> > http://lists.canoo.com/mailman/listinfo/webtest
> > 
> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com 
> http://lists.canoo.com/mailman/listinfo/webtes> t
>