30.7.13

Hopefully I get to bypass Lengthy User Testing with this tool

I just ran a simple test with Casper at home:

casperjs.bat firstTest.js
PASS Found an element matching: form#healthQsForm input[type=submit][
Started']
PASS Found an element matching: form#PPIForm input[name='firstName']
PASS Found an element matching: form#PPIForm input[name='lastName']
PASS 3 tests executed in 1375236441.809s, 3 passed, 0 failed.

I had 0 installs to perform.

The steps I followed were:
1. Download and extract PhantomJS for Windows (available in non Windows):
https://phantomjs.googlecode.com/files/phantomjs-1.9.1-windows.zip
non:

2. Download and extract CasperJS for Windows (available in non Windows):
https://github.com/n1k0/casperjs/zipball/1.0.0

non:

3. Install Chrome Extension Resurrectio from Chrome Store

4. I added the path variables as defined in the installation instructions for both Phantom and Casper (this in theory could be done in a batch file too).

5. I went to a website, clicked the Chrome Extension icon, and chose "GO"

6. I stepped through the desired steps (okay I only did 3 parts of a very long [350+ fields] form)

7. I clicked the Extension Icon, and selected stop recording

8. I clicked Export CasperJS

9. I selected everything onscreen (very important to not click save as you will save HTML instead of JS) and saved in a text editor (Notepad++) as firstTest.js

10. I opened my command prompt, and navigated to the saved file's directory

11. I ran the simple command casperjs.bat firstTest.js

12. The results displayed after a moment

Hope it excites you as much as it just excited me to hopefully be able to test at least the desired on screen items quickly. I did see more documentation showing where you can check for titles, and specific words on the page as well.



At work we have several web apps, with difficult customers. I hope to batch script this so users can easily go to folder, and click a bat file, have it running on their computer and then continue about their business, instead of them having to go in and test manually (which they don't do well).

26.7.13

Random Google

Just before lunch, got a phone call from my friend Chad. He had an urgent request from Google to take down the moving display that he had built for their commercial about Google Fiber (http://www.youtube.com/watch?v=ffHLIZh0PHg), and needed about 3 hours of help to take it all down.

Luckily, I was in no mood to finish off my day in a Word Document for a project, and had nothing scheduled.

Now, I get to say I worked as a contractor for Google as his usual folks were booked already. Sadly, most of the stuff he wanted hadn't been maintained, as they didn't keep up his maintenance plan, but he did get to take the metal support structure for other projects, a few circuit boards, and motors. Google folks kept the iconic bunny, and the soccer field. The buildings went into the trash, along with the track. All but 1 car had already been taking either by staffers or visitors, and we kept some other odds and ends.

All-in-all a pretty easy way to get a Google nod, and few extra bucks.

Porsche Parts

Started by my friend Landon finding and A/C kit for the 914 that would turn the 914 into "a portable refrigerator." I also found a nice complete exhaust kit:
http://www.autoatlanta.com/Porsche-Stainless-Steel-Heat-Exchanger-Kit-1-7-And-1-8-Parts-PN-BSTA1718.html

Though, having that for winter would also require me to find a fan shroud and fan for the engine.

Then, combine that with the:
http://www.autoatlanta.com/Porsche-Air-Conditioning-Kit-Dual-Condenser-For-Your-914-Parts-PN-RAA030D.html

That's all of my standard budget for Tokyo.

So, maybe next year, instead of Tokyo, I'll start looking at junk yards and parts websites to get the fan + shroud, and truly make the car and all year-round driver without the need for personal heat or always top off 180-70 A/C.