Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4618748
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:18:38+00:00 2026-05-22T02:18:38+00:00

I am wondering if there is any Unit testing framework for testing the Orbeon

  • 0

I am wondering if there is any Unit testing framework for testing the Orbeon Forms.
The unit testing that we are trying to attain are event check, enable-disable check, navigation checking, elements style checking etc…
I tried selenium IDE(using it as a Firefox plugin) as a POC. It had a ease in creating the test case.
But when I encountered repeated sections in my form, the id generated for each field was differing at times whenever we refresh the form. So had to drop the idea using selenium IDE.

I happen to see this YDT-cleint side unit test link in orbeon wiki. But was not able to get much of idea about the usage of this YDT, or how to integrate with orbeon.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:18:39+00:00Added an answer on May 22, 2026 at 2:18 am

    The unit tests for Orbeon Forms itself fall into 3 categories:

    1. JUnit-type tests, running on the server (e.g. a test for Liferay)
    2. XPL-based tests, running on the server (e.g. for XBL componnents)
    3. YUI Test-based tests, running on the browser (e.g. a test for the autocomplete)

    For applications/forms you write on Orbeon Forms, I would recommend you use Selenium. Since you need stable ids for Selenium, make sure to explicitly put an id attribute in your XForms on everything you’ll want to test on in Selenium. (If you don’t, as you’ve noticed, Orbeon Forms generates ids, which can easily change when you update your form.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering is there any tutorial out there that can teach you how
I am wondering if there is any difference in runtime between a generic container
I'm wondering if there are any recommendations, best practises or top-tips for integrating a
Is there any delivered feature in Java notifying a memory shortage in an application
Are there any best practices for returning large lists of orders to users? Let
Are there any reasons not to reuse an NServiceBus message ( IMessage ) in
I'm trying to develop a very simple app that displays like a slideshow of
I have a class which calculates a date and I'm wondering how best to
We are developing an application that has an iPhone client, and a Rails server.
I'm slowly making my way through the rails source, to get a better grip

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.