You need to upgrade your Flash Player

Express install of the flash player can be done so by following the link provided below.

Download Flash Player

You need to upgrade your Flash Player

Express install of the flash player can be done so by following the link provided below.

Download Flash Player


                                 
Our Specialties
  • Cloud Computing
  • Server Virtualization
  • Infrastructure Load balancing
  • Multi-server clusters
  • Automated system administration
  • Dynamic server configuration
  • Content Management
  • Digital Asset Management
                                 
Web Testing in Parallel using Selenium Grid on Amazon EC2
21-01-08 13:07
Age: 230 days



Category: Cloud Computing

Selenium Grid is an open-source tool that dramatically speeds up web testing by leveraging your existing computing infrastructure. It allows you to run multiple tests in parallel and on multiple machines, cutting down the time required for running web acceptance tests.



Selenium Grid allows an EC2 user to build a sophisticated farm of testmachines with as many environments as is necessary, and run the testsfor one ormore projects on that farm in a massively parallel way. Thiscan result in significant improvements on test, and therefore build,time while reducing the per-project infrastructure.  This is bestrealized in alarge organization (such as Google, who uses a similar approach ), but can be valuable even on a single machine for a single project.

Selenium Grid is a free and open-source (Apache License 2.0) extension to Selenium which separates the concern of managing a grid of Selenium-RC instances from the concern of connecting to a Selenium-RC instance for the purpose of running a test. Essentially, Selenium Grid offers up a hub, which acts like a remote control for the purposes of latest, but transparently dispatches the test requests to one Selenium-RC instance from a grid of available instances on one or more machines.The Selenium Hub takes on these responsibilities:

  • Allocating a Selenium Remote Control to a specific test (transparently).
  • Limiting the number of concurrent test runs on a each Remote Control.
  • Shielding the tests from the actual grid infrastructure.

-----------------------------------------------------
Public AMI Doc
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1170&categoryID=101

AMI ID:     ami-fd37d294
AMI Manifest:     khaz_Selenium_01/image.manifest.xml

How to use this AMI:

    1. Run instance of this AMI.
    2. Login into ssh terminal, using Public DNS.
    3. Run following commands:
    # cd /usr/share/selenium-grid-0.9.3
    # ant sanity-check

Instances of this AMI can be run as "hub" or "remote control" depending on your layout. If this is going to be a remote control:

ant -Dport=5555 -Dhost=testhost -DhubURL=http://your-hub-url:4444 -Denvironment="Firefox on Linux" launch-remote-control


For more information read http://www.openqa.org/selenium-grid/

Possible future optimizations: pass parameters before launch, so it runs in hub or rm mode,all neat and automated


Reuven Cohen
Chief Technologist, Enomaly Inc
http://www.enomalylabs.com
http://www.enomalism.com








<- Back to: Archive

{en}BLOG : Open Source Insight

+ Login to leave your comments   +  Syndicated News   + Jobs   + Search

stardevelop.com Live Help Accept Decline Close