Experiments with WatiN

Hi folks,

So recently I decided that it’d be a good idea to get slightly up to speed with WatiN since I’ve gathered that it might come in handy to have an idea of a good automated testing framework, compatible with a decent development language, like C#.  It was certainly interesting learning how to use it.  After installing Visual Studio, I found this video, which seemed quite straightforward.  However I was stymied by my lack of resharper – a tool which costs about $200 for the latest version.  I decided to try the trial period for the tool, but then found out that I needed a license for Visual Studio (full release) as well, which would be at least another $800! So too much (even though resharper looks like a most excellent tool to have at one’s disposal, if say one was a hardcore .Net developer).

Luckily however I then found this video, and managed to run my first “Hello WatiN” script.  That was quite satisfying.

Naturally, of course, there are other testing frameworks out there, such as Selenium.  In particular, I installed the Selenium IDE for firefox 22 as a plugin, but didn’t really get around to playing with it before I became distracted by WatiN.  However WatiN seems more advantageous to a commercial organisation because it is inherently a plugin for Microsoft Visual Studio via the .Net framework, and the Microsoft .Net framework is built to run with the Microsoft office suite.  But being more or less still completely ignorant of Selenium (apart from the fact that scripts in Selenium can be recorded ? by actions in the browser ? and are recorded in a unique scripting language called “Selenese”) I will have to defer judgement until I have a better look at the tool.

In other news, I’ve started reading up on R.  A while back I downloaded R as well as R Studio, but for some time now they’ve been sitting on my machine, consuming space, waiting for me to eventually get around to learning how to use them.  So now I finally have, and am starting to get across such elementary ideas as vectors, booleans, dataframes, file i/o, and other basic commands in the kit.

My eventual goal is to become sufficiently competent with R that I can do linear regression, then implement additive/generalised linear models, and also be comfortable with various forms of hypothesis testing with the framework.  Ultimately I’d like to be at the frontline of work in computational statistics / data analysis / whatever the kids are calling it these days; but I anticipate this will likely take some time.

Simultaneously I’ve started to haunt kaggle.  My philosophy with kaggle is that it is a good way to cut my teeth on some elementary data problems, and build some legitimate skills (and maybe even some street cred in the process).   While on the site in particular I noticed a plug for a python package built by some Londoners called scikit-learn, so dutifully I’ve set up a virtual environment for it and have essentially playtested it to the point of completing my first “hello scikit-learn” script.  Apparently the strength of scikit-learn is that it is a great python library for machine learning – not sure how it compares to R though, particularly with R’s extraordinarily established community and extensive set of libraries.  But scikit-learn builds on numpy, scipy, and matplotlib.  And of course there are vast numbers of other python libraries.  So until I know more, or have had more time fooling around with the tools, I won’t know for sure if one toolset is definitely superior to the other – or whether they each have strengths in certain situations.

Finally, I thought I might share something really neat I learned of today (from the Unity blog).  Some of you have probably heard of the Oculus Rift – part of the renaissance in wearable computers / virtual / augmented reality that has been underway now for perhaps the past year or two, and largely facilitated by such enterprises as Kickstarter which itself was founded only in 2009.  There is a similar device too, called the Leap motion controller / detector.  Both are still largely alpha – Leap motion certainly is – however these developments, although groovy, are not the key development I wish to bring to the attention of this forum.

No, rather it is a recent development emerging from the labs of Columbia University, New York.  The meta is an augmented reality headset with a gesture driven interface, combining aspects of both the Leap and the Oculus.  They have some big names backing the project including Steve Mann, the father of wearable computing as chief scientist, and James Knight, head of performance capture on Avatar (the recent blockbuster movie with blue people).  So really, really interesting.  And the project is designed to work with Unity, too.

As for my Unity project, that is currently on the back-burner for the time being.  I’ve certainly not forgotten my aspirations to implement data persistence in the game world in question.  As for now, however, I have several other demands on my time and attention which I think I should give precedence to.

Tags: , , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: