From photark-dev-return-552-apmail-incubator-photark-dev-archive=incubator.apache.org@incubator.apache.org Tue Apr 27 18:13:42 2010 Return-Path: Delivered-To: apmail-incubator-photark-dev-archive@minotaur.apache.org Received: (qmail 22689 invoked from network); 27 Apr 2010 18:13:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 18:13:42 -0000 Received: (qmail 47161 invoked by uid 500); 27 Apr 2010 18:13:42 -0000 Delivered-To: apmail-incubator-photark-dev-archive@incubator.apache.org Received: (qmail 47140 invoked by uid 500); 27 Apr 2010 18:13:42 -0000 Mailing-List: contact photark-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: photark-dev@incubator.apache.org Delivered-To: mailing list photark-dev@incubator.apache.org Received: (qmail 47132 invoked by uid 99); 27 Apr 2010 18:13:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 18:13:42 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.221.183] (HELO mail-qy0-f183.google.com) (209.85.221.183) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 18:13:37 +0000 Received: by qyk13 with SMTP id 13so17260524qyk.18 for ; Tue, 27 Apr 2010 11:13:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.213.208 with SMTP id gx16mr3687057qcb.35.1272391995654; Tue, 27 Apr 2010 11:13:15 -0700 (PDT) Received: by 10.229.239.1 with HTTP; Tue, 27 Apr 2010 11:13:15 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Apr 2010 23:43:15 +0530 Message-ID: Subject: Re: Browser Support From: Avdhesh Yadav To: photark-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016361e898cea852904853bd802 --0016361e898cea852904853bd802 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have tested your patch and I think thee is compatibility problem between Htmlunit 2.7 and dojo 1.3.2. All your Tested cases passing with dojo 1.4.2(latest stable release).I think we should update dojo 1.3.2 with dojo 1.4.2 Thoughts ? -- Avdhesh Yadav http://www.avdheshyadav.com On Sat, Apr 17, 2010 at 9:51 AM, Suhothayan Sriskandarajah < suhothayan@gmail.com> wrote: > On 16 April 2010 23:44, Luciano Resende wrote: > > > On Fri, Apr 16, 2010 at 8:07 AM, Suhothayan Sriskandarajah > > wrote: > > > On 16 April 2010 18:49, Avdhesh Yadav wrote: > > > > > >> Hi, > > >> > > >> hum...Please attach the test cases so that others can look into this > > issue. > > >> > > >> > > >> hi, > > > > > > this is a sample one to check whether that Galley is being displayed. > > > > > > > > > > So, how about using base class where you have all necessary testes > > defined, and then a Test Case for each browser, where you actual setup > > the htmlUnit for a given browser ? > > > > Something along the lines of the structure below : > > > > Class BaseBrowserTest { > > > > protected static WebClient webClient; > > > > @Test > > public void testGallery() { > > .... > > } > > > > @Test > > public void testAlbum() { > > > > } > > > > @Test > > public void testAdmin() { > > > > } > > > > .... > > > > } > > > > > > Class Firefox3BrowserTest { > > > > @BeforeClass > > public static void setup() { > > webClient = new WebClient(BrowserVersion.FIREFOX_3); > > } > > > > } > > > > > > As for how you are testing, I guess we might want to check if some of > > the dynamic content has also been loaded (e.g thumbnails for albums, a > > image for a album, etc) as this is what tend to fail when a backend > > service is not working properly. > > > > Thanks for the help, > yes you are right, i have written test tor some dynamic constant as well, > I only sent the above code since the error is even occurring at the static > stage (even before looking in to dynamic contant). > I have not finished all the test cases, after finishing them and modifying > according to the proper format you have suggested. i'll send them to the ML > > Regards > Suho > > > > > -- > > Luciano Resende > > http://people.apache.org/~lresende< > http://people.apache.org/%7Elresende> > > http://twitter.com/lresende1975 > > http://lresende.blogspot.com/ > > > --0016361e898cea852904853bd802--