|
Brent Strange's thoughts on Software Quality Assurance and technology Copyright: Brent Strange Sun, 21 Dec 2008 09:41:20 +0100
When I hear XP I typically think Windows XP, and then there is also Extreme Programming. But I never knew that XP means "Christ Savior". According to Grammar Girl's quick and dirty tips: Retailers have long been accused of secularizing Christmas by using "Xmas" in signs and advertisements; therefore, I suspect many of you will be surprised to learn that "Xmas" has a religious origin.
In Greek, the letter "chi" is written as an X, and chi is the first letter of
the Greek word for "Christ." Greeks sometimes abbreviated "Christ" as "X." For example,
they abbreviated "Christ savior" as "XP." ("P" is the symbol for the Greek letter
"rho," which is the first letter of the word "savior" in Greek.) The Oxford English
Dictionary shows the first known English use of "Xmas" in 1551. Wow, now that's really got me thinking... Generation X = The generation of Christ? Whoa! Deep. Now I'm sorry I talked so much smack about 'em. :) Improve your grammar and learn little bits of info like this from Grammar Girl yourself, sign up for the Tip of the day here. Mon, 01 Dec 2008 11:22:55 +0100 December is here and so is the snow! Yes, snow in the desert valley! Well not yet... but on Christmas Eve there will be. Guaranteed! On December 24th, Superstition Springs Community Church (SSCC) would like to celebrate Christmas Eve with you and that celebration will include snow, SLEDDING, hot cocoa, wagon train rides, LIVE MUSIC, Bethlehem Village, and a petting zoo. I'm thinking this Christmas Eve service is going to be a BLAST. So, mark your calendar and get more details about it here. See you there! That's still 23 days away though.. the reason I'm bringing this up so early is because it's also December which makes it officially time to enjoy some new Christmas music right? I also wanted to point you to the FREE downloadable Christmas album recorded by the SSCC Worship Band. Good stuff, these guys and gals are really good. I can honestly say that I look forward to hearing them every Sunday. Whether you are near to Gilbert or far, SSCC offers a lot. The prior two things I mention are the tip of the iceberg. SSCC's community and WORLD involvement is admirable, I'm 5 weeks new to SSCC, and let me tell you I'm excited about the impact this church is making in the world. Check out what SSCC is doing on their "All In" blog.
I know this post isn't QA oriented, I'd like to remind you that you can refine you RSS feed to QA posts only by subscribing to the "Quality Assurance" category. Anything that has to do with SQA will always have that category assigned to it. Sun, 23 Nov 2008 11:08:02 +0100 The last few months we've heard sooo much about the declining economy... On the flip side, I'm really liking the plummeting gas prices! Aren't you? I paid $1.88 a gallon today! It's been years since I've seen prices like this. When gas was over $3.00 the complaints were loud and often. Between the people that surround me (don't get me wrong, me too) and the media, it was obvious that we were not happy. Now that gas prices are down, the complaints stop but we don't seem to be talking too much about how happy we are about it. Even worse on NPR, yesterday, they were talking about the negative impact of it. That's sad. Join me in the positive celebration of cheap gas! This Thanksgiving I'm thankful for cheap gas (and a WHOLE LOT more, but I won't get into that here).
Tue, 18 Nov 2008 13:51:56 +0100 I
noticed today that C# 4.0 will
offer dynamic typing (no, your keyboard will not type magically for you...the other typing).
Why mention it here? Well, if I understand the new feature right, this will fix a
fairly large unit testing and automation roadblock caused by static types. For example,
when writing tests in .NET and trying to consume/use a method on a .NET API or Web
Service your tests are constrained to the method's inputs static types at compile
time. In other words, in the old C# world, if you had a method that looked like this:
public void testMe(int foo){ } and you wrote a test that called the method like this: testMe( "poofoo" ); the test would fail at compile time due to static typing (because the method's input parameter type is an int, but we're trying to pass a string) Thus the roadblock I was describing... There are a lot of tests, poor error handling, AND hidden defects when you try to pass invalid types into inputs in a service. So, about now you are saying..."Who gives a crap Brent, if my service's consumers use .NET they'll compile, get the error and never even get a chance to send a string in where an int should be". There was a day when I thought the same thing (a long time ago), until I consumed a Web Service using a Java application. For example, say you've exposed a .NET Web Service for the world to use... and I come along and consume it with Java, by doing that I can ignore your static/strong typing and send in that string that you weren't prepared for. Strings don't work so well as ints (especially when it's "poofoo", or even better "2147483648"). Most of the time the errors are just plain ugly, making the API or Web Service really hard to work with when trying to do good error handling management (imagine getting "you failed, line 67", but then a code change occurs and now it's line 68), but sometimes things fail on a larger scale and make some really cool defects. Back to the point... I'm thinking the new dynamic type in C# 4.0 will allow you to avoid that compile error if you're writing your tests using C#/.NET. Thus, I could send in that string as an int and then see what happens at runtime. That test would look something like this:
dynamic poo = "poofoo" ; Neither confirmed or denied at this point, but if true, I'M REALLY EXCITED. This will fix a major issue that I've had with testing .NET services using .NET. It's interesting the conversations that are spawned from the issues that come out sending invalid types...
Brent: The error message... "You failed, line 67" is poor and confusing, what
did I do wrong? Wed, 24 Sep 2008 16:29:31 +0200 Interesting... Google Maps has open sourced their Selenium Test Suite and less than humbly asks you to add to it! Not only do we test Google's Beta applications...NOW, we can help them automate their applications! BRILLIANT. Damn these guys are good. Sun, 21 Sep 2008 09:51:02 +0200 This has been around a while but... I'll give $20 bucks to the brave QA Engineer who names their son or daughter one of the following:
...poor kid Fri, 19 Sep 2008 09:58:53 +0200
test experience, boasting 80,000 users (approximately 2 million readers less than QAInsight.net) Subscribe here: http://www.testingexperience.com/subscribe.php Read back issues in PDF format here: http://www.testingexperience.com/thanks.php Thu, 04 Sep 2008 13:24:38 +0200 Thu, 04 Sep 2008 05:47:20 +0200 In the slim and clean Google Chrome (beta) interface JavaScript issues are not easily detectable unless your page or site is visually broken. Much like FireFox and Safari, a tester must open the "JavaScript console" and keep it in visible view while they test in order to catch JavaScript errors. Chrome's Javascript console is a lot like Safari's, but is a tad worse (see the gotchas at the bottom of this post).
My fellow testers, here is how to get to that JavaScript console and monitor for JavaScript
errors while you test: Click the page icon to the right of the URL bar. Select "Developer" and then "JavaScript console" from the menu:
In the top of the JavaScript console window click the "Resources" button:
Start testing. When an error occurs you'll see a red icon with a number in it next to the page that the error occurs:
You'll also see a log of the error in the bottom of the JavaScript console window, if you click the provided link it will take you to the line of code where the error occurs: Also, if you click the page in the "Resources" section the offending line of JavaScript and the error will be displayed:
As of now, I see two gotchas in Google Chrome Beta when attempting to detect/find JavaScript errors:
Tue, 02 Sep 2008 14:30:57 +0200
Have you seen my previous screencast on Browser Compatibility Testing Risk Analysis? If not, its a worthy watch if you want to get a feel for how the browser generally works and how to trim that browser test list based on a little bit of data and risk analysis. Once that's under your belt, continue on my friend... Let's dive into the details of Chrome to get a quick grasp on where some new browser compatibility defects for your site may be lurking:
The Layout Engine Mozilla/5.0+(Windows;+U;+Windows+NT+6.0;+en-US)+AppleWebKit/525.13+(KHTML,+like+Gecko)+Chrome/0.2.149.27+Safari/525.13 As you can see we have a WebKit version of 525.13. Chances are that the latest version of Safari runs WebKit 525 also (again do this by looking at the user-agent of the latest version of Safari). Ignoring the minor version number and focusing on the major version number, if they are the same we can feel comfortable that Chrome and Safari will display layout the same...Meaning they will align objects on the page the same. If you've already tested Safari, chances are you aren't going to find any unique layout defects in Chrome.
The JavaScript Engine
The Shell
Mon, 01 Sep 2008 12:49:03 +0200
I've got 2 semi-solutions for you (keep in mind I've done little with both, so forgive an misinformation):
Litmus The FREE part of Litmus: Screen-shots of your site in IE 7 and FireFox 2. The $ part of Litmus: Pay $24 a month to get 23 browsers and 14 email clients.
BrowserShots The FREE part of BrowserShots: 70 browsers on various platforms! Submissions get dumped to a queue for processing. The $ part of BrowserShots: Pay $15 a month to get priority processing.
Honestly, I think the dream is doable... So many dreams/ideas, so little time. |