Dashboard > DDSteps Website > DDSteps > FAQ
  DDSteps Website Log In | Sign Up   View a printable version of the current page.  
  FAQ
Added by Björn Granvik, last edited by Adam Skogman on Dec 06, 2006  (view change)
Labels: 
(None)

General

What is DDSteps?

DDSteps is data driven testing with reusable steps.
The first part uses Excel file format as input and JavaBeans access to properties.
The latter part uses concepts like navigators, executors, validators etc, for instance JWebUnit which enables handling of a web site.
For setting up fixtures, populating database etc, it uses DbUnit.

See DDSteps - Data Driven Sanity for an introduction.

Is DDSteps open source?

Yes. It is licensend under LGPL - GNU Lesser General Public version 2.1 as published by the Free Software Foundation.
http://www.opensource.org/licenses/lgpl-license.php

Where can I see a test case example in DDSteps driving a web site?

You can find an example here in the DDSteps' cvs: http://cvs.sourceforge.net/viewcvs.py/ddsteps/ddsteps/
Check:

  • samples-petclinic-modified/ <-- Springs PetClinic web site, slightly modified to hold ids.
  • samples-petclinic-tests/ <-- The test cases running against the web site PetClinic.

Here's an article with an example (look for NavigateToAddPet.java)
DDSteps - Data Driven Sanity

Eclipse

I save a change in an Excel file. Why is that file not updated in Eclipse?

Eclipse doesn't update the Excel file, i.e. transfer it to your output folder, until you manually refresh.
Select the file or its folder and hit F5.

Spring

Ant

Excel file not found

Make sure you have your Excel files in your classpath when you run DDSteps using Ant. This can be done in two ways (at least):

  • Add your source folder to the classpath you use when running the JUnit task.
  • Copy all .xls files to your compiled classes or resources directory.

Do we have any function or any procedure with which i can store value returned from my Java function in the Excel file (The same that i am using for data driven JUNIT Tests)

Regards,
Rachit

Posted by Rachit Gupta at Aug 11, 2008 15:43 | Permalink
Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2 Build:#512 Apr 26, 2006) - Bug/feature request - Contact Administrators