automated-tests

Is there a way I can run all my SoapUI test suites at once, if they are under different projects?

On my SoapUI Workspace, I have several Projects. Each one of these may contain one or more test suites, with several test cases It is quite time consuming to expand each project, then open up the test suite, run it, open up the next etc. I do this for testing locally, then for testing again a test box Is there a way I can run through...

Can you use the typeof operator in selenium?

I want to do this if (typeof(variable) == "undefined") {} does this work in selenium? ...

Organizing Selenium tests in Eclipse for batch execution

This is an organizational question - I have a set of "Java Projects" within the same workspace in Eclipse, comprising of a series of Selenium tests (pretty much each it's own Java Project). They are all within a same package. Now, in an effort towards automated execution, I need to batch execute these. Any ideas on how to better organiz...

Where can I find the FlexMonkium source code?

Does anyone know where I can get a hold of the FlexMonkium source code? I can checkout the FlexMonkey source but I cannot seem to locate the FlexMonkium source. ...

Firewatir: Error when installing Firewatir on Windows

I am trying to install Firewatir on my PC (its OS is Windows). I have installed the jssh and test it. It is properly installed. After that, I tried to install the firewatir gem. So I ran this command: gem install firewatir Then, I got this error: ERROR: While executing gem ... (RunTimeError) Error installing firewatir: ...

Designing an webtesting DSL to be implemented by different Web testing drivers - should we mix primitive and non-primitive operations?

We are implementing a web test automation project for some intranet applications. To easy the writing of each test, we are designing a Java DSL that can be implemented using different adapters (we've chosen Sahi and Selenium/WebDriver so far, as we want to measure them side by side in terms of performance, readability, maintainability,...

How to automatically test if offline mode is working in web application

I have mobile web application that has offline capabilities (via HTML5). I'm currently building automatic build & testing for it (ant, JsTestDriver etc.), until I hit a wall. How can I test if the web application has working offline mode? This is specially painful since if tested by hand; iPhone practically needs full reset between test...

How to find a node(or element) in XPath, when the path to that node is always different

So I'm trying to check the XPath of a block of text to verify that the correct page has been returned. However, for the several sites and designs I'm testing(with Selenium 2), the block of text I'm searching for is always the same, but the XPath to it is always different(the block of text has no defining ID or Class, so I need to check t...

Automation Tool: Which one is preferred to test a web application?

I have to test a web application which uses PHP, Javascript and AJAX. I want to automate the testing using automation tool. I am new at automation tool, but manual testing for the web is a big burden. I will use the tool for functional testing and hopefully, it also can help me for system testing. I have found some of automation tools ...

Strategy for Automated UI testing on remote virtual machines

I'm using TeamCity for my CI builds, and I'd like to set up a second build for running automated UI tests on Windows XP and Windows 7 virtual machines. I imagine the build working as follows: Compile, run unit tests, etc. Prepare MSI using WiX Copy MSI to target test machines Remotely execute MSI's Copy test harness code to remote m...

PHP Test Suite: Recommendation

I have been tasked with coming up with a testing strategy for our already existing PHP application. The application is running on a standard LAMP stack and is slated to be completely rebuilt starting in the next 2 to 3 months, so this is the perfect time to pick something and run with it. These are the types of testing we would like ...

Is there any testing tool to verify the font consistency throughout the web application?

The purpose is to check for any inconsistency fonts used across the web application so that the developers can fix the issue. Consistency in terms of all font properties (Font families,font sizes etc.) needs to be checked. As suggested by Pekka below, I can use CSS to define consistent font properties which can be used in all web pages ...

Integrate automated GWT GUI testing with build system

I am in flux for integrating an automated GUI testing with my build system. My GUI application is developed in GWT. I use HUDSON as my automated build system. I would like to perform sanity test of my application. As I understand, the entire test setup will have following steps. Build and deploy the application in predefined applicatio...

Strategy for naming swing components

In our Swing application, we are using an automated testing tool in QA (Qf-Test) that works better when the swing components are named. (calling Component.setName). Although their automatic name assignments work reasonably well, we are introducing SwingX components into the project and that is causing some issues for the tool. There are...

How can I define a ControlTemplate for my TabControl without breaking automated testing?

Summary In my WPF application, I needed a TabControl with buttons on the left, so I defined a ControlTemplate with the layout I wanted and it worked fine. However, my tester's automated testing tool can't see any of the content of the tabs, including the currently selected tab. Question: How can I keep my TabControl testable by the au...

Web Regression Test Tool with Screen Capture

I'm looking for a tool to test web sites that will follow a simple script e.g. URL www.example.com/SomePage FORMFIELD MyFormFieldID = "Some value" BUTTON-PUSH MyButtonID or CLICK-LINK MyLinkID WAIT 2 seconds and capture browser window images for comparison against a known-good master image set, e.g. a command like: SCREEN CAPTURE T...

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

Clean way to programatically control Safari on iPhone?

The title say's almost all. What I have is short lived server processes that serves a web-based javascript test suite with optionally accompanying back-ends for integration tests (see here for how it's done). I'm looking for a better way to direct the iPhone Emulator's Safari to the URL given. More, possibly optional background: Up unt...

What are the pros & cons of functional testing frameworks for a new grails application?

I've got analysis paralysis looking at all the different functional testing options for a new grails (v1.3.4) application. I've looked at WebDriver/Selenium (which I've used before) WebTest/Canoo Geb Tellurium Grails Functional Test and there must be others. I think some of the criteria that I would use to make a decision include (in...