testing

AutoIt for Java

I need to automate UI testing of a software that my module is plugged in. I do not have an access to code of the host so I need something like AutoIt. Since AutoIt does not work with Swing, is there any AutoIt like GUI automation tool for JAVA based applications? ...

what are the different testings like DST, Wanem......?

Hi, can anybody explain the what are the different testings like DST,Wanem. ...

How do I get the response returned from Rack in a Cucumber step?

I have a Cucumber step for my Rails application: Then /^I should be redirected to the sign in page$/ do assert_equal 302, @response.status end But that @response object is the one returned by my Controller, and it's the Rack middleware that sets the status to what I expect it to be. How can I get at the response as returned from th...

in-memory DBs evaluation

Hi guys, I am trying to increase the overall Integration test execution time and I am currently evaluating various in-memory db solutions. The idea is to have DAOs hit in-mem db during the tests as opposed to hitting a real DB. This is a java app using Hibernate for persistence. I'd be interested to see your experience with one of thes...

Why my Python test generator simply doesn't work?

This is a sample script to test the use of yield... am I doing it wrong? It always returns '1'... #!/usr/bin/python def testGen(): for a in [1,2,3,4,5,6,7,8,9,10]: yield a w = 0 while w < 10: print testGen().next() w += 1 ...

Can I set the DPI resolution of my Java Swing application without changing the systems' DPI setting?

I have a Java application using the Substance LookAndFeel with Windows as the the target platform and I want to increase the DPI setting of my application without changing the system setting. I want to do this because I don't want to force the user to restart Windows and because many Windows applications seem to have problems with very ...

Programming hire test - Test a developers knowledge in C# / ASP.NET

We're hiring a .NET developer soon, and I was assigned to create a test, which would take aprox: 1h to solve. A test which would test the programmers knowledge in (mainly) C# and ASP.NET. This is what i've come up with so far: Use project #1 to read data(HTML) from the specified URL and output all links(anchors) containing anchor name...

"Works on my machine" - How to fix non-reproducible bugs?

Very occasionally, despite all testing efforts, I get hit with a bug report from a customer that I simply can't reproduce in the office. (Apologies to Jeff for the 'borrowing' of the badge) I have a few "tools" that I can use to try and locate and fix these, but it always feels a bit like I'm knife-and-forking it:- Asking for more ...

How does I use ExpectedException in C++/CLI NUnit tests?

How do you do the equivalent of: [Test, ExpectedException( typeof(ArgumentOutOfRangeException) )] void Test_Something_That_Throws_Exception() { throw gcnew ArgumentOutOfRangeException("Some more detail"); } ...in C++ (the example there is C#)? As far as I can see, there's no typeof() function for the C++ implementation of NUnit. ...

Using Parallels to test Web applications in IE

I am developing a Web application in Pylons on the Mac. My development server serves pages to http://127.0.0.1:5000/. Is there any way that I can access this page from Parallels for testing with IE without having to set up a development environment in Windows? ...

How can I run Perl test cases in Eclipse using EPIC?

I am using eclipse EPIC (Perl plug-in) to run my Perl scripts. The scripts are running fine. but I want group my scripts and run together at a go. How can I do this? The scripts I am running are test cases. So basically it would be nice if I can take the results of each script and display them in table like fashion or write into a file ...

Flash Run-Time performance testing

Lee Brimelow got me thinking about my Flash Application CPU and Memory consumption in his blog. So I'm thinking if there is a good (non task manager) tool for performance testing? ...

What code don't you test?

Possible Duplicate: How deep are your unit tests? Ok, so it's common wisdom that it's impractical (and maybe not even preferable) to get 100% test coverage. In my experience, there's some code that's simply more trouble to test than it is practical to do so. I've kind of developed an intuition about this. But my team is sort ...

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...

Tools for regression testing / test automation of database centric java application?

I'm looking for a good, preferably free tool for automating tests of a java (EJB3) application without any kind of GUI. Tool should be capable of at least: Inserting / updating / deleting data on database Querying and comparing data on database Reading and writing to FTP server Initializing test environment, launching EJB3 bean, clean...

How can I mock out a service using local data in Flex 3?

I am writing a small flex application that will, eventually, call PHP services to perform its work. In the meantime, however, I would like to have it use local data in XML form to allow me to develop the Flex part independently of the data service. What is the best way to do this? I want to emulate a service like this: public class S...

testNG tests extending BaseTest

Hello, We noticed that when testNG test cases extend TestCase (JUnit) those tests start executing as Junit tests. Also, I should probably mention, the tests are run through Maven. Is this a bug or a feature? Is it possible to override this behavior and still run those types of tests as TestNG tests? Do you know a link where TestNG talk...

Looking for testing/QA idea for Python Web Application Project

Hi, all, I have the 'luck' of develop and enhance a legacy python web application for almost 2 years. The major contribution I consider I made is the introduction of the use of unit test, nosestest, pychecker and CI server. Yes, that's right, there are still project out there that has no single unit test (To be fair, it has a few doctes...

Performance testing scenarios required

What can be the various performance testing scenarios to be considered for a website with huge traffic? Is there any way to identify the elements of the code which are adversely affecting the site performance? Please provide something similar to checklist of generalised scenarios to be tested to ensure proper performance testing. ...

Which testing-framework for Javascript supports Testing without a browser?

For Javascript some testing-frameworks exist, like JSUnit or js-test-driver. They are fine, but they run the tests in a browser. That's fine, especially to verify your webapp is running in different browsers. But on out continuous-integration-server no window-system (and no browser) is installed. So is there a way to run the tests withou...