User Tools

Site Tools


set_up_environment_for_automation

Set Up Automation TC Development & Execution Environment

Firstly make sure that, your pc has java (jdk 7 or higher) installed. After that, follow the below procedure:-

1. Install Oracle JDK 1.7

  add-apt-repository ppa:webupd8team/java 
  apt-get update
  apt-get install oracle-java7-installer
  update-alternatives --config jav

2. Setup Jython:

  • Download jython 2.7.0.jar-Installer (Example Link: http://www.jython.org/downloads.html)
  • Open a terminal and go to the directory where the jar file is downloaded. And execute that file using following command:
    • java -jar jython-installer-2.7.0.jar
  • Follow the installer and install jython.
  • Open .bashrc file and add path for jython (command gedit ~/.bashrc)

Example: PATH=$PATH:~/jython2.7.0/bin

3. Setup Robot-Framework:

4. Setup Remote Server:

  • Download PythonRemoteServer source(Example Link:https://github.com/robotframework/PythonRemoteServer )
  • Extract the compressed file.
  • Enter into the extracted PythonRemoteServer folder
  • Install python remote server with jython. You can use following command:
    • jython setup.py install
set_up_environment_for_automation.txt · Last modified: 2018/02/20 11:00 by Mushfiqul Islam