Skip navigation.

View most popular content

Day's most popular content:

C# - Convert ASCII String To HexSubmitted by Corey Goldberg on Friday, 29 June, 2007 - 19:49

C# method to convert an ascii string to hex:

public string ConvertToHex(string asciiString) {     string hex = "";     foreach (char c in asciiString)     {         int tmp = c;         hex += String.Format("{0:x2}", (uint)System.Convert.ToUInt32(tmp.ToString()));     }     return hex; }

[ login or register to post comments | feed | read more ]

How to view javascript errors in Internet Explorer 7Submitted by Brent Strange on Wednesday, 2 August, 2006 - 06:08

I habitually peruse the search queries report for QAInsight.net to see what keywords bring users to the site. Occasionaly the keywords aren't things that I've specifically talked about but are good ideas for future posts. A recent search phrase was "viewing javascript errors in IE 7". It's something I take for granted since I've been doing it for so long with IE 5-6, but there are peeps out there who want to know. So here is how to view javascript errors in Internet Explorer 7:

[ login or register to post comments | feed | read more | read comments ]

Python Parameters - Pass-By-Value or Pass-By-Reference?Submitted by Corey Goldberg on Monday, 5 March, 2007 - 03:51

Passing parameters to functions and methods.  Pass-by-value?  Pass-by-reference?  Which does your language use?

You probably learned this in your first CS class... so did I.

Then why did it take me a frakin' month to understand what Python does? :)

Well... if you look online, you will find some very ambiguous answers about Python being pass-by-reference or pass-by-value.  (which ends up boiling down to semantics and how you use certain terminology, but forget that for now)

[ login or register to post comments | feed | read more ]

Internet Explorer shortcut keys (IE7 too)Submitted by Brent Strange on Thursday, 9 February, 2006 - 15:33

The Internet Explorer team posted a blog entry on the new Internet Explorer 7 shortcut keys. It's obvious they've put a lot of focus on making tabs easier to use (which is cool). If you're anything like me, you're in a Web browser nearly all day (most the time testing) and the quickest way to get around is with shortcut keys. As a gift to you my dear reader, I've compiled all the shortcut keys I could find for the various versions of Internet Explorer:

[ login or register to post comments | feed | read more | read comments ]

Get Firefox to do NTLMSubmitted by Wayne Allen on Thursday, 23 December, 2004 - 09:41

From Patrick Cauldwell's Blog - Firefox and Sharepoint

Being a dedicated Firefox user, one of the few things that was still thwarting me was SharePoint.  We use SharePoint internally for a ton of stuff, and it was a drag to have to fall back to that other browser.  SharePoint pages look and work fine in Firefox, but I was having to reauthenticate on every single page, which really hindered my enjoyment of the experience.

[ 5 comments | feed | read more | read comments ]

All time most popular content:

Update to User Agent Import for User Agent SwitcherSubmitted by Brent Strange on Sunday, 4 March, 2007 - 20:46

Update 05/17/2007: The list has been updated and can be found here.

Somebody asked for an update to my outdated XML import file for User Agent Switcher. Honoring that request, I have added the latest user agent strings for each browser. Updated or added strings are marked with green below. I also added a new section for RSS reader user agent strings. Download the User Agent List import file here: AgentStrings20070304.xml (16.51 KB).

[ login or register to post comments | feed | read more | read comments ]

OpenSTA, the free performance testing tool, versus the big-guns...Submitted by Antony Marcano on Friday, 30 July, 2004 - 02:40

I was recently introduced to Scott Barber by Steven Splain. Scott is a performance testing practitioner and one of the organisers of the Workshop on Performance and Reliability (WOPR) (thanks for the invite Scott).

Before the WOPR came into the equation, our e-mail conversation was about OpenSTA- a powerful opensource web performance, load and stress testing tool. I have used it extensively and contributed to the support group and project strategy through my ongoing discussions with Dan Sutcliffe.

Scott was intending to do a comparison between LoadRunner and OpenSTA so I thought I would help him get it started since Andy O'Brien and I (Antony Marcano) produced one this time last year... we just never got round to publishing it. So, here it is... I hope you find it useful...

[ Antony Marcano's blog | 22 comments ]

Get Firefox to do NTLMSubmitted by Wayne Allen on Thursday, 23 December, 2004 - 09:41

From Patrick Cauldwell's Blog - Firefox and Sharepoint

Being a dedicated Firefox user, one of the few things that was still thwarting me was SharePoint.  We use SharePoint internally for a ton of stuff, and it was a drag to have to fall back to that other browser.  SharePoint pages look and work fine in Firefox, but I was having to reauthenticate on every single page, which really hindered my enjoyment of the experience.

[ 5 comments | feed | read more | read comments ]

C# - Convert ASCII String To HexSubmitted by Corey Goldberg on Friday, 29 June, 2007 - 19:49

C# method to convert an ascii string to hex:

public string ConvertToHex(string asciiString) {     string hex = "";     foreach (char c in asciiString)     {         int tmp = c;         hex += String.Format("{0:x2}", (uint)System.Convert.ToUInt32(tmp.ToString()));     }     return hex; }

[ login or register to post comments | feed | read more ]

How to view javascript errors in Internet Explorer 7Submitted by Brent Strange on Wednesday, 2 August, 2006 - 06:08

I habitually peruse the search queries report for QAInsight.net to see what keywords bring users to the site. Occasionaly the keywords aren't things that I've specifically talked about but are good ideas for future posts. A recent search phrase was "viewing javascript errors in IE 7". It's something I take for granted since I've been doing it for so long with IE 5-6, but there are peeps out there who want to know. So here is how to view javascript errors in Internet Explorer 7:

[ login or register to post comments | feed | read more | read comments ]

Last viewed content:

Testing for performance, part 1: Assess the problem spaceSubmitted by Mike Kelly on Friday, 8 February, 2008 - 00:59
Article one of a three part series just posted on SearchSoftwareQuality.com. Along with some heavy references to some PerfTestPlus materials (hey it’s where I learned performance testing), it’s got some tidbits from my experience and I think accurately reflects how I approach most of the projects I work now days. I welcome feedback.Now all I [...]
[ login or register to post comments | feed | read more | read comments ]

Mocking LINQ Queries, Extension methods and Anonymous TypesSubmitted by webmaster@testdriven.com (News) on Sunday, 9 December, 2007 - 21:42
Via Roy Osherove,One of the things I wanted to show at my Interactive session on unit testing tips and tricks at TechEd this year was how you can "Stub" out results from LINQ Queries, or mock\stub Extension methods in .NET 3.5 TypeMock, is a very powerful mocking framework. much more so than Rhino Mocks or NMock, because it allows isolating static methods, private methods, constructors, and basically anything you can do in IL, because it uses the .NET Profiler APIs to intercept method calls and do whatever it wants with them. In that regard, it is almost too powerful because it rids of of the need to actually design your code for testability, and just test it as is (how you actually write the tests is another matter for another post).
[ login or register to post comments | feed | read more ]

Testing, Checking, and Convincing the Boss to ExploreSubmitted by michael.a.bolton@gmail.com (Michael Bolton http://www.developsense.com) on Tuesday, 10 November, 2009 - 05:16
How is it useful to make the distinction between testing and checking? One colleague (let's call him Andrew) recently found it very useful indeed. I've been asked not to reveal his real name or his company, but he has very generously permitted me to tell this story.He works for a large, globally distributed company, which produces goods and services in a sector not always known for its nimbleness. He's been a test manager with the company for about 10 years. He's had a number of senior managers who have allowed him and his team to take an exploratory approach, almost a skunkworks inside the larger organization. Rather than depending on process manuals and paperwork, he manages by direct interaction and conversation. He hires bright people, trains them, and grants them a fairly high degree of autonomy, balanced by frequent check-ins.
[ login or register to post comments | feed | read more ]

Rasta supports data-driven testingSubmitted by bret on Wednesday, 23 April, 2008 - 00:06
Rasta is a data-driven testing framework that pulls data out of Excel spreadsheets and executes it using simple "fixtures" that you write in Ruby. Your fixture methods could use Watir or another Ruby-based library (Selenium-RC, Mechanize, Soap4R) to execute against...
[ login or register to post comments | feed | read more ]

Why do we keep writing (manual) Test Cases upfront?Submitted by Ainars Galvans on Friday, 27 February, 2009 - 13:11
There are at least 2 ways how developers could write unit tests: before code (TDD) or after code is ready. The same applies to writing manual test cases and test scripts (given that we decided to write them at all). There are many benefits of writing up-front: you could review, better plan (schedule) and control, test faster once code is ready, etc. The draw-back is only one - you spend more effort (budget)… (well there are actually more but let’s forget about them now). But do you know how much more? 4 times…?
[ Ainars Galvans's blog | login or register to post comments ]