Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28FC89A8C for ; Sat, 23 Jun 2012 13:32:24 +0000 (UTC) Received: (qmail 66478 invoked by uid 500); 23 Jun 2012 13:32:23 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 66413 invoked by uid 500); 23 Jun 2012 13:32:23 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 66404 invoked by uid 99); 23 Jun 2012 13:32:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jun 2012 13:32:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aliuzhe@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jun 2012 13:32:18 +0000 Received: by werg55 with SMTP id g55so1707543wer.6 for ; Sat, 23 Jun 2012 06:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dppBHX2o/DyDJ0ox9EJ0pyKOi0xP4JogmndS+fW2VGU=; b=cGfEh1msd0+2Cln8KtF9gCzR9arv8PxCPKLnhmW+lB7uzvqOUo4MWoZ+p9udpA9536 eH8RxzTuQOuGm0ln6rxF6/byroxZIpDn3+B3bCFsuQDhqVOEjPq1pk43zpogNyP2oE9L IjtNibFtGVqcgbNaLDNVNDLLj2diayK280mLeb4VH3XEQnrCJ5kUA1vzJvms8Wgw46C8 Y8GYkyZQ0GXMKaoRHMFLWkqlnFfq0TJ8L47PpJGC7nMHu8KzbEamo+y5aKIC7fpNune2 ZV/eHdC3OfJckdI7zz72+bnWO8Ev02EbFHLZ3L7/0ClP3D8o4g0oNWgGWQD6AGHs12hZ vf6A== MIME-Version: 1.0 Received: by 10.180.86.194 with SMTP id r2mr11776953wiz.15.1340458315477; Sat, 23 Jun 2012 06:31:55 -0700 (PDT) Received: by 10.216.230.95 with HTTP; Sat, 23 Jun 2012 06:31:55 -0700 (PDT) In-Reply-To: <4FE39739.1060906@apache.org> References: <4FE18D32.9030805@gmx.ch> <4FE1AD54.7040203@apache.org> <4FE39739.1060906@apache.org> Date: Sat, 23 Jun 2012 21:31:55 +0800 Message-ID: Subject: Re: [VCLAuto] Problems with build.xml From: Zhe Liu To: ooo-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 2012/6/22 Raphael Bircher : > Hi Zhe Liu > > Am 21.06.12 07:49, schrieb Zhe Liu: >> Hi Raphael Bircher, >> Did you run the testing successfully? I wanna get some feedback to improve it. >> >> > I think, the tool itself works, but I run in same trubble. Take a look > at http://people.apache.org/~rbircher/download/ooo_bugs/vclauto/ maybe > you can help me. Firstly thanks for your trying. Currently, testing can be only performed in English locale. I saw your OpenOffice UI is not English. The test script can be written language-neutral, but the existing scripts is not. The tool is brand-new. There is still a lot of work to do next. > > Same feedback from the tool. I can compare, because i worked with both. > > Installation. > Both, the old and the new TT are not easy to install. The old one was > not so easy cause configuration and so on. The new one is not easy > because of the depencity (Ant, Eclipse, junit) So, it's only samething > for power Users. The old testtool IDE is developed and maintained by OpenOffice developers. The key issue is that nobody works on it now. Ant+Eclipse+JUnit are very popular and active open source projects. We don't need to spend time in developing/maintaining them. I admit these tools are more acceptable by developers, maybe not by common users. If you only concern about installation, we can pack these tools in one out-of-box zip. > > I find it harder to execute the new Testtool as the old one. By the old > one you have had simply to load the script and run it. By the new one > you have to take a look to the parameters. But this is only a entry > barriere. As far as I know, you also need to set several parameters before running testing with the old testtool. Anyway, I will provide a default value and a global place to set AOO's location. There will be no need to set it for each test class. > > Debuging: Sametimes usefull can be the screenshot wich are taken by the > VCLAuto. I see no avantage by searching the errors. By both you have to > understand source Code. For my point of view it's more a question of the > taste, Java or Basic. The Scipts from VCLAuto are more readable, because > they ar small and smart. But i have no illusion here, this will change > over the time ;-) Did you use the Eclipse's debugging, source code reference and search function? It's far more power than the old VCLTesttool, and more complex. Another awesome feature is the code refactor of Eclipse. As you know, test script often changes as design changs. Code refactor can save us a lot of time.I will write some guide to explain it later. As I mentioned before, VCLAuto just gives us a chance to write GUI testing in Java and not to replace VCLTesttool. Java is far more popular programming language than Basic, maybe it can attract more people to write testing scripts. > > From the points above, VCLAuto and VCLTestTool are equal solutions. > Well, VCLAuto is maybe newer. But I have two big critisme to VCLAuto > > - VCLAuto can't test Localized Builds at the moment. > - We have much less tests for VCLAuto then for the VCLTestTool (I beleve > that the old TestTool covers 20 Times more then the VCLAuto Tests now) > This is also the reason why VCLTestTool use much more time to run. > VCLAuto is not realy faster, it has simply less Testcase, and from a QA > point of view, this is bad news. > > From my point of view, the VCL auto is atm not a equal replacement for > the VCLTestTool. The VCLAuto is indeed the fresher tool, but also less > mature. I support the move to VCLAuto, but i also have to remind every > one here that there is still a load of Work. > > Greetings Raphael VCLAuto is very young. Currently, the existing test cases are more proper for demo we can write gui testing in Java and not enough for replacement of VCLTestTool. Indeed there is still a load of work, but pls be patient. I also hope someone here to coninue to maintain VCLTestTool. The number of its legacy scripts is very big.It can cover very many functions and still is very valuable in the current situation. -- Best Regards >From aliuzhe@gmail.com