Friday, July 17, 2015

Tool to help fill forms

This tool can be helpful in filling forms.

How to use:
Drag & Drop the following bookmarklets to your Bookmarks bar in Chrome.

What these bookmarks do:

1) Form Values - Store    ← this is a link - Drag & Drop it to your Bookmarks bar
When you are on the page which has a form:
- Fill out the form
- before clicking Submit, click on 'Form Values - Store' bookmark
   -- this will save your form values to your browser's localStorage (so that you can use them later on).

2) Form Values - Load   ← this is a link - Drag & Drop it to your Bookmarks bar
When you are on a page that has a form, if you have previously saved form-values for it:
- Simply click this bookmark to fill up the form

----------------------------------------------------------------------------------------------------------

Additional Notes:
1) With this tool, form data saved in Dev/Test urls can be used to fill up forms in Staging/Prod urls.
So, if you save form values in:                      http://dev-url/user/new
You can load those values for the form in:    http://staging-url/user/new

This could be helpful for QA engineers.

(This is because, the form values will be stored using - "/user/new" part of the URL. Even, query string part of the URL is ignored.)

2) Use for Developers:
For development work that involves forms, we usually need to repeatedly fill up the same form.
This tool can help save time in such scenarios.
Use for Testers/QA:
Same - a QA person can probably fill up the form using previous test-case's data and modify a couple of fields for the new test case.

3) Technique used:
Form values ares stored as a string in the browser's localStorage using the page's url as the key.

4) Because values are stored in browser's localStorage, if browser cache/history is cleared, the stored values will be deleted.



No comments:

Post a Comment

Followers

Blog Archive