testing

Rollback database after integration (Selenium) tests

Does anyone have any suggestions for a best practice or preferred way of rolling back database transactions made from an integration test framework such as Selenium? Here is our current situation: We have a .net web project with a number of unit tests which work fine in our unit test environment - each test inherits a parent class whic...

Clicking on several links part dynamically generated

Hi all, I'm new in Selenium and testing matters. I'm trying to capture the id of an hyperlink element that is dynamically part generated. The click action is recorded like as below when i make click on in selenium, the part in bold are dynamically generated, there are many of them on my page and can differ from one site to another(I'm t...

What are the basics someone should know for Testing and Debugging on OS X or Linux?

I have a few of our senior QA engineers in town for a few days and I am in the process of prepping them for testing an app that we are porting to Linux and OS X. These guys are smart. While they are not programmers they do understand things like how to open memory dumps to find the function pointer, and write simple python to help autom...

Blackberry - testing an application on the device?

Hi I have a blackberry application which I had been testing on my simulator. Now I want to test the application on a device before I jump into the signing. Is it possible to test the same cod files on both simulator and device without signing it? Thanks. ...

What browser settings do you test with?[Duplicate please close]

Do you test your applications under multiple browser settings? Do you use test tools that tell you why your site might be problematic? ...

Simple webserver or web testing framework

Need to testcase a complex webapp which does some interacting with a remote 3rd party cgi based webservices. Iam planing to implement some of the 3rd party services in a dummy webserver, so that i have full controll about the testcases. Looking for a simple python http webserver or framework to emulate the 3rd party interface. ...

Java Aptitude Test Tips

Hi, I'm applying for as a Java software engineer in a company in a couple of days. I really want to get hired in this company. Do you guys have any suggestions on what I should review or learn so that I'll be prepared? Also do you guys have any tips? Thanks in advance! ...

Testing Dynamic Pages using Google Website Optimizer

Assume I have a site which shows information regarding restaurants. All the urls are named as /restaurants/some-dynamic-restaurant-name/ eg.../restaurants/somename**1**/, /restaurants/somename**2**/ etc... How can I A/B test or Multivariate test using GWO, all the restaurant pages in one single experiment? Update: I have created a quest...

How to test random numbers?

i have written in matlab, a program, which is supossed to generate random numbers between 0 and 1. i have test it only with the runstest in matlab, and te result is that the sequence is random. i have seen the histograms too, and they have a beta distribution. i want to test this rng whith other test, such as diehard, ent, or nist, but i...

looking for a publicly accessable WebDAV sandbox

this: http://test.webdav.org/ seems to claim to be what I want but doesn't seem to work. ...

Unit testing tools for generating boundary conditions

Hi, i just wondered if there are any alternative tools out there like Pex for automatic generating boundary conditions for unit tests (should work with NUnit)? Personally i would prefer using Pex, but the license conditions from Microsoft Research Labs do not allow commercial use under Visuals Studio 2008 Professional (what does not mak...

A software testing book from an engineering perspective?

I'm looking for a book that includes methods of testing software from a software engineering perspective. Specifically, I'm looking for a book that includes black box testing techniques (such as how to test software against different input, etc.), but also includes information about test-driven development/design, unit testing, etc. Wh...

Gems slowing down Rails test startup, can I selectively disable these?

I have a terrible Rails test startup time. When running a single functional test that may take 2 seconds to run, the total time from execution to returning to the command line could be up to 10-15 seconds. There are two gems I know are definitely getting in the way. A Facebook and Flickr gem (Facebooker, Flickraw). Facebooker will al...

Printing Without Printers?

Hi, This is the situation I am facing. I have developed a web application that allows users to select existing PDF files to be batch printed on selected printers. However, in the UAT environment, we are not able to attach printers due to the risk to network security. I can arrange to install third-party software, but because of the...

Integration test framework?

I am looking for a test framework to cover our black box integration tests. We need something that is scriptable by non developers (aka not C# unit test type stuff). The initial scenarios I have in mind are: Restore known DB Run sql agent job (ETL) Execute validation sql scripts against output DB and Run msi install Check exista...

How to conduct performance tests on libraries written in different programming languages?

The problem is: Given a number of programming libraries with similar or equal scope (e.g. XML parser, regex, markup, ...); are there tools, with which one can run performance tests on these libraries and compare (and generate reports), even though the libraries may be written in different programming languages (such as java, C#, ruby, py...

Testing whole programs. best practices

I am currently developing a library and a set of programs using this library, in python. Unit testing dictates that I import each module from the library, and test the classes and routines within. No problem with that. I have a separate test directory containing all my tests and importing the library modules, which I run while developing...

Is there any ready to use module for test feedback for web applications ?

Hello. I want to implement test feedback in my web application in the following manner - when a user with testing privileges logs in, every page in the web app will open small feedback window and dock it to the corner. Testers can use this window to describe the issue, and eventually add attachments. On confirmation, the module saves th...

Unit Testing Training?

We have recently started a periodic DnrTv lunch and learn for my group. There is interest from the group to learn more about Unit Testing, but I have not been able to find any good video's on the subject. Specifically Unit Testing within Visual Studio 2008. Anyone have suggestions of video training (dnrTv, DimeCasts, etc) that might h...

Testing the performance of a C++ app

I'm trying to find a way to test how long it takes a block of C++ code to run. I'm using it to compare the code with different algorithms and under different languages, so ideally I would like a time in seconds / milliseconds. In Java I'm using something like this: long startTime = System.currentTimeMillis(); function(); long stopTime...