[Webtest] RE: Test works on Windows, not on Linux
Marc Guillemot
webtest@lists.canoo.com
Mon, 19 Jan 2004 17:59:25 +0100
Have you tryed setting the log level to DEBUG in the log4j.properties to get
more info?
Marc.
Matt Raible wrote:
> If I don't verifytext after the <clickbutton> - the test succeeds, but
> that's because I'm not testing whether adding the new user succeeded.
> Maybe it's a fedora thing - I see if I can get a RedHat box to test it
> there...
>
> Matt
>
>
>
>
>>-----Original Message-----
>>From: webtest-admin@lists.canoo.com
>>[mailto:webtest-admin@lists.canoo.com] On Behalf Of Marc Guillemot
>>Sent: Monday, January 19, 2004 9:22 AM
>>To: webtest@lists.canoo.com
>>Subject: Re: [Webtest] RE: Test works on Windows, not on Linux
>>
>>
>>I wanted to know if something like this:
>>
>><!-- 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"/>
>> <clickbutton label="${button.register}"
>> stepid="Click button 'Signup'">
>> <index value="0" />
>> </clickbutton>
>> </steps>
>> </canoo>
>> </target>
>>
>>is enough to have a difference between window and linux runs?
>>
>>Marc.
>>
>>Matt Raible wrote:
>>
>>>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
>>>>
>>>
>>>
>>>_______________________________________________
>>>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
>>
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>