James McCaffrey rss

  • Test Run: Custom Test Automation with Team System
    In this month's column Dr. James McCaffrey describes some of the ways you can use the Visual Studio 2005 Team System to manage custom software test automation.
    Dr. James McCaffrey - Launch 2008
  • Test Run: The Microsoft UI Automation Library
    James McCaffrey shows you how to get started with UI test automation using the new Microsoft UI Automation library.
    Dr. James McCaffrey - February 2008
  • Test Run: UI Automation with Windows PowerShell
    This installment of Test Run is a guide to using Windows PowerShell to perform ultra lightweight UI automation.
    Dr. James McCaffrey - December 2007
  • Test Run: Test automation with Windows XP Embedded
    This month's column explores how to create lightweight but powerful UI test automation for software systems that run on Windows XP Embedded.
    Dr. James McCaffrey and Mike Hall - October 2007
  • Test Run: Lightweight Testing with Windows PowerShell
    Dr. James McCaffrey - May 2007
  • Test Run: Testing Custom Transform Streams
    Dr. James McCaffrey - March 2007
  • Test Run: AJAX Test Automation
    This month James McCaffrey presents a technique that allows you to write lightweight test automation to verify the functionality of AJAX Web applications.
    Dr. James McCaffrey - February 2007
  • Test Run: String Permutations
    The ability to programmatically create and use string permutations is essential in software testing, as James McCaffrey explains.
    Dr. James McCaffrey - December 2006
  • Test Run: Using Excel For Test Data
    This month see how to use Excel for test automation storage, whether you’re just starting out with NET, or you’re an advanced programmer.
    Dr. James McCaffrey - November 2006
  • Test Run: Competitive Analysis Using MAGIQ.
    The goal of competitive analysis is to compare the overall quality of your software against similar systems. But it’s not easy. Here James McCaffrey accomplishes the goal with the help of a little MAGIQ.
    Dr. James McCaffrey and Nasa Koski - October 2006
  • Test Run: Randomness in Testing
    In this installment of Test Run, James McCaffrey discusses how you can generate random test case data.
    Dr. James McCaffrey - September 2006
  • Test Run: Five Ways to Emit Test Results as XML
    The use of XML files in software testing has steadily increased over the past few years. Test case data, test harness configuration information, and test result data are now stored as XML. Recently I was writing some .
    Dr. James McCaffrey - June 2006
  • Test Run: Stress Testing.
    Stress testing is a fundamental quality assurance activity that should be part of every significant software testing effort. The key idea behind stress testing is simple: instead of running manual or automated tests under normal conditions, you run your tests under conditions of reduced machine or system resources.
    Dr. James McCaffrey - May 2006
  • Mutant Power: Create A Simple Mutation Testing System With The .NET Framework
    With mutation testing, the system under test is changed to create a faulty version called a mutant. Here James McCaffrey explains how to do this in .NET.
    James McCaffrey - April 2006
  • Test Run: Determining .NET Assembly and Method References
    Before you can test any software system effectively, you must understand the system under test. If the system includes the Microsoft® . NET Framework, understanding the system under test includes understanding its assembly and method dependencies.
    James McCaffrey - March 2006
  • Test Run: Software Testing Paradoxes
    Paradoxes are fun. In this month's column I show you three interesting cases that can occur when you are performing software testing. They're fundamentally mathematical in nature, and they can be a useful addition to your troubleshooting arsenal.
    James McCaffrey - December 2005
  • Test Run: Low-Level Web App UI Test Automation
    As Web applications have become more complex, testing them has become more important. There are many testing techniques available to you. For example, in the April 2005 issue of MSDN®Magazine, I describe a simple JScript®-based system that can test a Web app through its UI by using the Internet Explorer Document Object Model.
    James McCaffrey - October 2005
  • Test Run: Low-Level UI Test Automation
    There are several ways to test a Windows®-based application through its user interface. For example, in the January 2005 issue of MSDN®Magazine (Test Run: Lightweight UI Test Automation with . NET) I described a lightweight technique for testing .
    James McCaffrey - September 2005
  • Test Run: Test Harness Design Patterns
    The Microsoft® . NET Framework provides you with many ways to write software test automation. But in conversations with my colleagues I discovered that most engineers tend to use only one or two of the many fundamental test harness design patterns available to them.
    James McCaffrey and James Newkirk - August 2005
  • Test Run: The Analytic Hierarchy Process
    Most software testing takes place at a relatively low level. Testing an application's individual methods for functional correctness is one example. However, some important testing must take place at a very high level—for example, determining if a current build is significantly better overall than a previous build.
    James McCaffrey - June 2005
  • Test Run: Lightweight UI Test Automation for ASP.NET Web Apps
    The release of ASP. NET revolutionized Web development and made it easy to create full-featured Web applications. Visual Studio® 2005 and ASP. NET 2. 0 will let you add even more functionality to your applications, but the more features a Web application has, the more important testing becomes.
    James McCaffrey - April 2005
  • Test Run: Automate Your ASP.NET Web Services Testing
    It's no exaggeration to say that Web services are revolutionizing application-to-application communication. Web services are already being used extensively in corporate intranet environments and are making their way into commercial use, too.
    James McCaffrey - March 2005
  • Test Run: Lightweight UI Test Automation with .NET
    Manual user interface testing is one of the most fundamental types of software testing and it's the kind of testing that most software engineers first experience. Paradoxically, automated user interface tests are probably the most technically challenging kind of test to write.
    James McCaffrey - January 2005
  • Test Run: API Test Automation in .NET
    The most fundamental type of software test automation is automated API testing. API testing essentially entails testing the individual methods that make up a software system rather than testing the overall system itself.
    James McCaffrey - November 2004
  • Test Run: Automate Testing of Your Stored Procs
    Many Windows®-based applications have a SQL Server™ back-end component that contains stored procedures. Although techniques to automatically test functions in the front-end code are well known, the techniques to write test automation for stored procedures are not.
    James McCaffrey - September 2004
  • Test Run: Test Automation for ASP.NET Web Apps with SSL
    If you're encrypting user data with Secure Sockets Layer (SSL) over HTTP and you want to test your Web applications programmatically you'll find that the techniques are not widely known. In this month's column I'll show you how to set up a test SSL server and write test automation that verifies the functionality of a simple but representative Web application.
    James McCaffrey - August 2004
  • Test Run: Using Combinations to Improve Your Software Test Case Generation
    James McCaffrey - July 2004
  • Testing: Perform Code Coverage Analysis with .NET to Ensure Thorough Application Testing
    When running your tests how do you know which parts of your product code are actually executed and tested? This article presents a complete system called Fundamental Function code coverage that operates at the method level. The author gives an overview of the system so you can understand code coverage principles, explains the key parts of the underlying code, and discusses how code coverage fits into the overall product development cycle. After reading this article you will be able to perform code coverage analysis on any .NET software system.
    James McCaffrey - April 2004
  • Encrypt It: Keep Your Data Secure with the New Advanced Encryption Standard
    The Advanced Encryption Standard (AES) is a National Institute of Standards and Technology specification for the encryption of electronic data. It is expected to become the accepted means of encrypting digital information, including financial, telecommunications, and government data. This article presents an overview of AES and explains the algorithms it uses. Included is a complete C# implementation and examples of encrypting .NET data. After reading this article you will be able to encrypt data using AES, test AES-based software, and use AES encryption in your systems.
    James McCaffrey - November 2003
  • Test: Build Quick and Easy UI Test Automation Suites with Visual Studio .NET
    The .NET Framework provides a surprising new way to quickly and easily create user interface test automation. By using objects in the System.Reflection and System.Threading namespaces, you can write automated tests in minutes instead of hours. This article walks you through the building of a typical Windows-based application that will be used as the test subject. The author then runs through the creation of a C#-based test tool that simulates clicking the test app's UI controls and checks the application's state. After the tool is built, the author explains in detail how it works so you can modify and extend it for your own use.
    James McCaffrey - January 2003
  • Test Run: Web UI Automation with Windows PowerShell
    Here we show you how to use Windows PowerShell to create quick and easy UI test automation for ASP.NET and classic ASP Web applications.
    Dr. James McCaffrey - March 2008
  • Test Run: Testing SQL Stored Procedures Using LINQ
    Language Integrated Query makes lots of things easier. Here we put LINQ, or more specifically the LINQ to SQL provider, to use testing SQL stored procedures.
    Dr. James McCaffrey - April 2008
  • Test Run: Request/Response Testing with Windows PowerShell
    Did you know you can use Windows PowerShell to perform lightweight request/response testing for an ASP.NET Web app? Here's how.
    Dr. James McCaffrey - May 2008
  • Test Run: Introduction to WCF Testing
    This month James McCaffrey builds a test harness for WCF applications that really puts them through the paces.
    Dr. James McCaffrey - July 2008
  • Test Run: Configuration Testing With Virtual Server, Part 1
    This time James McCaffrey sets up a virtual environment to use for configuration testing to introduce you to software configuration testing with Microsoft Virtual Server
    Dr. James McCaffrey - September 2008
  • Test Run: Group Determination In Software Testing
    There is a large body of research on group techniques to determine the best alternative from a set of options. Dr. James McCaffrey outlines five of them.
    Dr. James McCaffrey - November 2008
  • Test Run: Analyzing Project Exposure And Risk Using PERIL
    Here James McCaffrey uses some statistical methods and a technique he calls PERIL to estimate risks to software projects involving timing, costs, and other potential resource shortfalls.
    Dr. James McCaffrey - January 2009
  • Test Run: Configuration Testing With Virtual Server, Part 2
    Because Virtual Server is built upon a set of COM modules, you can automate the creation and testing of virtual machines. Here we use Windows PowerShell to run the tests.
    Dr. James McCaffrey and Paul Despe - December 2008
  • { End Bracket }: What Makes A Good Software Tester?
    In this month's installment, James McCaffrey talks about the qualities and skills he looks for when searching for great software testers.
    Dr. James McCaffrey - December 2008
  • Test Run: Automating UI Tests In WPF Applications
    This month we describe techniques for automating UI testing in Windows Presentation Foundation applications.
    James McCaffrey - March 2009
  • Test Run: .NET Module Testing with IronPython
    This month we demonstrate how easy it is to use IronPython to test .NET-based libraries.
    James McCaffrey - June 2009
  • Test Run: Request-Response Testing With F#
    This month we show you how to use F# to perform HTTP request-response testing for ASP.NET Web applications.
    James McCaffrey - July 2009