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

Matt Raible webtest@lists.canoo.com
Fri, 16 Jan 2004 14:25:51 -0700


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
>