![]() |
| Home RSS Directory F.A.Q Try Custom Feed Sonneries Portable |
Latest Flows from this sub-category: random selection from this sub-category: |
Brent Strange's thoughts on Software Quality Assurance and technology Copyright: Brent Strange 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. Thu, 14 Aug 2008 11:50:25 +0200 A couple years ago my grandpa Alfred Olsen passed away and I wrote the following eulogy entitled "Follow the Leader" that was read at his funeral. He was a truly remarkable man, I miss him a lot, and the man he was, is what I strive to be. I was perusing the hard drive this evening looking for something QA related and rediscovered this. I thought I'd share since some of these lessons are applicable in the business world too:
Written by Brent Strange in memory of Grandpa Olsen
It’s funny, I always have fleeting thoughts of how I appreciate the little things about a person or the different things I love about them but I’m always hard pressed to put it into words or too chicken to tell that person about those things. “I Love You” says a lot, but doesn’t say much for why. Putting the “Why” behind “I Love You” is something I’ve thought about for a long time with my Grandpa Olsen but I never did sit down to tell him. Now it’s too late to tell him in person, so here I am settling down and am writing it out. I hope and pray that he is listening now… My Grandpa is the most respectable person I’ve ever met. Let’s cut to the chase: Grandpa was honorable, funny, kind, loving, giving, non-judgmental, and a man of God. He is everything I want to and struggle to be. Over the years Grandpa has been a silent leader for me. Follow the leader!
Follow the leader: give somebody some “bugs”!
Follow the leader: sit on the edge!
Follow the leader: cast through the brush, the fish are just past it!
Follow the leader: take time out of your busy day for your loved ones!
Follow the leader: make people laugh!
Follow the leader: confirm those answers?
Follow the leader: Give! Thank you for your love and leadership Grandpa. I respect and honor your life and am committed to providing the leadership to my family and friends as you have done for yours.
Mon, 21 Jul 2008 13:36:10 +0200 For those of you in need of doing SQL load testing from Visual Studio 2005 or 2008 there is a new open source project at CodePlex called SQL Load Test. How does SQL Load Test work? "This tool takes a SQL Profiler trace file and generates a unit test that replays the same sequence of database calls found in the trace file. The unit test is designed to be used in a Visual Studio Load Test. The code generated is easily modifiable so that data variation can be introduced for the purpose of doing performance testing." Get more info and download SQL Load Test here. Sat, 19 Jul 2008 08:28:11 +0200 I've been using to last.fm recently and last night had good luck tapping into some great 80's songs by creating a station by using artist: "Kiss". Oddly enough over the course of two hours I didn't hear any Kiss songs but I did venture into a few solo albums from various members of the group. As I was coding away on a personal project, and slightly paying attention to the music, I was brought to full attention when I heard a pretty, Disney, girly, kids' song. What the... When I brought the last.fm window up I was greeted with the meta of the song "A Dream Is a Wish Your Hear Makes" from the "Ultimate Disney Princess"...here's the kicker/defect: Sang by Cinderella...the late 80's early 90's glam metal band. Hehe, too funny. Sun, 06 Jul 2008 06:04:02 +0200 Things have been a bit quite here at QAInsight for the last few months wouldn't you agree? As always the days and nights are never quite long enough to get all those things I want done. I have one excuse though. Actually I have more than one but I'm only going to share one with you: I've been working undercover with the FBI and Viacom to help parse Google/YouTube logs to obtain logons which relate to IPs, which point to people who are uploading copyrighted content. A mass effort to prepare for the largest bust in digital history. No... Just kidding. Really, I'm kidding don't start with that death threat stuff. I've already had three this week. Apparently the insightful QA advice found on said Software QA blog has increased defect finding and input by QA Engineers across the globe and developers are angry. Go figure, they want to eliminate me because apparently I'm the ring-leader that has slowed down their development process and release to production. It's just a blog. I set forth ideas, I didn't do the defect finding. Please spare my life. Please? I have kids. In fear of my life I'm going to lie low a while. In the meantime, take some more QA advice from me and go check out Go Daddy's new QA blog BugCrushers.com. They have a QA army of 50 talented individuals. I expect to see some good stuff come from these peeps. Oh... By the way, if you're a developer and you see posts on BugCrushers.com where the author is "Brent Strange"... IT'S NOT ME. It's another Brent Strange. Ironically this one does QA too. Go figure. Thu, 12 Jun 2008 03:58:15 +0200 The alpha version of IETester was recently released and "IETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8 beta 1, IE7 IE 6 and IE5.5 on Vista and XP" on the same machine. To good to be true? No, not if you take that sentence literally. These kinds of tools can indeed help you test for "rendering/layout" and "JavaScript" issues, but tend to quickly fall apart when it comes to integration with the OS shell (plug-ins, caching, cookies, modal dialogues, printing etc). IETester is much like MultipleIEs, these types of tools can help when you're in a bind and want to validate something simple that is script or layout related. But to use these tools to conduct all your browser testing versus your dedicated IE systems or VMs will likely bite you in the long run when the issues go beyond layout or JavaScript. IMHO these tools are best left in the hands of the developers to quickly validate layout issues and then QA can follow up with the real thing. It's a good tool to have around but don't bank on it! :) Download IETester here. Get a better feel for for how the browser works with my recent screencast: Browser Compatibility Testing Risk Analysis Wed, 28 May 2008 07:41:16 +0200 I just listened to a podcast where Željko Filipin talks with Bret Pettichord about Watir. This is an easy to listen to and informative podcast about Watir. I really admire and appreciate Bret's openness about Watir as he talks about both the good and the bad. If you have 23 minutes give it a listen. Wed, 28 May 2008 07:11:43 +0200 What is Pex? "Pex (Program EXploration) is a white-box test generation tool. Given a hand-written parameterized unit test, Pex analyzes the code to determine relevant test inputs fully automatically. The result is a traditional unit test suite with high code coverage. In addition, Pex suggests to the programmer how to fix bugs." I haven't had a chance to dive in but I'm pretty excited to see how this can speed up production of writing white box tests and/or increase the code coverage on QA's side. At the end of the day it'd be nice to see this in the developers' hands and not mine. Baby steps though... Read more about Pex here. Get an ear full of Pex with a great Hanselminutes Podcast entitled "Pex with Jonathan 'Peli' de Halleux and Nikolai Tillmann". Wed, 23 Apr 2008 02:51:26 +0200 I hate it. Unit test this. Unit test that. Let's put "unit" in our testing framework so we can test "units" cuz that's all ANYBODY is EVER going to test. Testing outside of the "unit" is forsaken. Thou shalt never test more than a unit. Test more than a unit and ye shall be pelted with stones and crucified. Let's see... What do we have here for unit test frameworks:
brentUnit (even Brent Strange can have a unit testing framework) OH HELL...Just go here for the gi-hugey list: http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks You back? See what I mean? There's like one-cajillion testing frameworks that are for "Unit Testing". Unit, unit, unit. It's freakin' beyond dumb. Tell me...What happens once this developer phase of "Oh, I gotta go write some unit tests, with my unit test framework so my code is better" evolves to tests beyond "unit"? You know, like writing some tests that are "integration" or "functional? It'll happen people. IT'S HAPPENING PEOPLE. I, and others have been using "unit testing" frameworks as an automation test harness for years now. All kinds of tests.. Tests that aren't "unit". Yeah, insane. Unheard of I know. What? You going to crucify me now? Drop the unit. Get over it. These are "Testing frameworks".
P.P.S |
|
contact |