Allow Selenium Webdriver C# tests to accept javascript popup alerts

I have been writing Selenium webdriver powered tests for over a year, as part of a suit of acceptance tests, and I was looking to prevent a test from failing when a JavaScript pop up alert interrupted the tests completion.

I found the non C# solution blogged but I’ve written the code in C# below:

1
WebDriver.SwitchTo().Alert().Accept();

,

No Comments

Livenation 3.0 site launched!

After over half a year of effort, the site I have been working on was officially announced this week. The site, www.livenation.co.uk is now at version 3 and was put into production last Tuesday. The project started some time before I joined the company, and it’s been a great experience to work with a such a skilled team.
I’m looking forward to further interesting projects the year will bring!

1 Comment

Amusing recruiter email

This gem arrived on my inbox recently, despite numerous my requests to remove me from their jobs mail out:
> Dear Michael
>
> Based on the information we hold on our database we believe the position outlined below may be of interest to you.
>
> POSITION DESCRIPTION:
>
> Our client is a global, top 10, digital [I edited this bit out, blah, blah blah….]
>
> Let me outline their ideal candidate.
>
> You are a geek with a compassionate heart: you just want to help! So what if you are misunderstood, sometimes, aren’t we all? Are you a techie working on half a can of jolt with frayed nerves and lovable, yet irritating character flaws, annoying those around you and, at times, causing you heartburn – it’s hard being me – screams your ulcer. You are bright, quirky and have a well organized cosmetics shelf of grooming products. Sometimes you read science fiction, dabble with the occult and, don’t forget, know a little about martial arts. You love the internet, and in turn, it loves you. Your blog site is never read, but that doesn’t matter, you hammer out a few thousand words a day, regardless, of the pain you are suffering because your hamster has gone off its food. Am I getting through to you? Your hairstyle is dated, yet cool, your dress sense is so wrong, but so right. We need you, and you need us…. just a little, but still … enough it hurts …hello … is it you I’m looking for?
>
> Now for the usual required skills blurb: You should have commercial experience with: .NET, ASP.NET [blah, blah etc…]

top marks for trying though I think the recruiter’s talents are  wasted!

No Comments