automated-tests

CI Servers for system simulation

My group work for a software of simulation for plane. To achieve a faster and easier validation and verification, we decided to introduce continuous integration. But I have no idea which CI servers should we choose. Our contraintes: - We need to compile in different machine with different platform( Linux, HP ) in local net and in cl...

Automating Integration Tests: Use xUnit?

I'm looking into how best to automate integration tests (by which I mean complete use cases entirely within our application) The questions Correct Approach for Unit Testing Complex Interactions What are the pros and cons of automated Unit Tests vs automated Integration tests? cover the "why" and "what" aspects very well. The questi...

Automated Testing Approach

Hi, We write a lot of integration tests that work quite well for us, we did attempt to introduce unit testing but found it more difficult to introduce as it took longer and the benefits were not that apparent. We still have testers manually going through test scripts. We still have a long way to go to automate our testing process and w...

Rake Test is failing

Snow Leopard, Test, Shoulda, Cucumber I am running rake test and getting this error: Any ideas? /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- RMagick (MissingSourceFile) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/...

Selenium: Not able to understand xPath

I have some HTML like this: <h4 class="box_header clearfix"> <span> <a rel="dialog" href="http://www.google.com/?q=word"&gt;Search&lt;/a&gt; </span> <small> <span> <a rel="dialog" href="http://www.google.com/?q=word"&gt;Search&lt;/a&gt; </span> </h4> I am trying to get the href here in Java using Selenium. I have tried the following: ...

Is there any error checking web app cralwers out there?

Wondering if there was some sort of crawler we could use to test and re-test everything when changes are made to the web app so we know some new change didn't error out any existing pages. Or maybe a web browser with a million frames so I could scroll down and look through the tiles to find any error pages... you get the idea. ...

"VerifyTextPresent" returning incorrect result for Selenium IDE.

I am using Selenium IDE to record some scenarios and wanted to check if a particular text is present on the page. I inserted a command "VerifyTextPresent". However, it always returns the result as true even when the particular text is not present. What can be the probable reason? Do I need to modify anything? ...

Watin: Search in children of an element

I want to do a "two step" search using Watin. For example I would like to search for a ul-tag having class "abc". Then I would like to search for a certain li-tag inside that element. The code might look like this: ie.ElementWithTag("ul", Find.ByClass("abc")).ElementsWithTag("li", Find.ByXYZ()); But Element does not have an ElementWit...

How can I create an automated test for valid WIndows installer certificates?

We have a situation where for some reason the certificates on our Windows Installers for our product tends to get broken or go bad. Never mind why, the key is that it is not currently detected by our nightly test runs. So how can that be done? I.e., an automatic test that runs a Windows installer and checks if it pops up a UAC or bad...

field Id's in SAP Netweaver webdynpro components

Is there a way to extract the field id's of SAP's webdynpro components ? I need them to set up a stable automatic testing environment. ...

Best practice approach for automated testing

Hi All, This is a very strange request for advice for which I truly feel there is no real answer. In my project I have archiving routines on various objects that have been consumed for logical calculations, I archive these items for the sake of audit trail and to check up on calculation errors or prove correctiveness at a later stage. I...

Integration Testing for a Web App

I want to make a full integration testing for a web application. I want to test many things like AJAX, positioning and presence of certain phrases and HTML elements using several browsers. I'm seeking a tool to do such automated testing. On the other hand; this is my first time with integration testing, is there any specific recommendat...

How do you test an Android application across multiple Activities?

We are building a complex Android application consisting of many screens and workflows spread across many Activities. Our workflows are similar to what you might see on a Bank's ATM machine, for example, there is an Activity to login in that transitions to a main menu Activity which can transition to other activities based on the user's ...

What approach should I use to test a VBScript?

I've been asked to help out with a project which has made extensive use of VBScript to process a whole bunch of text files and generate certain outputs - sanitized files, SQL entries etc.. The script is going to be scheduled to run as a Scheduled Task with operation based on the parameters passed to the script. There's no user interfac...

Dynamically building a URL in QTP

Hi, I've been taking a quick look at QTP with one of our test team. We've figured out some basics like recording a test, capturing text using output values, putting in check points, etc. However, I can't figure out how to do the following... We have a web form which a user fills in and submits. This will create an item and assign it...

Click a javascript url using Powershell Internet Explorer automation

Given the following html: <HTML> <BODY> <DIV id="admin" onmouseover="javascript:showLayer('admin');" onmouseout="javascript:hideLayer('admin');" name="admin"> <TABLE > <TBODY> <TR> <TD class="popup" > <A href="javascript:doTab(3, 'muskrat.htm','docrat.htm')">User Admin</A> </TD></TR></TBODY></TABLE></DIV></BODY></HTML> How wou...

Full-screen Flash application test needs external pokes

I'm testing a full-screen Flash application. My preference is to drive the process with Java and I've had a lot of luck with the java.awt.Robot class. I'm looking for ways of modifying the test's behavior while the app still occupies the full screen. So far, I've found one "outside control", the caps lock key. If I see the process go...

Automated spider test

Hi all. I'm looking to add a very simple layer of automated integration testing to our current Continuous Integration setup. (CI currently only checks for build breaks). Is there a product that will: From a base URL, spider a site & report back any 404/500 error codes? Allow me to add a step to logon, to be able to spider the authori...

Running automated Web browser tests under Hudson

I'm running Hudson for my automated builds and love it. I'd now like to create automated Web browser tests using either WaTiN (preferred) or Selenium. As my Hudson runs as a Windows service (under Tomcat), how can I configure this to run? Will I be forced to log in as a user on the Hudson box so my automated browser tests will find a ...

How do I setup FitNesse for use with .NET?

I'm trying to get started with FitNesse for .NET on Windows Vista. In all tutorials I find on the web I'm told to execute the run.bat file, but all i get when downloading the latest release is a .jar-file. When i run this, the filestructure is unpacked and I can reach the fitnesse server by browsing to http://localhost. Now, when I'm try...