Skip to content

Development Environment Setup

Freddy Vega edited this page Nov 23, 2015 · 1 revision

Tools

To configure a computer so that it can be used by a developer to produce test scripts that will plug into the system WebDriver based automation framework follow the instructions in this guide. Please note that some sections and steps are optional. Tools To facilitate development of automation scripts and page objects, the below list of tools is being provided. Most of these tools are open source and available for download from the links provided.

Download ActiveState Perl (5.16.3.1604)

• Use the link: http://www.activestate.com/activeperl/downloads

• Click on link for correct system. Version 5.18.4.1804 is recommended

• You may want to create an account. This is free and optional

• After downloading, click run on the MSI installer (If you downloaded for Windows), and follow the on screen instructions.

Download MySQL

• Use the link: http://downloads.mysql.com/archives/community/

• Select the appropriate platform

• Click on an MSI Installer for your machine

• If this is your first time installing, make sure to select the development server, the correct size, and standard.

Download Java runtime environment

• Use the link: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

• Click the option for Accept License Agreement

• Find your platform specs, and click on the .exe file for that product

• Follow the download instructions

Download Apache HTTPD 2.2.22 (Open SSL 0.9.8) (optional)

Apache web server is used as a display vehicle for test results and test artifacts that are produced by the test run. This is only required if you want to host the results on your own machine.

• Use the link: http://olex.openlogic.com/packages/apache/2.2.29#package_detail_tabs

• Click on the “Download Now” button for Apache HTTP Server 2.2.22 Open ssl Included Windows IA32 Installer

• Open the zip file and go to the installer in the folder apache-2.2.22-ins

• Run the installer and follow the instructions

Download Komodo IDE (optional)(not free)(21 day trial)

While you may benefit from using this IDE any that integrates with the Perl debugger is fine.

• Use the link: http://komodoide.com/download/

• Click the “Download Komodo IDE” link

• Install a 21 Day Trial

• Apply license file after / if purchased

Download and install TortoiseSVN (optional)

• Use the link: http://tortoisesvn.net/downloads.html (enable explorer integration, if asked)

Clone the wepatest repository available on GitHub

• use the URL https://github.com/freddyvega/wepatest.git

Configure Hub and Nodes (optional)

This is only needed if you plan to run your tests on your own machine. Please note that you can use a virtualized environment for test execution (see Virtual Test Environment below).

• In order to run hub and nodes locally on the machine, you need to create a local directory called Selenium (recommended for it to have the path C:\Selenium\

Download mRemoteNG (optional)

• Use the link: http://www.mremoteng.org/download

• Click on the mRemoteNG installer link

• Run the installer and follow the instructions

Virtual Test Environment

As tests are developed they are added to an execution queue that ensures the tests are run against their intended environments. These environments are virtualized using HyperV or other virtualization technologies.

• Add the VMs to your Connections.