automated-tests

Testing Suites for .Net / WPF based Applications

I am interested in automating some application / system level tests on an existing product range. Our product range consists of several distinct applications, written in .Net 3.5 and using WPF for the presentation layer. Ultimately, I am interested in finding an application testing suite that is capable of executing scenarios and report...

Parsing Xhtml strict documents with RestFixture

Hello, I have an xpath like //xhtml:title[text()='Page Title'] and am getting an error from RestFixture that reads java.lang.IllegalArgumentException: Cannot extract xpath '//xhtml:title[text='Page Title']' from the document When I remove the from the document and the xhtml namespace from the xpath string it works fine. When I do...

How do I generate test data for heterogeneous environments?

I am facing a new task in my job and I need to find out how to generate and administer test data. Googling led to a lot of information about specific test data generation like filling a database with random data or camouflaged production data, generating files, generating test data with multi-objective genetic algorithms to minimize test...

browser cache emulation in jmeter?

Running some user-load tests with jmeter, and noticed that for each page load after the first load, the load sizes are similar. This leads me to believe that jmeter's simulation does not use browser cache emulation (e.g. the caching of css and javascript). Anyone know of a method for emulating browser cache in jmeter? ...

Creating a test case for a buffer overflow error (C/c++)

Hello, How do you create a unit test case in c for a buffer overflow that does not cause a memory error such as a segfault? I.e. Given a simple buffer overflow, such as int function () { int exampleArray[10]; exampleArray[10] = 5; return 0; } How do you create a unit test for this code? There is clearly an error, we are ...

How can I run Django project-level tests?

This seems like a no-brainer, and I'm hesitant to admit that I've spent about two hours trying to find the answer, but I can't figure out how to run project-level tests for a django project. Just to be clear, running tests for the apps in the project is no problem. I understand './manage.py test', but it doesn't find the project-level ...

Test that each page doesn't exceed allowed SQL count in Symfony?

I wish I could have an isSQLCountLessThan() function or something. $browser = new sfTestFunctional(new sfBrowser()); $browser ->get('/some/page') ->with('response')->begin() ->isStatusCode(200) // ... ->isSQLCountLessThan(20) // imagine how cool :) ->end(); Is there a way to have such? ...

How to interface with an executable in C++

Hello, I have an executable that I need to run some tests on in C++ - and the testing is going to take place on all of Windows, Linux and Mac OSes. I was hoping for input on: How would I interface with the previously built executable from my code? Is there some kind of command functionality that I can use? Also, since I think the c...

Automating compatibility testing against many programs

Short version: What's the best way to automate compatibility testing against a large number of third-party programs? The details: I develop a program whose core feature is interacting with a variety of different pieces of music player software via their respective RPC interfaces. The RPC itself typically happens either via D-Bus or vi...

How can I test context menu functionality in a web app?

I'm playing with a grails app that has a contextmenu (on right-click). The context menu is built using Chris Domigan's jquery contextmenu plugin. While the contextmenus do actually work, I want to have automated tests, and I can't work out how to do it. I've tried Selenium 2.05a (ie. Webdriver), but there's no rightClick method. I not...

If I start anew, should I start with Watir-WebDriver?

My team has an automation solution that uses watir. In fact, we have 2 versions of it, one for one release of our software and another for another release. I find that changing versions of watir used it not easy, so I want to select the right version for my new project (building an exploratory framework like Jim Knowlton talks about on W...

CruiseControl.NET - Project Does Not Exist

I have CruiseControl.NET setup on a server. I had everything working perfectly. Everything meaning, pull the code from SVN, build it, upon successful build, kick off a project setup with a project trigger to deploy the code to the DEV environment. I added some internal security settings, mainly just groups of users. I'm using LDAP securi...

What is the best way to wait until a frame is loaded in QTP?

In Web addin QTP provides Sync function for Browser and Page objects in order to wait until the correposponding navigation is complete. Although, there is no such a function for a Frame. What is the best way to wait until the frame content is loaded? ...

How should I test private methods in java?

Possible Duplicate: Whats the best way of unit testing private methods? I am a beginner programmer, and I don't know how to write an application that will be well structured for unit testing. I want to write applications with the ability to afterwards add effective unit tests. The problem is with private methods - they can't ...

How do I overwrite the URL in an IE address bar using RFT?

I need to execute the following steps: 1. Start an IE browser window and open a URL (Done using StartBrowser(final string URL) 2. Start a session (done by logging in) 3. Now, I want to enter a different URL in the same browser window which has the same session. My question is related to Step 3. How can I overwrite the URL in the existin...

Rational Functional Tester - How can I get scripts called from a parent script to use the parent's data pool?

I'm fairly new to Rational Functional Tester (Java) but I have one large blank. I have an application that is in an agile development environment so some of the screens can flux as new interfaces are brought online. For this reason I'm trying to modularize my test scripts. For example: I would like to have a login script, a search ...

Selenium, automated frontend testing on different OS

My complete working environment is Linux based (Ubuntu for desktop and server). I use Hudson and Selenium to execute tests on my EE6/ZK web application with any browser available for Ubuntu. But how would I test my application with IE (Windows) without setting up a Selenium server in Windows. Thought I could run Windows in a VMWare or V...

Language to learn to move out of manual testing towards automated/programming

I have been working as a manual tester and documentation (Test plans etc.) personnel in a company's software/IT division. I do not have a big programming background but I want learn programming language(s) and tool(s). Hence, I am looking for automated testing tools and programming language(s) to learn which also give me industrial advan...

how to run MStest as Admin using a batch file

Dear All, I'm trying to run some automated test using a batch file. I have written all these test cases in VSTS 2008. When I run these test cases using VS IDE, it ran succesfully. But once I try to run my test case using a batch file, it throws error "System.ComponentModel.Win32Exception: The requested operation requires elevation." As...

Find specific button with Ruby's WIN32API

I'm working on some scripted GUI test for a windows C# .net app. I'm using Ruby to drive the testing and my feet are officially wet in the realms of WIN32API - but I'm certainly not over-confident with it. As a mater of fact, I feel like I'm missing some fundamental understanding. At this point, the only way I know how to gain access ...