----------------------------------------------
License
----------------------------------------------
Copyright (c) 2012 Intel Corporation.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of works must retain the original copyright notice, this list
  of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the original copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
  may be used to endorse or promote products derived from this work without
  specific prior written permission.

THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Authors:
        Hao, Yunfei <yunfenx.hao@intel.com>


----------------------------------------------
Introduction
----------------------------------------------
This test suite is for  Web Application Runtime testing.


----------------------------------------------
Test Environment
----------------------------------------------
    1. Pre-install Testkit-Lite package on Host(ubuntu12.04 and ubuntu12.10).
       sudo apt-get install python-pip
       sudo pip install requests
       sudo dpkg -i testkit-lite-<version>.deb
    2. Push "httpserver" into test machine.
       sdb root on
       sdb push httpserver /usr/bin
       sdb shell chmod +x /usr/bin/httpserver
    3. Run the cases as "root" user.


----------------------------------------------

Installation
----------------------------------------------
./autogen
./configure prefix=/usr
make && make install


----------------------------------------------
Build and Run
----------------------------------------------
(Suppose you only get the source code which has been set up on your test machine.
If you have obtained tct-rt01-wrt-tests RPM packages, you can go directly  to step 3 on the test machine)

Steps:
    1. Prepare for building:
       cd tct-rt01-wrt-tests
    2. Build RPM packages:
       ./pack.sh -t all
    3. Install RPM on the test machine as "root" user:
       rpm -ivh tct-rt01-wrt-tests-<version>-<release>.<arch>.rpm
    4. Run test cases as "normal" user with the following command:
       testkit-lite -e "WRTLauncher tct-rt01-wrt-tests" -f device:"/usr/share/tct-rt01-wrt-tests/tests.xml"


----------------------------------------------
Known Issues
----------------------------------------------
    1. Chromium browser does not support the widget framework.
    2. The icons which are used in the test cases are contained in the associated widget package.

Note: If there is any defects in this test suite, please do not hesitate to contact us by the email jianhuix.a.yue@intel.com


----------------------------------------------
Todo
----------------------------------------------


