automated-tests

Watir vs Selenium vs Sahi

Out of these 3, which have you or has your company chosen to work with? Pros & Cons please. I'll be comparing them myself as well, but I'd like to hear what others have to say. Also, please state which you have all tried (so that I know you have a good comparison of the 3). ...

What test scenarios are necessary and sufficient to exhaustively black box test a recurring appointment model?

I have a django model for an appointment in a calendar that I am attempting to write a very comprehensive test driver for. The recurring appointment occurs at some point in time and can either run on infinitely or recur for a fixed number of times. The appointment mirrors the functionality available for a Google Calendar appointment (...

Doh / dijit robot - no mouse actions happening

I wrote an automated test using dijit robot - but in order to be able to use relative paths within our web application, I created an OSGi service for our tests and put the test code in a velocity template. When I try to run the tests, nothing happens. If I use the same script in an html file and access it directly from windows explorer...

Can I access a DOM object with Selenium?

I am coming from a QuickTest Pro background where I can get to any element's DOM object with the .object method. I want to know what the equivalent is in Selenium RC. ...

How to automate build, deploy and test java web application?

For now I have a web java project which builds automatically and deployed to the JBoss by just copying ear archive to server dir (all using Ant). What I need is a mechanism how to no only automatically deploy application, but also to verify if application deployed successfully and run HttpUnit tests on it. The problem is how to autom...

WCF Web Service Testing with QTP

I want to automate testing of WCF Web Services(over TCP) using QTP's WebServices Add-In. However when I specify path of WSDL it gives me errors. Has anyone tried using QTP? or any other tool that I can use for testing? ...

Running Dijit robot tests in DOH runner

I am using dijit robotx and using doh.robot.initRobot(myAppUrl) within my test page to run tests against my actual app. I load this page up in DOH runner. It is working except after a really short amount of time, it gives me a timeout error. I ensured my timeouts for the tests were long, but it still happens. Is there some special timeou...

Watin - how to test site with popup pages

I'm using WatiN (Web Application Testing in .Net) to do integration testing on a Dynamics CRM 4.0 website. CRM uses a lot of popup windows - eg clicking on a Contact in a list opens a new browser window with the Contact's details. I want to test: login to CRM (done) go to the Contact list (done) click on an Contact, thus trigger the p...

Is there a .NET version of Concordion?

Apart from Fitnesse is there anything like concordion for .NET? Concordion is an open source framework for Java that lets you turn a plain English description of a requirement into an automated test David Peterson (the author of Concordion) has told me that there is no .net port of Concordion that he knows of. However he say...

Testing When Correctness is Poorly Defined?

I generally try to use unit tests for any code that has easily defined correct behavior given some reasonably small, well-defined set of inputs. This works quite well for catching bugs, and I do it all the time in my personal library of generic functions. However, a lot of the code I write is data mining code that basically looks for...

Can automated testing completely replace the need for manual testing?

There's no denying the benefits of automated testing. Automation increases test reliability and speed. With technologies like xUnit and Fit is it possible to forgo manual testing altogether? The one weakness of these frameworks seems to be the UI but there are free and commercial UI automation testing suites as well. Is manual testing ...

Is there a way I can tell a process before it starts up or after it starts up which IP address to use on Windows?

I can program in C# so if there are any .NET classes available to reassigning IP addresses or if there is a command line operation for changing the IP address of a given process, that is what I think I'm looking for. I'm doing some automated browser testing and I want to have requests coming to my site from different IP addresses. My we...

Custom Painted Controls

We need to automate GUI testing of an application developed in Win32 API. Developer's have created this application by custom painted controls. They have controls which look like Grid, Buttons etc., but they are not basic Windows controls. What is custom painted controls? and how we can test these controls? ...

Automated testing of Windows Forms

We're doing automated acceptance testing of our windows forms apps. We're using Fitnesse to have our business people write the tests, and then writing C# fixtures to carry out the tests. We're currently looking at both UI Automated (using project White) and just running the code itself. I'm curious as to what other people do for this ...

Running automated tests on TFS 2008

We have setup TFS to automatically build when we checkin, that works fine. Our problem is how do we get the unit tests to run on the server. How do we run tests on the build server? How do we automatically run SQL Scripts on the server to build the test database? Do we need to install Visual Studio on the Build Server? Do we need Visu...

Migrating / Upgrading NUnit to Team system

We are working on a C# windows application that is being upgraded from .Net 1.1 to 3.5. The application uses NUnit for automated testing and we are in turn changing this to Team System 2008. It seems to me that NUnit uses similar attributes and code for assertion? What is the best way to upgrade / migrate this code and are their any pr...

Automated tests: mocking vs creating test object graph ( using IoC container), what is better under what conditions?

How do you decide what to choose: use mock objects for a test OR create a test object/ object graph using an IoC framework and run test on that data ...

How do you send an Ethernet frame with a corrupt FCS?

I'm not sure if this is even possible since this might be handled in hardware, but I need to send some Ethernet frames with errors in them. I'd like to be able to create runts, jabber, misalignment, and bad FCS errors. I'm working in Python. ...

Which Silverlight MVVM Test Project Type?

When creating a test project for a Silverlight MVVM application, should I create a standard C# test project - aimed at the ViewModel, or a Silverlight Test project aimed at the view, or (gulp) both... ...

testing with selenium

I'm a complete selenium newbie. Where should I start if I want to learn how to use it? ...