4

Regularly testing submission forms?

over 6 years ago from , Front End Developer & Designer

Hi all,

I've recently had issues with a Wordpress (Gravity forms) enquiry form ceasing to function, but was only alerted to this issue upon manually testing the form.

I was wondering what we all use for testing forms on a regular basis? Does anyone have an automated daily test submission? Any advice would be much appreciated!

Thanks

6 comments

  • tim hickstim hicks, over 6 years ago

    I came across this chrome extension yesterday that might be helpful. It just records your browser actions and automatically runs them when you start a simulation. I think the mouse clicks are based on coordinates so it might not be helpful if the sites you're testing change (layout-wise) frequently, but if you have a bunch of sites that aren't changing too often it might be worth a look.

    Also I think they have some kind on built in captcha filling tool, but I think that's a premium feature.

    1 point
  • Brendan SaundersBrendan Saunders, over 6 years ago

    I might suggest sauce labs' automated testing https://saucelabs.com/small-team#automated-testing-platform

    Or setting up something yourself with Selenium and a continuos integration provider (such as Circle CI) as Baylor suggested.

    1 point
  • Baylor Rae', over 6 years ago

    I've written several automation frameworks with Selenium which is a browser automation tool. It wouldn't be difficult to create a daily task for this.

    1 point
  • Cory DymondCory Dymond, over 6 years ago

    Damn, this is a really good idea and I don't know why I hadn't thought of building something simple to do this on some of the older static sites my company runs. I'm constantly having issues with our older stuff that I wasn't around for, so this is a great idea. I've basically been relying on our customer facing team to let me know when things are broken, but they rarely notice until it's already at a catastrophic level (like it's probably been down for over a week by they time they notice... if they even do). I feel like this could be done fairly simply in PHP with a simple interface built in bootstrap or something and housed on a central server.

    1 point
  • Chris VaseyChris Vasey, over 6 years ago

    I am not sure of a tool but this is an exact issue I have come across recently! I was thinking about build a script that runs daily that goes into each form, autofills the field with test data and tests though the issue I have is that I am using google recaptcha specifically to stop someone from making a script to fill these forms..

    Interesting problem, maybe some kind of addition to the tool would be needed to self test its self.

    1 point
    • Cory DymondCory Dymond, over 6 years ago

      This isn't exactly the most time efficient way of building it if you're talking about a ton of sites, but an idea would be to put a hidden field in your form and have a key in your script that allows you to skip the captcha service. Basically, your daily script contains a passphrase and you drop that into your hidden field and that disables the captcha check.

      That's easy if you're the creator of whatever script is submitting the form. If you're using something like Gravity Forms, you'd probably have to custom develop a solution to work around its captcha set up.

      0 points