Currently, I am using the traditional way i.e. 'Inspect Element' (or Firebug or IE Developer) for getting value of ID and Name attributes of any field present over page for which I am creating test cases. But, it is sometimes very time consuming especially when there are 100s of fields over a page/form. Sometimes, I use the record method abd then getting these attributes from the recorded test cases (but this too is a kind of work around).
Is there any quick way of getting ID and Name attributes of all fields (like TextBox, Dropdowns, CheckBox etc.) present on a web application page in one go.