User Tools

Site Tools


set_up_environment_for_automation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

set_up_environment_for_automation [2018/02/20 10:48]
Mushfiqul Islam created
set_up_environment_for_automation [2018/02/20 11:00] (current)
Mushfiqul Islam
Line 1: Line 1:
-***Set Up Automation TC Development & Execution Environment***+====== ​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:- Firstly make sure that, your pc has java (jdk 7 or higher) installed. After that, follow the below procedure:-
  
-**1.Oracle JDK 1.7**+**1. Install ​Oracle JDK 1.7**
  
-a.add-apt-repository ppa:​webupd8team/​java  +    ​add-apt-repository ppa:​webupd8team/​java  
-b.apt-get update +    apt-get update 
-c.apt-get install oracle-java7-installer +    apt-get install oracle-java7-installer 
-d.update-alternatives --config jav+    update-alternatives --config jav
  
-**2.Setup Jython:**+**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
  
-    a.Download ​jython 2.7.0.jar-Installer ​(Example Link: http://www.jython.org/​downloads.html)+**3Setup Robot-Framework:​** 
 +  * Download ​robot-framework2.9 source(Example Link:https://github.com/​robotframework/​robotframework/​releases) 
 +  * Extract the compressed file. 
 +  * Enter into the extracted Robot-Framework folder. 
 +  * Install robot-framework with jython. ​You can use following command: 
 +      * jython setup.py install ​
  
  
-    b.Open a terminal and go to the directory where the jar file is downloaded. And execute that file using following command: +**4. Setup Remote Server:** 
-java -jar jython-installer-2.7.0.jar +  ​* ​Download PythonRemoteServer source(Example Link:​https://​github.com/​robotframework/​PythonRemoteServer ) 
- +  ​* ​Extract the compressed file. 
- +  ​* ​Enter into the extracted PythonRemoteServer folder 
-    c.Follow the installer and install jython. +  ​* ​Install python remote server with jython. You can use following command: 
- +      ​* ​jython setup.py install ​
- +
-    d.Open .bashrc file and add path for jython. (command gedit ~/​.bashrc) +
-Example: PATH=$PATH:/​home/​jython2.7.0/​bin +
- +
- +
- +
-**3.Setup Robot-Framework:​** +
- +
-    a.Download robot-framework2.9 source(Example Link:​https://​github.com/​robotframework/​robotframework/​releases) +
- +
- +
-    b.Extract the compressed file. +
- +
- +
-    c.Enter into the extracted Robot-Framework folder. +
- +
- +
-    d.Install robot-framework with jython. You can use following command: +
-jython setup.py install  +
- +
- +
- +
-**4.Setup Remote Server:** +
- +
-    a.Download PythonRemoteServer source(Example Link:​https://​github.com/​robotframework/​PythonRemoteServer ) +
- +
- +
-    b.Extract the compressed file. +
- +
- +
-    c.Enter into the extracted PythonRemoteServer folder +
- +
- +
-    d.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