Forms autocomplete

2

Do you know of any web tools in Chrome or Firefox that autocomplete forms with random text for tests? I have a 35 field form and every time I submit for testing, I have to complete it again.

    
asked by anonymous 13.08.2014 / 03:31

2 answers

3

Using jQuery to do a little function to fill all inputs when the page is ready:

<script>        
$(document).ready( function() { 
   $("input").each(function(){ // percorre todos elementos "input" do documento
        $(this).val("textoQualquerSoParaTestes"); // atribui o valor genérico para os campos
   });
});
</script>

Unless you have to use values specific, this should work.

    
13.08.2014 / 06:33
4

You can do something using JFiller:

Or extensions to Chrome:

Or the function solution mentioned above, making a switch for input types and generating random data according to data type and validation rules.

    
13.08.2014 / 08:21