Archive for the ‘Automation’ Category

Extending Loadrunner Scripts with C – Function Library

So, I’m working at a new client, back doing the Loadrunner thing. One of the nice things about that is I get to re-use and refine code I’ve written previously for other clients. This article is going to contain some of these code snippets that I’ve used time and time again. I’ve re-visited this code […]

A failed web_find is not always an error

I’ve been working in Lithuania for the last 3 months. It’s cold over here. To keep warm (and paid), I’ve been writing some loadrunner scripts for a Scandinavian bank. One of them seeks to emulate a customer paying cash into their account. As you’d imagine, this is a high priority, high usage script so I’ve […]

First Steps with WATIR

Watir is an open-source ruby-based browser automation tool. I first looked at it 6 months ago but with a new loadrunner role to involve myself with, I didn’t get far. In any case, these are the steps I took to get started and to get things up and running. 1. Install Ruby from ruby-lang.org. I […]

Automated Testing Best Practices (Basic)

I wanted to prepare an article that specifies the very basic best practices for Automated Testing, whether its functional or non-functional. It seems to me that all the tools, whether open-source or commercial allow for these essential practices, presumably because this is the way we should all be doing it… some of us aren’t, you […]

First Steps with QTP part 2

Ok, in place of the planned article on QTP automation which I promise I will get to eventually, this post will be about interacting with files through QTP. Typically we’ll want to handle text files (for error logging and general message transmission) or Excel files. To begin with though, there are some standard declarations required. […]

Basic Approaches to Performance Testing

In which I shall attempt to state that there are 3 and only 3 approaches to performance testing… 1. The comparative method. We’ll assume you have an application called AUT v1.0, We’ll further assume you have a scenario built to test AUT v1.0 and to hit it sufficiently hard that it’s response times are less […]

First Steps with QTP part 3

I’ve recently been tasked with inserting data into an 20-year-old 16-bit application to give us a benchmark data set for an updated alternative. In standard investment banking terms, there are deals, to which orders are attached, and there are orders which can have multiple tickets. An API had been developed for inserting Orders and Tickets […]

Future Development

I’ve been crazy-busy working, and have neglected the site for a while. I’m still crazy-busy but work on the site is continuing although most of it seems to be behind the scenes at the moment. Currently I’m building a multi-form php application with a db to provide something to script against. Once that’s done I’ll […]

Emulating Reality taken too far

So I’m working at a client who use, alongside the usual mix of workstations, a hand-held device running on Windows CE. They have 800 of these across the business (though most seem to be sitting with the engineers being repaired, they’re not particularly robust, and don’t react well to percussive maintenance). To provide a little […]

First Steps with QTP

Matt: So I’ve got around 10 years experience with Loadrunner, am well-versed with Winrunner, can code in half a dozen languages and still I never got around to learning QTP. Well now I have no choice since we’re using it at my latest client site. The aim of this article is to provide guidance in […]

Powered by WordPress and ThemeMag