Random

Running Selenium server as a CentOS systemd service

… is very easy to do. You need two things.  1) Xvfb for the virtual screen, 2) systemd.  (And the Selenium Server binary, of course) First Xvfb 1 2 3 4 5 6 7 8 9 10 11 [Unit] Description=X Virtual Frame Buffer Service After=network.target   [Service] Type=simple User=magiumlib ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24   [Install]Continue Reading “Running Selenium server as a CentOS systemd service”

Opinion

Shutting down Magium (and (eventually) looking for a new awesome company to work for)

If you don’t know what Magium is, it is a Selenium based testing framework for Magento and other platforms that makes it much, MUCH, easier to test those applications.  I’ve been working on it since December and it is now 7 months out.  7 months of very little income (thank you to MagentoU for having me doContinue Reading “Shutting down Magium (and (eventually) looking for a new awesome company to work for)”

Jetty Magento

Using PHP WITH Jetty, Camel, ActiveMQ, WebSockets and other things that might score high on SEO

Over the past several days (more than I would like to admit) I’ve been working on getting a system based off of Jetty and ActiveMQ to work out of the box for PHP developers.  While “out of the box” isn’t quite true I have been able to get everything to work in a single downloadable container.  ItContinue Reading “Using PHP WITH Jetty, Camel, ActiveMQ, WebSockets and other things that might score high on SEO”

Java Jetty PHP

Browser Communication with Nginx and WebSockets…

… was what I was going to write about.  I’ve been meaning to come up with a solution where I could do a combination of regular HTTP requests combined with Web Sockets combined with Redis to send messages easily back and forth between the backend and the frontend.  My thought was that I might be ableContinue Reading “Browser Communication with Nginx and WebSockets…”

Good To Know

How to change browser settings in a Selenium test

Magium tests are designed to be as cross browser compatible as possible. For that reason the Remote WebDriver component is used in all circumstances. However, there might be some times when you need to test browser specific configurations. One example is setting the browser language. Each browser has different ways of doing it. So givenContinue Reading “How to change browser settings in a Selenium test”

checkout New Feature shipping

Validating Individual Shipping Methods

Out of the box Magium will select the first shipping method on the screen. But there might be some times when you need to validate a particular shipping method, or force an error to be thrown if a shipping method does not exist. ’tis now easy to do. use MagiumMagentoAbstractMagentoTestCase; class ShippingTest extends AbstractMagentoTestCase {Continue Reading “Validating Individual Shipping Methods”