automated-testing

Does anybody know if JSystem can be used for testing Java applets?

Does anybody know if JSystem (open source code based on JUnit and ANT for automated tests) can be used for testing Java applets? All I need is Yes or No and if possible a link for reading about it. If you are familiar with another tool that can be used, please give me a name or a link to reading about it.Thanks. ...

Executing QTP automations from a .NET class, without starting an instance of QTP

Does anyone have experience building a .NET test execution harness that can execute the logic in existing QuickTest Professional VBScript automation scripts, but without starting an instance of QTP? We are in the process of transitioning to Visual Studio 2010 and the related test management tools, but we can't (justifiably) throw away o...

automated ui testing / X11 framebuffers / hardware acceleration

Hi fellow SOers i'm working on a automated UI testing environment, right now it works pretty decent. The basic idea is that i create a virtual framebuffer instance with: Xvfb :1 -screen 0 1024x768x24 -fbdir vfb_test/fbdir & then, to run an application inside it (say, xcalc) i would do export DISPLAY=localhost=1.0 xterm -e '/usr/X11/...

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

Selenium with BrowserMob.com

Hi All, I am working with Selenium in order to create load balancing tests on a web server. The website has a username/password and in order to work with this I have a csv file filled with username password combinations. The issue is I am using the random function in Javascript to select a row from the csv file and populate the login f...

Run White UI Tests using Hudson CI

I have Hudson CI installed on a linux vm and a slave on windows 7 vm. I have a project running on the slave and it has some unit tests using the Project White Automated UI testing framework. All of those tests involve launching the application first in order to perform tasks like clicking on a button. Problem Hudson builds the proje...

In maven, how can I execute a SQL if I detect the table structure is missing?

I'm modifying an existing maven2 project and I would like to create the database structure if I notice it is missing. I sort-of know how to do this in ant, I could query the database and if the table is missing I could execute the query. But, maven is a different thing. I found a SQL plugin to run the script, but I don't know where o...

declare window in selenium with browsermob

I am using browsermob and selenium for creating scripts to run on a site. I am trying to grab all of the elements on the page with a certain name. My problem is when I try to use window.document.getElementsByName("name"); browsermob says that window is not defined. How do you define window? ...

How does selenium.getEval() work?

I am trying to use selenium.getEval() to get all of the elements with a certain name. How do I do it? ...

How to use getEval() to verify the typeof of a variable in selenium

I want to do this in selenium: var variable = editors; if (typeof(variable) == "undefined") {}; but I am not entirely sure how to do it with the getEval() method. ...

Is there a way to store in a variable the text in a certain element in selenium?

I have a selenium script that I created with Selenium IDE. I was wondering if there is anyway to store the text that is in a certain element in a variable so that I can use that text later in the script? I am using selenium IDE to do it and then importing it into browsermob. For Example: I have this html: <div id=title> <h2>Websi...

What are the major industry standard Automated Testing Frameworks?

I'm working on establishing automated testing practices and test suites in an organization. A peer is telling me that we "should use a framework". To me, a framework is any set of code and/or other tool that helps you create something. My peer seems to be suggesting that there are industry standard automated testing frameworks. I'v...

Are there any good frameworks for automated testing of AWT GUIs?

Are there any good frameworks for automated testing of AWT GUIs? Integration with JUnit would be a plus. ...

How would you verify that a certain css element on a page is a certain image with selenium

I have a page that I want to check with selenium that uses a certain background image for one element. I want to ensure that this image still exists on the page connected to the element. How would I do this with selenium. If this changes anything I am using browsermob.com to do the testing once I get it running through selenium ide. ...

A firefox plugin for driving UI of web apps

Does anyone know of a firefox plugin that can be used to drive the UI of a Web app? ...

Web and Desktop controls.

How Web and Desktop controls are recognized by some automation tool? What are their identifiers? ...

Ideas for automating Android Monkey runs

Hi, I currently use the Android Monkey tool for stress testing Android system/packages. I find it to be useful. But so far everything has been manual testing (i.e. open emulator, execute adb shell monkey <...>, etc.). I'd like to "automate" this and have it triggered externally by a build server. My initial instinct is to just write a...

Inject Keystrokes

Is there a way to inject keystrokes into the JVM on the Android platform? I'm looking for something like java.awt.Robot but I don't think that's available on Android thanks ...