An overview of configuring the Monkeyrunner automated test environment under Ubuntu:

Source: Internet
Author: User

about Configuration Monkeyrunner an overview of the automated test environment:

the first software that needs to be installed is JDK , Eclipse , Pydev , SDK , Jython

 

1. JDK :

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

l depending on your operating system, select the appropriate JDK ,

l environment variable Configuration

go to the currently logged on user path (Home/alicia (my username)) under Modify configuration file,

Open . BASHRC and the . profile add at the end:

Export JAVA_HOME=/USR/LIB/JVM/JAVA-7-OPENJDK-AMD64

Export Jre_home=${java_home}/jre

Export Classpath=.:${java_home}/lib:${jre_home}/lib

export Path=${java_home}/bin: $PATH

Save

 

 

 

2. Download the Integrated test environment ( ADT Bundle )

ADT Bundle contains a Eclipse , ADT Plugins and SDK Tools , which is already well integrated IDE , just install it. JDK ready to start development, recommended for beginners to download ADT Bundle , no need to toss the development environment. Download path:http://www.androiddevtools.cn/

1


 

3. Pydev Download and configure

l can be downloaded online: in eclipse-help-install new Software--add




However, this situation is basically not connected to the server, even if connected, but also half of the download failure. Download it all offline.

l offline Download, address: http://www.pydev.org/download.html

download after the decompression bar features , Plugins Two packages are placed in the Adt-boudle à Eclipse under the Plugins and the features , or put two of folder copy directly to Dropins file.

 

 

4. Jython Configuration

l go to Adt-bundle-linux-x86_64-20140702/sdk/tools/lib file found under path Jython-standalone-2.5.3.jar , and put it under pressure in Lib directory. Below is the start of configuring the Eclipse Jython interpreter. This is a problem that has plagued me for a long time and I hope this will be a success.

l in the Window-preferences-jython Interpreter

l

 

in the three steps, proceed as follows:

1. Press the new folder before Adding it as shown in Figure 1 Jython-standalone-2.5.3.jar obtained the Lib package, the Lib package to join in

2. Click the 2 -step New button in the diagram to add Jython-standalone-2.5.3.jar

3. Click on the 3 - step new Jar/zip in the figure to join Hierachviewer2.jar, Hierarchyviewer2lib.jar,monkeyrunner.jar



 

at this point, you can Eclipse Run in Monkerunner , everybody. Happy go ahead.

Overview of Configuring the Monkeyrunner automated test environment under Ubuntu:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.