devis...@users.sourceforge.net is not successfully delivering messages: Delivery to the following recipient failed permanently:
devis...@users.sourceforge.net Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 unknown user (state 14). Jevon On Thu, Jun 16, 2011 at 1:03 PM, Jevon Wright <je...@jevon.org> wrote: > Hi Devishri, > > If you cannot post to the JWebUnit users list, make sure that you are > subscribed to the mailing list. > > JWebUnit cannot distinguish between run and debug modes. I assume you > are running your code via Eclipse debug mode? Is there AJAX on your > tested page? If so, debug mode might be giving HtmlUnit more time to > process your requests. Try adding a Thread.sleep() to your code, or to > use the NicelyResynchronizingAjaxController. > > Hope this helps > Jevon > > On Wed, Jun 15, 2011 at 6:55 PM, <devis...@users.sourceforge.net> wrote: >> Hi Jevon, >> This is regarding the issue that i raised in Jwebunit >> developer group related the difference between Debug and >> run mode for Jwebunit. First of all, Thanks for your reply. >> >> For some reason , Iam unable to send the details of the >> issue to jwebunit user list and hence decided to post this to >> you. Just in case if you have any thoughts on this , please >> provide me some lead. Thanks in advance. >> >> >> Issue details: >> ======== >> I wrote a jwebunit test case which is running correctly in >> debug mode but fails in run mode. Note that iam running >> this through eclipse and using Jwebunit 2.5 version. Here is >> the sample code public >> voidtestPasswordValidation() { >> >> finalString baseURL = "http://baseurl/"; >> >> finalString uid = "1234456"; >> >> finalString password = "abcdefgh"; >> >> finalString titlePasswordPage = "Enter Password"; >> >> finalString titleLandingPage = "Users List"; >> >> >> >> setBaseUrl(baseURL); >> >> beginAt("/"); >> >> testLogger.debug("Initial Page: "+ getTestingEngine >> ().getPageTitle()); >> >> >> >> try{ >> >> // login page --> password page >> >> setTextField("userName", uid); >> >> clickLinkWithText("Submit"); >> >> testLogger.debug("After username entry, next page: "+ >> getTestingEngine().getPageTitle() + " (Expected: " >> >> + titlePasswordPage + ")"); >> >> assertTrue("After username entry, next page: ", >> titlePasswordPage.equalsIgnoreCase(getTestingEngine() >> >> .getPageTitle())); >> >> >> >> // password page --> landing page >> >> setTextField("password", password); >> >> clickLinkWithImage("/images/submit.gif"); >> >> testLogger.debug("After password entry, next page: "+ >> getTestingEngine().getPageTitle() + " (Expected: " >> >> + titleLandingPage + ")"); >> >> assertTrue("After password entry, next page: ", >> titleLandingPage.equalsIgnoreCase(getTestingEngine() >> >> .getPageTitle())); >> >> >> >> } catch(finalException e) { >> >> testLogger.debug(e.getMessage()); >> >> fail(e.getMessage()); >> >> } >> >> } >> >> >> >> >> >> Results: >> >> ---------------------------------------- >> >> run mode: >> >> ---------------------------------------- >> >> Initial Page: HomePage >> >> After username entry, next page: Enter Password >> (Expected: Enter Password) >> >> After password entry, next page: Enter Password >> (Expected: Users List) >> >> >> >> >> >> ---------------------------------------- >> >> debug mode: >> >> ---------------------------------------- >> >> Initial Page: HomePage >> >> After username entry, next page: Enter Password >> (Expected: Enter Password) >> >> After password entry, next page:User List (Expected: >> Users List) >> >> >> >> >> >> -- >> This message has been sent to you, a registered SourceForge.net user, >> by another site user, through the SourceForge.net site. This message >> has been delivered to your SourceForge.net mail alias. You may reply >> to this message using the "Reply" feature of your email client, or >> using the messaging facility of SourceForge.net at: >> https://sourceforge.net/sendmessage.php?touser=3413023 >> >> > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ JWebUnit-users mailing list JWebUnit-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-users