I want to get all fields that are located in a single class name, for example my code like.
Try this:
$(".test .text-field")
EDIT:
To get values try this:
$(".test .text-field").each(function() { alert($(this).val()); });