automated-tests

Test IDs for Test Automation in HTML Markup?

We use automated tests to verify functionality of our web application. In order to make assertions in test cases less complicated and more flexible, we are considering the introduction of 'TestIDs', i.e. IDs in the HTML markup that help testcases find and verify elements on the page. Additionally, these TestIDs would allow more specific ...

Looking for way to automate testing kshell app

I inherited a shell-script application that is a combination of kshell scripts, awk, and java programs. I have written JUnit tests for the java pieces. Is there a good way to do something similar for the kshell scripts and awk programs? I have considered using JUnit and System.exec() to call the scripts, but it seems like there shou...

Essential Ruby gems?

We're starting to standardise on a Ruby-based testing framework, having had some very good results out of RSpec and Cucumber-based testing recently. As this is a large enterprise, we're going to attempt to put together a "standard" set of Ruby gems for testing, knowing we're only ever going to get it ~90% right because of the broad mix ...

Using automated unit test for black box integration test, how bad is that and what is better?

I have an API that can be implemented by various vendors. I can send and receive data and get different return codes with the API. What I want to do is be able to test the API and in an automated fashion and keep everything as clean as possible. Not really doing unit testing. This would be for use in a testing/QA setting. What I have d...

Automatically print/save NUnit XML output

I've setup some Nunit tests for validating my statistical formulas within my .net v2 application, for company records i need to have a printed copy of this output. Is anyone aware of any commands in NUnit to automatically print the XML to default printer? If printing isn't possible saving to a folder may work for us. thanks in advance...

How to automate installer testing

I'm wondering if anyone has any best practices for automating the testing of installers on various machines with potentially different hardware / software profiles and by specifying various options to the installer. The idea would be that I could write "unit test like" code to set up a machine, run the installer, then test that certain ...

Wanted: an example of Application Built/Test Server visualization

Currently we have assorted development build/test boxes. The target Application is mainly written in Python/gcc, uses postgres and has 2 identical USB devices attached. The principal build OSes are RHEL, FreeBSD & XP on i686. The App needs to be regularly built and tested on a couple of releases of each OS. (Maybe the next step would b...

Automatically generating tests by recording and replaying how methods are called

Here is a program that I think should exist: When an application is running, it automatically records all calls to all methods. It then creates a test based on each call. (Such a test might be called a unit test, but I'm not doing so here because there is an issue of capturing state.) For a typical app, this program would generates th...

QTP / Dynamic Great Plains automation

I have recently completed a detailed investigation regarding GP functional test automation possibilities with QTP, TestComplete, and other GUI recognition/interaction tools. In short, none of the tools acted well. Mentioned above did best but still featured a lot of hard-coding in recorded sample scripts. QTP did significantly better tho...

Running test on Production Code/Server

I'm relatively inexperienced when it comes to Unit Testing/Automated Testing, so pardon the question if it doesn't make any sense. The current code base I'm working on is so tightly coupled that I'll need to refactor most of the code before ever being able to run unit tests on it, so I read some posts and discovered Selenium, which I th...

Automate CentOS installation with VMware for testing

Is is possible to automate the installation of an OS using VMware or any other virtualization product? One of our products consists of a customized version of CentOS that installs the OS and our application on a server. It's much like any CentOS/RHEL installation where you choose a mode that corresponds to different kickstart options, ...

FREE tool to play back keystrokes and mouse clicks?

Every time I test my program, I have to go through a bunch of the same keystrokes and mouse clicks. I am looking for a tool to automate this like a Macro recorder. The tool needs to save the clicks and keystrokes one time. Then every time my program runs, I hit a keyboard shortcut and it does its work. I see a lot of such shareware tool...

How do you test programs that require complex input data?

We have a suite of converters that take complex data and transform it. Mostly the input is EDI and the output XML, or vice-versa, although there are other formats. There are many inter-dependencies in the data. What methods or software are available that can generate complex input data like this? Right now we use two methods: (1) a sui...

Test complete tool and vb scripts

Hi, I had just started the work on some automated testing tools namely test complete which i would be using alomng with test partner.So i had also started learning vbscripts for this.I just want to know if anyone could provide me any link so that i could learn this tool as well as vbscripting more effectively. Thanks Maddy ...

Command line automation in C#/.NET -- expect equivalent.

There is a command line tool for which we need to write automated tests. Our test framework is written in C# and I was looking for .NET libraries which would let me do the automation (I know I can use the Process class; redirect the IO; do the validation, but I don't want to reinvent the wheel if possible). Ideally I'm looking for someth...

How can I automatically validate that I have an HTML Id on every element?

The testers on my project want a unique HTML ID on every page element to make their automated testing easier. It's hard for me to remember to do this, because I don't need the IDs for development. How can I ensure that I don't forget? I thought maybe something like Checkstyle could tell me, or even the "inspections" in IntelliJ - but ...

Integrating Automated Web Testing Into Build Process

I'm looking for suggestions to improve the process of automating functional testing of a website. Here's what I've tried in the past. I used to have a test project using WATIN. You effectively write what look like "unit tests" and use WATIN to automate a browser to click around your site etc. Of course, you need a site to be running. S...

Adding ids to HTML tags for QA automation

I have a query In our application we have lots of HTML tags. During development many tags were not given any id because of no requirement.Now the QA team wants to automate the test cases using QTP. In most of the cases this tool doesn't recognizes because it does not find ids for most of the HTML tags.Now we are asked to add ids to all t...

Auto-Starting Selenium RC on Windows XP

Greetings, I have completed developing a suite of tests using Selenium RC and Java and I'm trying to integrate them with the build system so I can run the tests overnight. The process runs like this: Cruisecontrol does a full build A cron job on the Cruisecontrol server installs the build on a specific test cluster. When the build in...

Is unit testing a bad idea during beta/prototyping?

A new project we began introduced a lot of new technologies we weren't so familiar with, and an architecture that we don't have a lot of practice in. In other words, the interfaces and interactions between service classes etc of what we're building are fairly volatile, even more so due to internal and customer feedback. Though I've alway...