Wednesday, April 22, 2009

Data-Driven Testing

A few years ago, I undertook a project to make automating printer drivers easier for QA. The idea was to use INI files to define the tests so that people who don't know how to develop can automate new tests. I wound up using a set of INI files to define applications, driver UIs, and test cases.

I didn't realize it at the time, but I was essentially making a data-driven test. Test cases were added simply by editing a simple file. It even went beyond the traditional data-driven test setup by supporting black box monkey testing, default values for most functions (such as falling back to CTRL + O to bring up the open dialog in an application), and remote monitoring and control of the test through the network.

Data-driven testing makes life easier for QA as well as the automation developer. Instead of having to add lines of code, anybody could just edit a file to add test cases. It's much more complicated to create data-driven automation, and it isn't appropriate for every test plan, but when it does work, it works well.

Thursday, April 16, 2009

Yet another "thank you" email

It's bad enough to get an email saying the interview didn't work out. It's worse when it's a form letter. I interviewed at a company in San Diego. I went through two phone interviews before being asked to come in, using up plenty of my mobile phone minutes. I drove an hour to the office, went through a 3 hour interview with 5 different people, was told they'd get back to me within a few days, sat in traffic on the way home for 90 minutes, sent some personal thank you emails, and waited.

A week later (this Monday), I got an email from the person in HR I had been talking to. She said that the team had finished the interviews and would be in touch no later than Friday with a decision. I was a little ticked because she sent it to all the candidates, but put our email addresses in the To field instead of using BCC, so everybody was able to see everybody else's email addresses and names. So much for privacy.

Since I had the email addresses of each of the other candidates, I could have done searches and got background information on each of them, then used this information to my advantage in a follow-up email. I didn't (though I wonder if any of the other candidates did). To make matters worse, it was HR that sent the email, and HR should have known better than to disclose the names and email addresses of all the candidates.

Anyway, today, 10 days after the interview, I got the following email:

Subject: Thank you for your interest in [Name of company I applied to]

Dear Troy Hoffman,

Thank you for submitting your resume to for consideration.

We are fortunate to have many qualified candidates apply to each of our positions. We have reviewed the qualifications of each candidate and after careful consideration, we have determined that the credentials of other candidates may better fit our needs at this time.

Please accept our best wishes and thank your for your interest in our company.

Sincerely,

The [Name of the parent company] HR/Recruitment Team

-------------------------------
Powered by Taleo
www.taleo.com
Is it too much to ask for a personal email signed by a person? There were only four of us (which is information I shouldn't have known). It would have only taken a few minutes to send each of us an email. Even an email that was sent to all of us would've been better than just logging into Taleo and clicking a button to send a form rejection letter to all candidates. Form responses are great when you haven't even gotten a phone call about your application. In fact, I'm glad when I get those, since at least I know they got my application.

However, if somebody invests their time, gas, and energy into showing up in person for an interview, then that person follows-up with a personal thank you after the interview, the least you could do is sign the rejection email with your own name instead of "HR/Recruitment Team."

Maybe it's better I didn't get the job. I'd hate to show up to work one day and find an email from "HR/Recruitment Team" telling me I've been laid off. I can just see it now:

Subject: Thank you for your service at [Company Name]

Dear Troy Hoffman,

As you are aware, many companies have been forced to cut expenses due to the current economic situation. At [company name], we have been fortunate to have avoided workforce reduction.

However, due to a slowdown in sales, we have been faced with the difficult decision of how to reduce expenses. Regrettably, we have been forced to reduce our working staff. This decision was not made lightly and in no way reflects on the performance of those who will no longer be with us.

Since you have received this email, you have been one of those whose position has been eliminated. Please pack up your personal belongings and wait for security to escort you out of the building. Your final paycheck will be mailed to you. Regrettably, there will be no severance package.

Please accept our best wishes and thank your for your many years of dedicated service to our company. We sincerely hope you are able to support your family. Security at [Company Name] will, of course, be increased in the months ahead, so please do not visit without an appointment and approval.

Sincerely,

The [Name of the parent company] HR/Recruitment Team

-------------------------------
Powered by Taleo
www.taleo.com

Wednesday, April 8, 2009

Exploratory Testing

If you would have asked me about exploratory testing a year ago, I probably would have said, "What's that?" I had never heard of it.

It turns out, I've been doing exploratory testing for years. I just never heard it called that. That's one problem with figuring out most of SQA on my own. I never learned some of the lingo.

Exploratory testing is pretty much what the name implies it is. It's manually testing a product without following a formal plan, or deviating from the test plan you were following. Simply put, it's what I've always called "strategically poking it with a stick to see where it bleeds."

Although randomly clicking and typing is a form of exploratory testing, that should be left for the monkeys. If you want to perform good exploratory testing, you need to think more about where that stick should be poking the program. Look at the release notes to see what changed. If you can, read the source code to see the code that changed. If you've done development in the past, ask yourself, "If I were coding this, what would I mess up?"

The more you know about your target, the more likely you'll be poking at weak spots.

Tuesday, April 7, 2009

Time Flies When You're Out of Work

I can't believe it's been over a month since I last posted here. I've been pretty busy lately, and since nobody's really reading this thing yet, I haven't had much motivation to post. Looking for a job is hard work. I spend all day scouring the job boards, looking for local software companies that might have unadvertised positions, and looking in the papers. Then, when I finally do find something that looks good, it takes at least 1/2 hour, often more, to tweak my resume for the position and write the cover letter.

That being said, things are looking better. I had an interview yesterday that I think went well. I had a phone interview, and this was the in-person interview. When the manager said he was going to give me a test, then asked how I would test a phone. I was a bit surprised, since my resume shows that I've spent the last two years working with phones. Hopefully, it went as well as I thought. If not, I have another interview this week for another QA job. Two interviews in one week. I think it's a record.

On the subject, I've learned quite a bit about the job market and have a few tips.

Simplify Your Resume
Keep your resume short and simple. Two years ago, I had trimmed my resume down to two pages. The format I used worked great back then. These days, though, even two pages is too much. There's a lot more competition for jobs right now. SQA has been hit particularly hard since many companies think they can just have developers test their own code (that's a mistake, and probably could be a blog entry on its own). Hiring managers are looking at dozens of resumes. If it takes longer than a couple of minutes to read, it won't be read.

A person I used to work with is working for a fairly major software company now. They had a QA position open, so I sent her my two page resume. She gave me some tips to trim it down and make it much easier to read. Between her tips and some other tips I've picked up over the past couple of months, here's what I suggest.
  • Start off with your name and contact info at the top.
  • Add a short paragraph (2-3 sentences) summing yourself up in a "profile" section.
  • For each of your jobs, list no more than 6 bullet points.
  • If you have a long job history with lots of different jobs, don't list them all. List your last 2 or three jobs, going back up to 10 years or so. Then, have a final "job" called "Earlier Career Summary." If they want more details, it will come up in the interview.
  • Only list accomplishments in your job experience section. Do not list responsibilities.
  • After your jobs, have a small section listing your skills. Break them down into categories. For example:
QA: Exploratory and scripted, planning and developing automation, metrics
Networking: Packet capture and analysis, troubleshooting multiple OSI layers
Development: C, C++, C#, QTP, Java, HTML, XML
  • Use a decent sized font. 11-12 points should be good.
  • Make sure you have decent spacing between lines and sections. Keep it easy to read.
Remember, the point is to sell yourself to the company, so you want to emphasize what you've done in the past and what you can do to improve the company's bottom line.

That's not to say you shouldn't have a resume that lists all your skills. If you're posting your resume on a job board, you'll want the skills section to include everything you can do. In fact, if you've done a little bit of everything, having 1/2 a page or even a full page of lists of skills isn't bad in a resume you're posting on a job board. The reason is that recruiters and hiring managers often do a keyword search on the major job boards to find somebody who has specific experience. Listing everything in this resume will make it more likely to get picked up.

Customize Your Resumes Before Sending Them Out
I spend at least 30 minutes applying for a job. I look at the job description and requirements carefully, make sure I think I'm qualified for it, then customize a resume for that particular job. I'll remove accomplishments and skills that I don't think are important for that job and include the things I've done that are. In fact, even though I've sent out scores of resumes, no two have been exactly the same.

If a hiring manager sees a bunch of things on your resume that have nothing to do with the job you're applying for, they think you didn't read the description very carefully. With a job in SQA, attention to detail is important, so this would make a horrible first impression.

Write the Cover Letter from Scratch
Make sure you always include a cover letter. The only exception is when you have to use an application wizard online, and it doesn't let you add one.

Second, always start from scratch when writing the cover letter. It may take more time, but it will keep it from looking like a form letter.

Pay Attention to the Job Requirements
If the job says certification or a degree is required, make sure you acknowledge it. In your cover letter, bring attention to your degree. Mention the school. If you don't completely meet the requirements, but have experience that you think makes up for it, bring it up by saying something like, "Although I do not currently hold CSQA certification, I have 14 years of professional experience testing software." I've gotten interviews for jobs that require certification I didn't have because I was up-front about lacking it, but made up for it with experience. Again, this is an attention to detail. If you just apply without mentioning it, the person looking at your resume might think you weren't paying attention.

Track Your Applications
It's important to keep track of where you've applied. For one thing, if you've applied to Company X five times, and haven't gotten an interview once, when you see another position for Company X, you know you probably should either ignore it or, if you think you might have a chance the sixth time, you won't spend too much time on it and won't get your hopes up.

This is especially important if you deal with recruiters. When they call for a job opportunity and mention the company, you can check your list to see if you've already applied. If you have, let them know. Most of the time, they won't be able to represent you for the job, and you'll save everybody some time this way.

You don't need to do anything fancy. I just use a TXT file with a running list of where I've applied. I can then do a search for a company name and quickly see if it's a position I've already tried for.

Call Up Your Old Friends
Get on networking sites like Linked In. Look up your old friends and coworkers. Network, network, then network again. If you know somebody at a place you're applying to, let them know about the position. You might get some inside information about the job that could prove useful in an interview. More importantly, they might be able to hand deliver your resume to the hiring manager. It won't guarantee a job, but it could mean that your resume will at least be read.

Stay on Top of the Job Postings
Pay attention to multiple job boards. Don't forget places like Craigslist (but be careful of scams). Do a web search for software companies in major cities near you (or where you'd want to commute), then find their career pages and look for jobs that aren't posted anywhere else. When you do see a job, apply right away. The sooner you get your resume in, the more likely it will be seen. If you wait a day or two, the person reading the resumes will already have seen several and will be less likely to even look at your resume than if you were one of the first few in.

Don't Get Frustrated
If you are looking for a job, I wish you the best of luck. I know how frustrating it is to send out 20 resumes and not get a single phone call. I wish I had some of this advice two months ago; I probably would be working now. Since I've changed my resume format, I've been getting more phone calls and email responses. It's a tough job market, but there are still some jobs out there. You just have to be patient, professional, and quick.