NVH’s Blog

December 13, 2006

CÁC BƯỚC CÀI ĐẶT [TG4W]

Filed under: hoc tap

I. Cài đặt PHP5
II. Cài đặt PEAR
Bước 1: Cài PHP
Bước 2:
Copy từ http://go-pear.org/
Save vào thư mục PHP vừa cài với cái tên: go-pear.php
Bước 3: vào cmd: gõ lệnh php.exe go-pear.php
III. Cai dat XML Parser
cmd: pear.bat install XML_Parser
IV. Cai dat translator
V. Chay lenh: php Generator.php –input-file=file.xml
VI. AutoTest: php filegen.php PHP_SIMPLETEST_HOME = thu_muc_cua_simpletest

9 Comments »

The URI to TrackBack this entry is: http://hungnv.blogsome.com/2006/12/13/p80/trackback/

  1. Website SimpleTest: http://simpletest.org/api/

    Comment by hungnv — December 13, 2006 @ 6:29 am

  2. Test reporter documentation:
    http://www.lastcraft.com/reporter_documentation.php

    Comment by hungnv — December 13, 2006 @ 6:44 am

  3. 10 great things about testing:
    http://developer.spikesource.com/wiki/index.php/10_great_things_about_testing

    Comment by hungnv — December 13, 2006 @ 6:47 am

  4. TestGen4Web:
    http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web

    Comment by hungnv — December 13, 2006 @ 6:50 am

  5. Một số chú ý để chạy được Tranlator:
    a) Sửa file PEAR/XML/Parser.php như sau:
    require_once ‘C:php-5.2.0-Win32PEARPEAR.php’;
    b) Tạo một file [Run.bat] như sau:
    REM–Author:HUNGNV
    REM–Create Date: 12/12/2006 - Ngay sinh cua con gai toi

    REM–Doc file XML do TestGen4Web tao ra de dich ra file php
    php testgen/php/src/PHPGenerator.php –input-file=testgen/xmlfile/scriptAuthentication2.xml

    REM– Chay test tu dong file php
    php testgen/ScriptAuthentication2.php PHP_SIMPLETEST_HOME=testgen/simpletest

    Comment by hungnv — December 13, 2006 @ 7:00 am

  6. Download testgen4web và translator tại địa chỉ:
    http://developer.spikesource.com/frs/?group_id=14 (khoảng 12.71MB)

    Comment by hungnv — December 13, 2006 @ 7:17 am

  7. Download cả SimpleTest về và cài đặt ngang hàng với Translator.

    Comment by hungnv — December 13, 2006 @ 7:23 am

  8. Để giải quyết vấn đề Tiếng Việt hoặc Tiếng Nhật có thể dùng trình soạn thảo Zend Development Environment chỉnh sửa lại src code PHP.

    Comment by hungnv — December 13, 2006 @ 10:10 am

  9. ooooO Ooooo
    ( ) ( )
    ( ) /
    ( ) /

    Comment by Truc — April 15, 2008 @ 2:13 am

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>























Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham