TestComplete Simple CSV Reader (C# script)

Automation is finally heating up at work and its tough to do any automation without reading your test definition files. I wrote mine in TestComplete’s C# scripting. This is a very simple script but why go re-write something if you have a solid base to start from? See the source or download the script file below. Continue reading

Posted in Automation, C#, Code Sample, Test Complete | Leave a comment

Installshield and Updating Text Files

Recently I have been asked to help with the Installation and Build Scripts at my work. My company has no formal release engineer and all of QA (including the Supervisor) share in the burden of maintaining the installation packages. My problem was that our installations consisted mainly of 2 screens, Welcome and Finish. Yep, we just used the installations to drop the files down and then documented how to manually configure everything. This was painful in alot of ways and ultimately costs the company alot of money in maintenance and support calls. So, recently I have been delving into Installshield to take most of the manual configurations out of our installations.

One thing we needed was a way to set the proper path for our log files. 64 Bit Operating systems store 32 Bit applications in a Program Files (x86) folder and asking a customer to manually adjust this was embarassing.

Below is a very simple way to update a config/text file for this situation. But, it can be tailored to update other values very simply.

Continue reading

Posted in Installshield | Leave a comment

SQA Interview Question

Problem: Imagine you are given a white cube that consists of 125 equally sized pieces. Just before it is given to you, however, the exterior is painted black. How many pieces are black on exactly 2 sides?
Continue reading

Posted in Interview Questions | Leave a comment