Usetrace initial impressions

We’ve been using Usetrace to do real testing for about a week now. So far, so good. It’s uncovered a few actual bugs and some stuff with the website that’s just flaky or inconsistent. One problem we had was getting our own test files into the Usetrace virtual machine for uploading to the server being tested. The Usetrace people came up with the following solution: begin each session by downloading the test file using the web browser. It will the be available to upload in any subsequent steps.

To download the file in a way that works on multiple browsers, you need to create a Javascript step with the following code:

function (GLOBALS, callback) {

window.location = "/path/to/your/file";

callback(true); // <- To signal success and continue executing trace

}

The file needs to exist at the given path on the server being tested.

Advertisements