test framework for XForms

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

test framework for XForms

Pepijn Noltes
Hi All,
 
I like to develop XForms under orbeon in a test driven development way. I know there is now a test framework for XPL, but is there also something for XForms?
 
If not could I use javascript intregration (Xforms reference chapter 11) to submit a XForms page ?
(If I can submit and setvalue using javascript I should be able te develop a test framework)
 
Thanks in advance,
 Pepijn


--
The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: test framework for XForms

Alessandro  Vernet
Administrator
Hi Pepijn,

We don't have a test framework for client-side XForms, or client-side
JavaScript in general. This is something we would like to in the
future, so let us know if you have any suggestion, any library out
there that you have successfully used, or any code you can contribute
to the project.

Alex

On 2/27/06, Pepijn Noltes <[hidden email]> wrote:

>
>
> Hi All,
>
> I like to develop XForms under orbeon in a test driven development way. I
> know there is now a test framework for XPL, but is there also something for
> XForms?
>
> If not could I use javascript intregration (Xforms reference chapter 11) to
> submit a XForms page ?
> (If I can submit and setvalue using javascript I should be able te develop a
> test framework)
>
> Thanks in advance,
>  Pepijn
>
>
> ________________________________
>  --
>  The information contained in this communication and any attachments is
> confidential and may be privileged, and is for the sole use of the intended
> recipient(s). Any unauthorized review, use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by replying to this message and destroy all copies of this
> message and any attachments. ASML is neither liable for the proper and
> complete transmission of the information contained in this communication,
> nor for any delay in its receipt.
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: test framework for XForms

olaf.schroeder
Good Morning All,

I wanted to hook in here because I am looking for a testing framework myself.

In the past I have tested JSP's with Cargo/Canoo - but we don't have JSP's here and I am not sure if Cargo/Canoo do work or not (haven't had time to try it).

With interest I am also monitoring the progress on the 1040 project.

So here is my question: How can I test an Orbeon application?
I would like to fill XForm fields in a scripted fashion, execute a submission, retrieve the server's response and parse the received html for expected field values.

How do you test your Orbeon applications?

Thank you,
Olaf





>Hi Pepijn,
>
>We don't have a test framework for client-side XForms, or client-side
>JavaScript in general. This is something we would like to in the
>future, so let us know if you have any suggestion, any library out
>there that you have successfully used, or any code you can contribute
>to the project.
>
>Alex
>
>On 2/27/06, Pepijn Noltes <pepijn.noltes@xxxxxxxx> wrote:
>>
>>
>> Hi All,
>>
>> I like to develop XForms under orbeon in a test driven development way. I
>> know there is now a test framework for XPL, but is there also something for
>> XForms?
>>
>> If not could I use javascript intregration (Xforms reference chapter 11) to
>> submit a XForms page ?
>> (If I can submit and setvalue using javascript I should be able te develop a
>> test framework)
>>
>> Thanks in advance,
>> Pepijn


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: test framework for XForms

Daniel E. Renfer
If you guys are using Firefox, you might want to check out the
Selenium Recorder[1] extension. I've only used it a very little bit,
but you might want to check it out if you're looking for a way to
emulate user interaction.

I know this isn't quite what you're looking for, but it may help you a
little bit.

Daniel E. Renfer (http://kronkltd.net/)

[1]: https://addons.mozilla.org/extensions/moreinfo.php?id=1157

On 3/2/06, [hidden email] <[hidden email]> wrote:

> Good Morning All,
>
> I wanted to hook in here because I am looking for a testing framework myself.
>
> In the past I have tested JSP's with Cargo/Canoo - but we don't have JSP's here and I am not sure if Cargo/Canoo do work or not (haven't had time to try it).
>
> With interest I am also monitoring the progress on the 1040 project.
>
> So here is my question: How can I test an Orbeon application?
> I would like to fill XForm fields in a scripted fashion, execute a submission, retrieve the server's response and parse the received html for expected field values.
>
> How do you test your Orbeon applications?
>
> Thank you,
> Olaf
>
>
>
>
>
> >Hi Pepijn,
> >
> >We don't have a test framework for client-side XForms, or client-side
> >JavaScript in general. This is something we would like to in the
> >future, so let us know if you have any suggestion, any library out
> >there that you have successfully used, or any code you can contribute
> >to the project.
> >
> >Alex
> >
> >On 2/27/06, Pepijn Noltes <pepijn.noltes@xxxxxxxx> wrote:
> >>
> >>
> >> Hi All,
> >>
> >> I like to develop XForms under orbeon in a test driven development way. I
> >> know there is now a test framework for XPL, but is there also something for
> >> XForms?
> >>
> >> If not could I use javascript intregration (Xforms reference chapter 11) to
> >> submit a XForms page ?
> >> (If I can submit and setvalue using javascript I should be able te develop a
> >> test framework)
> >>
> >> Thanks in advance,
> >> Pepijn
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: test framework for XForms

Alessandro  Vernet
Administrator
Selenium recorder has evolved into Selenium IDE. Thank you Daniel for the link!

http://www.openqa.org/selenium-ide/

TestGen4Web is similar to Selenium IDE, but I haven't found a way to
check for things other than the page title, which might be good enough
when each click loads a new page, but doesn't do the trick when it
comes to Ajax UIs like the one you get when using XForms in
PresentationServer. It's maybe just that I haven't spent enough time
exploring TestGen4Web.

http://developer.spikesource.com/projects/testgen4web/

If anyone gets a chance to try Selenium, TestGen4Web, or another
similar tool, please share your experience here.

Alex

On 3/2/06, Daniel E. Renfer <[hidden email]> wrote:

> If you guys are using Firefox, you might want to check out the
> Selenium Recorder[1] extension. I've only used it a very little bit,
> but you might want to check it out if you're looking for a way to
> emulate user interaction.
>
> I know this isn't quite what you're looking for, but it may help you a
> little bit.
>
> Daniel E. Renfer (http://kronkltd.net/)
>
> [1]: https://addons.mozilla.org/extensions/moreinfo.php?id=1157
>
> On 3/2/06, [hidden email] <[hidden email]> wrote:
> > Good Morning All,
> >
> > I wanted to hook in here because I am looking for a testing framework myself.
> >
> > In the past I have tested JSP's with Cargo/Canoo - but we don't have JSP's here and I am not sure if Cargo/Canoo do work or not (haven't had time to try it).
> >
> > With interest I am also monitoring the progress on the 1040 project.
> >
> > So here is my question: How can I test an Orbeon application?
> > I would like to fill XForm fields in a scripted fashion, execute a submission, retrieve the server's response and parse the received html for expected field values.
> >
> > How do you test your Orbeon applications?
> >
> > Thank you,
> > Olaf
> >
> >
> >
> >
> >
> > >Hi Pepijn,
> > >
> > >We don't have a test framework for client-side XForms, or client-side
> > >JavaScript in general. This is something we would like to in the
> > >future, so let us know if you have any suggestion, any library out
> > >there that you have successfully used, or any code you can contribute
> > >to the project.
> > >
> > >Alex
> > >
> > >On 2/27/06, Pepijn Noltes <pepijn.noltes@xxxxxxxx> wrote:
> > >>
> > >>
> > >> Hi All,
> > >>
> > >> I like to develop XForms under orbeon in a test driven development way. I
> > >> know there is now a test framework for XPL, but is there also something for
> > >> XForms?
> > >>
> > >> If not could I use javascript intregration (Xforms reference chapter 11) to
> > >> submit a XForms page ?
> > >> (If I can submit and setvalue using javascript I should be able te develop a
> > >> test framework)
> > >>
> > >> Thanks in advance,
> > >> Pepijn
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: test framework for XForms

Pepijn Noltes
In reply to this post by Pepijn Noltes
Thanks for the answers.


Selenium looks nice, although I have to spent some more time to be sure.


When I have something working I will report back :)

Pepijn


 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Alessandro Vernet
Sent: vrijdag 3 maart 2006 3:53
To: [hidden email]
Subject: Re: Re: [ops-users] test framework for XForms

Selenium recorder has evolved into Selenium IDE. Thank you Daniel for
the link!

http://www.openqa.org/selenium-ide/

TestGen4Web is similar to Selenium IDE, but I haven't found a way to
check for things other than the page title, which might be good enough
when each click loads a new page, but doesn't do the trick when it comes
to Ajax UIs like the one you get when using XForms in
PresentationServer. It's maybe just that I haven't spent enough time
exploring TestGen4Web.

http://developer.spikesource.com/projects/testgen4web/

If anyone gets a chance to try Selenium, TestGen4Web, or another similar
tool, please share your experience here.

Alex

On 3/2/06, Daniel E. Renfer <[hidden email]> wrote:
> If you guys are using Firefox, you might want to check out the
> Selenium Recorder[1] extension. I've only used it a very little bit,
> but you might want to check it out if you're looking for a way to
> emulate user interaction.
>
> I know this isn't quite what you're looking for, but it may help you a

> little bit.
>
> Daniel E. Renfer (http://kronkltd.net/)
>
> [1]: https://addons.mozilla.org/extensions/moreinfo.php?id=1157
>
> On 3/2/06, [hidden email] <[hidden email]>
wrote:
> > Good Morning All,
> >
> > I wanted to hook in here because I am looking for a testing
framework myself.
> >
> > In the past I have tested JSP's with Cargo/Canoo - but we don't have
JSP's here and I am not sure if Cargo/Canoo do work or not (haven't had
time to try it).
> >
> > With interest I am also monitoring the progress on the 1040 project.
> >
> > So here is my question: How can I test an Orbeon application?
> > I would like to fill XForm fields in a scripted fashion, execute a
submission, retrieve the server's response and parse the received html
for expected field values.

> >
> > How do you test your Orbeon applications?
> >
> > Thank you,
> > Olaf
> >
> >
> >
> >
> >
> > >Hi Pepijn,
> > >
> > >We don't have a test framework for client-side XForms, or
> > >client-side JavaScript in general. This is something we would like
> > >to in the future, so let us know if you have any suggestion, any
> > >library out there that you have successfully used, or any code you
> > >can contribute to the project.
> > >
> > >Alex
> > >
> > >On 2/27/06, Pepijn Noltes <pepijn.noltes@xxxxxxxx> wrote:
> > >>
> > >>
> > >> Hi All,
> > >>
> > >> I like to develop XForms under orbeon in a test driven
> > >> development way. I know there is now a test framework for XPL,
> > >> but is there also something for XForms?
> > >>
> > >> If not could I use javascript intregration (Xforms reference
> > >> chapter 11) to submit a XForms page ?
> > >> (If I can submit and setvalue using javascript I should be able
> > >> te develop a test framework)
> > >>
> > >> Thanks in advance,
> > >> Pepijn
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the
[hidden email] mailing list.

> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page:
> > http://www.objectweb.org/wws
> >
> >
> >
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>
>


--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws