News for hackers. Stuff that matters.

Ask HN: Tools for automatic form testing

Hi all,

I am looking for some tools to automatically testing web forms.

I specifically need to the the client side JS field validation and proper working, in addition to the final form submit.

Any idea?

( 4 comments | 3 points | on HN )
Re:Ask HN: Tools for automatic form testing by petepete on Wednesday June 10, 2015 @04:49AM (#9690711)
For this, we use Cucumber[0] with Capybara[1], Poltergeist[2] and PhantomJS[3].

[0] https://cucumber.io/

[1] https://github.com/jnicklas/capybara

[2] https://github.com/teampoltergeist/poltergeist

[3] http://phantomjs.org/

Re:Ask HN: Tools for automatic form testing by DanPir on Thursday June 11, 2015 @09:07AM (#9699425)
Thx everyone although the suggested tools seems more for testing automation.

What I need is something like Site24x7, Catchpoint etc. but with the ability to verify the JS validation on form fields.

Re:Ask HN: Tools for automatic form testing by gt565k on Wednesday June 10, 2015 @06:22PM (#9696018)
Re:Ask HN: Tools for automatic form testing by stephenr on Wednesday June 10, 2015 @06:24AM (#9691012)
This is one of the use cases for CasperJS (which in turn relies on PhantomJS)