How to setup LDTP in NLD

From LDTP

These are the steps to install ldtp onto your system. Please have a look at it.

Installation of LDTP onto your system. (We assume that you have currently logged in using GNOME session into your box).


    1. Install the NLD onto your system. Select Gnome as your
       default session while installation of NLD (you can do that
       at the time of installation by selecting in the software
       packages).  
       
    2. After the installation of NLD onto your system then install
       the devel packages.
       

Following are the steps to install the devel packages .

    1. In main menu (top panel) select System -> Administrator Settings.
               
    2. Select “Install and Remove Software”.
               
    3. In the “Filter Search”, click on “Selection”. Then
          select the following components
       
          - Gnome - The GNOME Desktop
          
    4. In the “Filter Search”, click on “Package Groups”. Then
          Under Development -> Languages -> C and C++ select
          - cpp, gcc packages
          
          Under Development -> Libraries -> C and C++ select
          - glib2-devel, glibc-devel, orbit2-devel package
                       
          Under Development -> Libraries -> GNOME select
          - atk-devel, at-spi, at-spi-devel, gnome-libs-devel, libbonobo-devel, libbonoboui-devel, libgnomeui-devel
          
    5. In the “Filter Search”, click on “Search”. Then search
          
          - gnome-common package
                       
          - gtk-devel package
                       
          - at-spi package
          
          - gail-devel package
          
          - gnome-system-tools package
    
    6. After the selection of all these, click on the 'Accept' button
               


    1. After doing all the above steps, all the required Devel packages
       will be installed. In the same manner, also install  
       
       3.1 at-spi (in YaSt – search – search -type 'spi')
       
       3.2 Gnome packages (type “gnome” in search and install all of
       them)
       
       3.3 At-poke  
       
       3.4 Gedit  
       
       3.5 Libtool
       
       3.6 Python packages
   
       3.7 gtk2-devel
 
       3.8 glib

       3.9 gcc
 
       
       from the “Install and Remove software”. Make sure all of them
       are installed. To install At-poke from the site, click on the
       following URL
       http://rpm.pbone.net/index.php3/stat/4/idpl/1073397/com/at-
       poke-0.2.2-0.ximian.8.1.i586.rpm.html , and from the download
       options select any one of them.
       
    2. Goto System menu -> Personal Settings and click on the
       Assistive Technology Support . Enable the assistive technology support.
       After enabling, logout and login. 
       If “Personal Settings” is not in menu bar, then in the
       terminal type “gnome-control-center” and press the enter key.
       The “Gnome Control Center” window pops up. Enable the assistive
       technology support.
       
    3. Once this is done, download the ldtp framework from the site
       http://www.gnomebangalore.org/ldtp/index.php/Downloads . Download
       the framework to the directory you want it to be in. Then using
       the terminal, extract the file. Type “tar xzf ldtp-0.1.0.tar.gz” and  
       press the enter key. 
       
    4. If not in root directory, then change to root and execute the
       following commands in root (only root can do it). Both commands 
       should be executed. After the execution of the commands change 
       back to the directory where you want ot install LDTP. 
       
       For Automake type (ln -s /usr/bin/automake-1.8 /usr/bin/automake-1.4)
       
       For Aclocal type (ln -s /usr/bin/aclocal-1.8 /usr/bin/aclocal-1.4)
       
    5. Change the directory to ldtp ( cd ldtp).
       
    6. Type ./autogen.sh (without any space).
       
    7. After the auto generation, type “make” and press enter.
       
    8. After “make”, change to “server” directory (cd
       server).Run server.py with argument as path of autosuite, path of autosuite can be relative or absolute. For example: ./server.py /home/userA/autosuite   
       
       and press enter key.
       
    9. Let the server be running.  
       
   10. In a new terminal change to ldtp->src. There is "ldtp" which is
       a executible file.
       
   11. To run ldtp, type ./ldtp <appname> and press enter key. For ex: ./ldtp gedit