I have server with two quad core processors, installed windows 2003 standard edition.
I want to test an application on a machine with single quad core processor and I want to use this machine so how can I disable one of two processors?
I prefer a software solution but if the only solution is a hardware no problem.
...
Hi,
Anyone can give me Information about Quality Agent Test tool (QAT).
Regards
Manish
...
I want to define a custom locator with selenium, and I want it to use the existing xpath locator.
The code below does not work. How should I do it?
PageBot.prototype.locateElementByNg= function(text, inDocument) {
var xpath = doSomeManipulation(text);
return PageBot.prototype.locateElementByXpath(xpath, inDocument);
};
...
I'm currently in the process of beginning a migration from fixtures to factories and running into some test database challenges.
When I run my entire test suite the database is cleaned out and the new factory-generated data reloaded. However, when I run individual unit tests the database does not clean out the old values.
I could run ...
I'd like to know your thoughts about test/mocking frameworks that are widely used and have a good level of compatibility between Java and .NET. I mean, I want to learn those tools to use in a .NET project, but I still wanna be able to apply that knowledge in Java projects.
I know there're many questions about test/mocking frameworks to...
We recently had a web app that went out to site acceptance testing where they found severe performance problems related to request size (massive viewstate ASP.net).
We need to ammend our testing strategy to include performance testing, can anyone give us guidance on best practices please?
...
Any idea how to do performance and scalability testing if no clear performance requirements have been defined?
More information about my application.
The application has 3 components. One component can only run on Linux, the other two components are Java programs so they can run on Linux/Windows/Mac... The 3 components can be deployed ...
On projects with end-to-end tests that drive the GUI, it is awkward to run the tests on a developer workstation because the GUI automation driver interferes with the desktop. It moves the mouse, steals focus away from apps we want to use, and can start typing text into the wrong application if we switch to another app during a test run.
...
My HTMLUnit tests are failing, and I've got a feeling it's because I'm entering a password using the setValueAttribute() method and that for some reason doesn't work. Any ideas? Am I supposed to pass HTMLUnit the encrypted form of the password?
EDIT:
The code to set the pass:
loginForm.getInputByName("loginPassword").setValueAttribute...
where do i start on writing plugin test? I have written some toy plugins and would like to start on doing TDD with my plugins.
...
We have chosen to use rails to build a small project of ours. This is a really small project and will likely take six man-months or less. All people working on the project are new to Rails and have limited amount of experience in web coding.
Our software is supposed to give users an easy-to-use interface to browse vast quantities of mea...
I am currently doing a lot of regression testing at my job. And like I want to look at some of the best code in the world for regression testing (i.e. Open source). So basically list open source projects that you think show good examples of regression testing.
P.S True regression testing is black box by the way. However the examples so...
Recently I've came up with the question is it worth at all to spent development time to generate automatic unit test for web based projects? I mean it seems useless at some point because at some point those projects are oriented on interactions with users/clients, so you cannot anticipate the whole possible set of user action so you be a...
I remember that to set expectations on methods that return void in C# one has to write:
mockedRepository.Expect(() => mr.AddUser(someUser)).DoOtherStuff()
where AddUser returns void.
How to achieve the same in VB.NET?
EDIT:
I've found similar question. May be helpful: How to mock a method with Rhino Mocks in VB.NET .
...
I have found out that for java automation testing better approach would be to use Cruise Control(java), JUNIT (java testing framework) along with Watij. Any further suggestions please. Any one who has succesfully integrated these tools and what limitations are found for this.
regards
...
i want to test some "random" numbers in (0 1). i will test them with the diehard tests battery, but i dont know if it tests numbers in (0 1). so diehard test any kind of numbers, or it just test intergers?
...
How can i test webpage/app rendering for slow speed connection?
...
I am looking for tool for java web applications as well as testing other components in a project. Just found a tool jameleon. Want to know whether I can carry on with this for developing automated regression tests.
...
Is there any way of simulating limited or no 3G / Wifi / EDGE connectivity when using the iPhone simulator?
...
Do you have any advices how to test a multithreaded application?
I know, threading errors are very difficult to catch and they may occur at anytime - or not at all. Tests are difficult and the results are never for sure. Certainly it is best to carefully design and program the concurrent modules.
Nevertheless - I do not want to leave ou...