testing

Create screenshot of the page with Watin-like tool

I need to create a screenshot of the page by providing a page URL to the command line tool. I found the following application: Convert HTML To Image. This tool is OK but want a more flexible application. I need to have ability to perform the following: Go to the following page. Click button. Take a screenshot and save it. I want to c...

How can I run multiple versions of IE with different sesions...

I'm developing a web application that is targeted at IE and during testing would like to log in as a number of different users and test their interactions with each other. At present I have to log in and out to switch users; Opening another window just overrides the cookies/session. Is there any way to get IE to run completely seperate...

How do I submit a form given only the HTML source?

I would like to be able to submit a form in an HTML source (string). In other words I need at least the ability to generate POST parameters from a string containing HTML source of the form. This is needed in unit tests for a Django project. I would like a solution that possibly; Uses only standard Python library and Django. Allows para...

Why are usability evaluation methods so rarely employed?

There are many usability evaluation techniques that have been developed over the history of software development. But it seems to me that they are rarely used in practice. Why aren't usability evaluation tools and methods actually used much? Or are they used more than I've been led to believe? ...

Requirements or Testing?

If you had to do without one or the other in a software project, which would you pick? I've had plenty of projects in which the client or PM thought they could get away without one or the other. We always paid the price. ...

Microft Visual Studio Testing causing tests to fail

After using nunit for a long time, i've decided to test out Microsoft's built in testing framework. At the beginning of my tests, I generally clean the database to get it into a state i can rely on for testing. In my test setup, i delete all the data and insert fresh data for my tests. Since starting to use the MS tests, i've noticed m...

Best Test Case Management system?

What is your favorite test case management system? Is it free or commercial, hosted, etc? ...

How do I mock an IMAP server in Python, despite extreme laziness?

I'm curious to know if there is an easy way to mock an IMAP server (a la the imaplib module) in Python, without doing a lot of work. Is there a pre-existing solution? Ideally I could connect to the existing IMAP server, do a dump, and have the mock server run off the real mailbox/email structure. Some background into the laziness: I ha...

Should I be unit testing this class?

I know this maybe a very basic question but I'm having a bit of a mind blank at the moment. Should I be unit testing this class. public class MapinfoWindowHandle : IWin32Window { IntPtr handle; public MapinfoWindowHandle(IntPtr mapinfoHandle) { this.handle = mapinfoHandle; } ...

How do you test visual components?

I think I understand unit testing. But I was wondering: is there a way to automate something visual, like making sure anti-aliasing works or that the rounded corners on a web site look how they are supposed to? I have a feeling that it just isn't practical, but I have little experience in the QA world. ...

Are scenario tests groups of sequential unit tests?

I read the Wikipedia article on scenario testing, but I am sad to say it is very short. I am left wondering: are scenario tests a collection of sequential unit tests? Or, perhaps, like a single multi-step unit test? Do many frameworks support scenario tests, or are they covered by unit testing? If they have nothing to do with automat...

Tools for testing web services

I want to perform integration testing of my webservices before shipping them out and am wondering if anyone can point out some tools for performing these tests automatically? I have both ASMX webservices as well as a few WCF ones. I want to be able to add this as a task to my build scripts and execute automatically if possible. What a...

Best way to test command line tools?

I have a large collection of command line utilities that are we write ourselves and use frequently. At the moment testing them is very cumbersome and consequently we don't do as much testing as we aught to. I am wondering if anyone can suggest good techniques or tools for doing a good job of this kind of thing. Edit: to clarify this is...

Best Test Automation Tool

Currently I am working at a company that does all of its development work using VS2003, 2005, and 2008 and we have them integrated with Team Foundation Server. We do mostly Windows Apps and Websites. What is the best testing automation software that would work with our currently programs. ...

Load Testing Software

I am working on a proposal for my company into purchasing some load testing software. I have to give 2 choices. One of my choices I am proposing is HP(Mecurary) Loadrunner. Is there another program out there that is comparible with Loadrunner? We are looking at using the software to test the performance of the following. C# .NET Templa...

Good way to test email functionality.

Working on an app with notification via e-mail. I'd like to run test with out sending e-mails to production servers and clients. A couple years ago I remember someone bringing down our exchange server with a bad e-mail loop and would prefer to not repeat... Any suggestion for a dev setup? Currently think a simple SMTP server will d...

Best practices to test Asp.net MVC applications

Whats the best practice to test an Asp.net MVC application? ...

Mocking Database call Asp.net MVC application

How can I mock the database calls to make my application logic been tested without database? ...

what's the best way to aid your tester?

my company is small with only one full time tester, and mostly we're doing web apps. so i'm glad that we have tester as i think i would probably be bias or lazy when debugging my own code... and our tester is actually located in another country, so usually we communicate via IM or email only. usually i try to do as much white box testin...

How do you mock your repositories?

I've use Moq to mock my repositories. However, someone recently said that they prefer to create hard-coded test implementations of their repository interfaces. What are the pros and cons of each approach? Edit: clarified meaning of repository with link to Fowler. ...