Testing Web Forms | Community
Skip to main content
New Participant
July 25, 2022
Question

Testing Web Forms

  • July 25, 2022
  • 1 reply
  • 3492 views

Hello Everyone,

 

I am looking for an easy way to test the web forms we have in our company website. At the moment, we go into each forms inside the website and fill them out individually to see whether everything is working ad the UTM Params are passing properly. I want to find an easy self sufficient way instead of doing this one by one manually. Does anyone have a good idea on how I can test these web forms out in Marketo to see people are flowing in as expected and the UTM params getting tracked properly?

 

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
New Participant
July 25, 2022

You don’t have to fill fields out manually, but you do have to use a browser to submit the form.

 

You could have a bit of Marketo Forms 2.0 JS that fills in the visible form fields using Form#setValues() and then calls Form#submit(). This could be triggered only when the hash is #debugMode or something like that, so just visiting the page fills in the form and submits it.

 

Or you could automate the whole process using WebDriver/Selenium/etc. but if you’re not familiar with that area, it’s quite a learning curve.

freezaAuthor
New Participant
July 26, 2022

I meant more like making a smart list in Marketo by putting in the filter filled out form in this specific page and put the time frame to today to get daily updated and also put a querystring or something to track the UTM param.

SanfordWhiteman
New Participant
July 26, 2022

I meant more like making a smart list in Marketo by putting in the filter filled out form in this specific page and put the time frame to today to get daily updated and also put a querystring or something to track the UTM param.

OK... not sure what that has to do with “testing” if you’re not trying to check if the form is working end-to-end?

 

You can subscribe to a Smart List that expects there to be at least one person who qualifies for each desired combination each day, i.e. it should have exactly 8 people on it. This only works if you make sure to automate 8 form posts a day.

 

If you’re not simulating interaction with the form, there’s no Smart List that on its own can tell you if things are working. “No new leads today for UTM combination C-D-E” doesn’t distinguish between a technical problem and a marketing problem.