Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I just posted about visually comparing sites but figured this would be best in another post. I am doing some work for a company that maintains several small business web sites. They are in the process of migrating the sites over to new servers (they are using a migration tool but Im not sure what). They have asked me if I could write something that will test the web forms on all of the sites after migration. It sounds like the forms basically just send an e-mail (like "contact us"). I looked at a couple of examples they gave me and they were asp.net.

I've scripted all kinds of things in the *nix world and am getting into powershell now but I am by no means a web developer so I am not sure where to start on this. I am assuming the html on the front end will tell me a lot about the forms but will it be enough to populate the fields with the type of data and formats they are looking for (ie phone number, something from a dropdown, or text)? I could easily use some kind of macro program to record my clicks and input but this would need to be done for every site which defeats the purpose. Am I biting off more than I can chew or is this possible? Help is greatly appreciated.

share|improve this question
1  
Do they use some kind of automated system testing of web forms on old sites? Can they run same tests for new sites? Tool like Selenium is independent of the hosting details, will test just user-facing functionality –  Peter Masiar Jun 2 at 22:43
    
Do you know what the forms are supposed to do? You can automate the filling out of the forms, and that can inform you on a basic level on whether or not the form still submits. If the scope is just checking they submit, then record/playback is a great tool: Record on pre-migrated, play on post-migrated, and report results. –  Lucas Schwarz Jun 3 at 19:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.