CDX Grey Cell Executor - This is the execution component to the CDX Grey Cell Automation platform. The key execution methodology is Selenium.
Important Links:
-
Selenium
- Site
- Notes:
- Provides the cross-platform browser automation.
- Download List: {Source}
- Selenium Server (current version: 2.33.0)
- IE Driver (current version: 2.33.0 32bit, 2.33.0 64but)
- Web Driver Information:
-
Browsermob Proxy
- Site
- Notes:
- Deals with the possible SSL issues with self-signed certificates. This will minimize load errors.
- SSL Certificate Guide for IE (Recently update: 03-05-2013).
- Provided HAR generation support to prove what is being send to be browser is as expected without human intervention.
- This will reduce human interaction and verification in combination with Selenium load information.
- Node JS Controller Library
-
Node JS
- Site
- Docs
- See package.json for dependencies and other critical information.
Install:
Download one of the following files based on the OS of the system:
cdxexecutor-linux-0.0.2.tar.gz
cdxexecutor-windows-0.0.2.exe
NOTE: The windows version is a 7Zip self-extracting archive. The linux version assumes tar and gzip is installed.
In Windows:
-
Double click on the cdxexecutor-windows-0.0.2.exe file and put it in your working directory.
-
Go to the Run command or click the Search box in Windows Menu.
-
Type "cmd" and hit enter.
-
Follows steps 1 and 2 again.
-
You should now have two CMD shells open.
-
Change the directory of both shells to where you put windows cdxexecutor files.
-
In one of the shells type:
.\run_selenium.bat
-
If that was successful, then it should run stay running and a bunch of log message should show up on the screen.
-
On the other shell type:\
.\node.exe executor.js -s <your school> -m <the machine> -b <your browser choice>
Example(s):
.\node.exe executor.js -s navy -m win7 -b ie .\node.exe executor.js -s airforce -m winXP -b firefox
-
If you see log message like "Waiting for tasks..." then everything is working.
-
Just watch the show. Get a cup of coffee, you are done for now.
In Linux:
-
Start "Terminal".
-
Open 2 terminals or 2 tabs.
-
Change the directory on both terminals to the same place you put linux tar file.
-
Expand the tar file:
tar -vxzf cdxexecutor-linux-0.0.2.tar.gz
-
In one of the shells type:
./run_selenium.sh
-
If that was successful, then it should run stay running and a bunch of log message should show up on the screen.
-
On the other shell type:\
./node executor.js -s <your school> -m <the machine> -b <your browser choice>
Example(s):
.\node.exe executor.js -s navy -m win7 -b ie .\node.exe executor.js -s airforce -m winXP -b firefox
-
If you see log message like "Waiting for tasks..." then everything is working.
-
Just watch the show. Get a cup of coffee, you are done for now.