Amazon offers

Input Data Validation



Every web application is expected have at least one submit form. Data entered in form is transferred as input to database or to any other application and will decide the output. So, input data plays a very important role in retrieving the output data.


Such data needs to be validated by the code. And tester has the responsibility of validating such data.
At this point tester thinks about how can the validations be done and what type of data should be provided to validate the input field. Test data needs to be created and passed to the form through the automation tool or manually.

Here are few steps or guide lines to validate the data.

Let’s consider a sample form which acts as input to signing in as new member in a social networking site like facebook. It contains different types of input fields – Numeric, String, Alpha Numeric, date, preset values (from drop downs or check boxes), file uploads and Email addresses.

Name: String input field
Password : Alphanumeric field
Age: Numeric input field
Address: Alpha numeric
Date: Date of Birth
Email Address: Email field
Profile Image: Photo of the member: File upload

Validations which can be performed on such forms are

1.      Name :
a.       Should start with letter
b.      Should not contain numbers.(unless proposed)
c.       Should contain string characters only.
d.      Can contain underscore (_) ,hyphen  (-) and single quotation (')
e.      Can contain space but along with string characters
2.      Password :
a.       Should be encrypted with any special character and should not be visible even to the person who is entering it. Generally it gets skipped from encrypting when it is passed through any testing tool.
b.      Can contain string characters, numerical and special characters.
c.       Should not contain only spaces
d.      Length factor should be tested.
3.      Age :
a.       Should start with number
b.      Should not contain characters
c.      Should contain numbers only
d.      Should not contain special characters and spaces also
e.      Should not have all zeroes or single 0
4.      Address :
a.       Can contain string characters, numeric, special characters.
b.      Should contain only spaces
c.       Should not contain junk data, it should be meaningful
5.      Date :
a.       Can contain numbers
b.      Can contain special characters like hyphen (-),slash(/) depending on format accepted
c.        Can contain string characters depending on format
d.      Some cases should not accept future date like for date of birth we cannot put future date.
e.      Some cases should not accept past date like for any activity which is planned for future date.
6.      Email Address :
a.       Can contain numeric, string and special characters
b.      Should not contain only special characters or numbers
c.       Should not contain only spaces
d.      Should contain at least one at symbol (@)
e.      Should contain at least one dot (.)
7.      Profile image :
a.       Should be a path to the file which is to be uploaded
b.      File should be existing
c.       File format should be acceptable with the input field
d.      File size should be in the limits mentioned
8.      Apart from above we should also check the following in the input provided
a.       Length acceptable in the field
b.      Minimum length criteria is accepted or not
c.       Is the field mandatory ---then input is must and no spaces and all zeroes should be accepted.
d.      More number of spaces provided at the end or in between or at start of the data should be trimmed.
e.      Data in the form of SQL queries should not be accepted as they are provided to break the security system by hackers.
f.        Date which has HTML tags should not be provided. As they might be interpreted in different form when submitted as input data.


Points to be noted by developer when submit forms are designed

1.       Highlight the mandatory fields either by asterisk (*) or text “Mandatory” or coloring the text box in differentiating color.
2.       Mention the acceptable format near the date field.
3.       Mention the max length for the input fields which has limit restrictions.
4.       SQL queries should be identified and rejected.
5.       Same with HTML tags, they should be identified before passing the data.
6.       Errors should be in red. Or fields which have incorrect data should be highlighted in red.
7.       Provide the error message near each error field. Or provide all the errors in one section of the page mentioning the data field names clearly.




More Info


For Developers, these links below will help you a lot about what should be considered for data validation.

https://www.owasp.org/index.php/Data_Validation

http://www.clerkendweller.com/2008/11/21/Free-Text-Form-Field-Data-Validation

Comments

  1. Very helpful post!!

    Thanks a ton.....

    ReplyDelete
  2. Thanks for sharing informative post on white box testing. Your post helped me a lot to understand the difference between the white and black box testing.

    ReplyDelete
  3. Digital Marketing Training

    Thanks for sharing this informative blog. Recently I did Digital Marketing courses at a leading digital marketing company. It's really useful for me to make a bright career. If anyone wants to get Digital Marketing Training in Chennai visit infiniX.

    ReplyDelete
  4. Digital Marketing Chennai

    Thanks for sharing this informative blog. Recently I did Digital Marketing courses at a leading Digital Marketing Training Institutes in Chennai. It's really useful for me to make a bright career. If anyone wants to get Digital Marketing Training in Chennai visit infiniX.

    Regards...

    Digital Marketing Courses in Chennai

    ReplyDelete
  5. This is certainly one of the most valuable article. Great tips from beginning to till end. Lot of information are available here.Super article.
    SEO Training in chennai | SEO Training chennai | SEO Course in chennai | SEO Course chennai

    ReplyDelete
  6. Your posts is really helpful for me.Thanks for your wonderful post. I am very happy to read your post.
    Web designing Training in chennai | Web designing Training chennai

    ReplyDelete
  7. Thanks for your informative article. Your post helped me a lot in understanding the career prospects in search engine optimization. Digital Marketing Training in Chennai | Digital Marketing Course in Chennai

    ReplyDelete
  8. Thanks for sharing this with us it is a worth read. xcellent post!!! Digital marketing training provides students with meaning skills to promote a business in digital age. This training covers search engine optimization, SEM, social media marketing, online reputation management, etc.

    Digital Marketing Training in Chennai | Digital Marketing Course in Chennai | Digital Marketing Training Institute in Chennai | SEO Training in Chennai

    ReplyDelete
  9. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  10. Thanks for sharing about digital marketing,your blog always brought some useful information,i hope you will share more article like that...
    digital marketing classes in chennai

    ReplyDelete
  11. Online certification courses in india
    I extremely cherished perusing your blog. I likewise discovered your posts extremely intriguing. Actually in the wake of understanding, I needed to go demonstrate it to my companion and he ejoyed it also!

    ReplyDelete
  12. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post
    Online MBA

    ReplyDelete
  13. online colleges in India
    Extremely wonderful blog. Your blog is extremely valuable for me. A debt of gratitude is in order for sharing this enlightening web journal. Keep refresh your blog

    ReplyDelete
  14. https://stitchclothes.com here we stitch clothes as per your design and selection

    ReplyDelete
  15. "thank for sharing this information, we are Chicago web Design and provide
    Content Writing Chicago"

    ReplyDelete
  16. https://stitchclothes.com here we stitch clothes as per your design and selection

    ReplyDelete
  17. https://stitchclothes.com here we stitch clothes as per your design and selection

    ReplyDelete
  18. Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.

    Best Java Training Institute Chennai

    ReplyDelete
  19. https://stitchclothes.com here we stitch clothes as per your design and selection

    ReplyDelete
  20. Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.

    java training in bangalore


    ReplyDelete
  21. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.
    Best Hadoop Training Institute In chennai

    amazon-web-services-training-institute-in-chennai

    ReplyDelete
  22. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    Best Java Training Institute in chennai

    ReplyDelete
  23. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Hadoop training in bangalore

    ReplyDelete
  24. It's uncommonly extraordinary blog. It will upgrade my crucial to more hoisted sum. Thankful to you for sharing this splendid site.
    Digital Marketing Course in Chennai | Digital Marketing Course | Digital Marketing Training in Chennai | Digital Marketing Chennai

    ReplyDelete
  25. Welcome to the Best writer Review, Here you can get the best All Assignment Help reviews sites. We strongly urge you to check our entire website once and we will assure you will find this review website very useful. Our hard work will be rewarded if students like you will appreciate our effort and spread the message about this site with your class-fellows and friends.

    ReplyDelete
  26. Fantastic work! This is the type of information that should follow collective approximately the web. Embarrassment captivating position Google for not positioning this transmit higher! Enlarge taking place greater than and visit my web situate
    java training in chennai | java training in bangalore

    java online training | java training in pune

    java training in chennai | java training in bangalore

    java training in tambaram | java training in velachery

    ReplyDelete
  27. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.


    MEAN stack training in Chennai

    MEAN stack training in bangalore

    MEAN stack training in tambaram

    MEAN stack training in annanagar

    MEAN stack training in Velachery

    MEAN stack training Sholinganallur

    ReplyDelete
  28. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.


    rpa training in Chennai | rpa training in velachery

    rpa training in tambaram | rpa training in sholinganallur

    rpa training in Chennai | rpa training in pune

    rpa online training | rpa training in bangalore

    ReplyDelete
  29. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Devops Training in Chennai

    Devops Training in Bangalore

    ReplyDelete
  30. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.

    rpa training in Chennai | rpa training in pune

    rpa training in tambaram | rpa training in sholinganallur

    rpa training in Chennai | rpa training in velachery

    rpa online training | rpa training in bangalore

    ReplyDelete
  31. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us
    python training in chennai
    python training in chennai
    python training in Bangalore

    ReplyDelete
  32. This is quite educational arrange. It has famous breeding about what I rarity to vouch. Colossal proverb. This trumpet is a famous tone to nab to troths. Congratulations on a career well achieved. This arrange is synchronous s informative impolites festivity to pity. I appreciated what you ok extremely here 
    python training in chennai
    python training in chennai
    python training in Bangalore

    ReplyDelete
  33. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...

    java training in marathahalli | java training in btm layout

    java training in jayanagar | java training in electronic city

    ReplyDelete
  34. Read all the information that i've given in above article. It'll give u the whole idea about it.
    python online training
    python training in OMR
    python training in tambaram

    ReplyDelete
  35. Thanks for sharing this information I really enjoyed reading this article if you are looking for Financial planning for building a home please visit us.

    ReplyDelete
  36. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.
    Devops training in sholinganallur
    Devops training in velachery

    ReplyDelete
  37. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.

    Best Selenium Training in Chennai | Selenium Training Institute in Chennai | Besant Technologies

    Selenium Training in Bangalore | Best Selenium Training in Bangalore

    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    ReplyDelete
  38. Resources like the one you mentioned here will be very useful to me ! I will post a link to this page on my blog. I am sure my visitors will find that very useful

    angularjs Training in chennai
    angularjs Training in chennai

    angularjs-Training in tambaram

    angularjs-Training in sholinganallur

    angularjs-Training in velachery

    ReplyDelete
  39. It’s great to come across a blog every once in a while, that isn’t the same out of date rehashed material. Fantastic read.
    nebosh course in chennai

    ReplyDelete
  40. Velpanat tablet is mostly as prescription medicine. It is available in 400mg and 100mg tablets. This medicine it take in combination with other meidcations like Daclatasvir, Penginterferon and Ribavirin. Velpanat tablet

    ReplyDelete
  41. Thanks for sharing this information I really enjoyed reading this article if you are looking for Velpaclear from the millionhealthpharmaceuticals please visit us.

    ReplyDelete
  42. When I initially commented, I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thanks.

    AWS Interview Questions And Answers

    AWS Training in Chennai | Best AWS Training in Chennai

    AWS Training in Pune | Best Amazon Web Services Training in Pune

    ReplyDelete
  43. When I initially commented, I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thanks.

    AWS Interview Questions And Answers

    AWS Training in Chennai | Best AWS Training in Chennai

    AWS Training in Pune | Best Amazon Web Services Training in Pune

    ReplyDelete
  44. Amazing Article ! I have bookmarked this article page as i received good information from this. All the best for the upcoming articles. I will be waiting for your new articles. Thank You ! Kindly Visit Us @ Coimbatore Travels | Ooty Travels | Coimbatore Airport Taxi | Coimbatore taxi

    ReplyDelete
  45. My blog is in the same niche as yours, and my users would benefit from some of the information you provide here. Please let me know if this ok with you. Thank you.
    nebosh igc courses in chennai

    ReplyDelete
  46. Very Informative article you have described everything in a brilliant way. This is really useful article for begginer learner. Appreciated!

    Cloud Training
    Cloud Training in Chennai
    Cloud Training in OMR
    Cloud Training in Velachery
    Cloud Training in Thiruvanmiyur

    ReplyDelete
  47. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    ERP in India
    Cloud ERP Companies in India
    Web development company in chennai
    Cloud ERP in India

    ReplyDelete
  48. "Hi DEAR ... I truly appreciate the article Thanks for sharing. I read your posts And your posts are very good and knowledgeable... i am Microsoft outlook support office.com/setup contat us for office com/setup
    www.office.com/setup

    ReplyDelete
  49. It would have been the happiest moment for you,I mean if we have been waiting for something to happen and when it happens we forgot all hardwork and wait for getting that happened.
    angularjs online training

    apache spark online training

    informatica mdm online training

    devops online training

    aws online training

    ReplyDelete
  50. I am sure this post has helped me save many hours of browsing other related posts just to find what I was looking for. Many thanks!
    Microsoft Azure online training
    Selenium online training
    Java online training
    uipath online training
    Python online training


    ReplyDelete
  51. Great Post Thanks for Shearing. i Read your Blog every day.Please write more about this topics.it very bothersome to tell the reality then again I’ll definitely come back again.Please write more about this topics.
    More

    ReplyDelete
  52. you can go through AllAssignmentHelp.com reviews. It will help you to know about the services, and it will help you to know whether that site is reliable or not.

    ReplyDelete
  53. here are so many online guidelines for students like online tutorial classes, and they can even take Online Assignment Help  which help them in academics.

    ReplyDelete
  54. Excellent post, must say thanks for the information you added to this post. I appreciate your post and looking forward for more.


    ExcelR Data Science Course Bangalore

    ReplyDelete
  55. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.
    date analytics certification training courses
    data science courses training

    ReplyDelete
  56. Thanks for sharing this information. I really Like Very Much.
    online training institute

    ReplyDelete
  57. I quite like reading an article that can make people think. Also, thanks for allowing for me to comment!
    data analytics course malaysia

    ReplyDelete
  58. Here at this site really the fastidious material collection so that everybody can enjoy a lot.
    Data Science Course in Pune

    ReplyDelete
  59. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

    Big Data Course

    ReplyDelete
  60. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more.

    Data Science Course

    ReplyDelete
  61. Attend The Python training in bangalore From ExcelR. Practical Python training in bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python training in bangalore.
    python training in bangalore

    ReplyDelete
  62. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more.




    BIG DATA COURSE MALAYSIA

    ReplyDelete
  63. Took me time to understand all of the comments, but I seriously enjoyed the write-up. It proved being really helpful to me and Im positive to all of the commenters right here! Its constantly nice when you can not only be informed, but also entertained! I am certain you had enjoyable writing this write-up.

    Big Data Course

    ReplyDelete
  64. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
    Data Science Courses

    ReplyDelete
  65. I have express a few of the articles on your website now, and I really like your style of Python classes in pune blogging. I added it to my favorite’s blog site list and will be checking back soon…

    ReplyDelete
  66. I Really Like you post. This explained most of the things about Data Validation. Love to read you next article.


    ReplyDelete
  67. Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
    iot training in malaysia

    ReplyDelete

  68. Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written.


    salesforce Training in Bangalore
    uipath Training in Bangalore
    blueprism Training in Bangalore

    ReplyDelete
  69. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

    aws Training in Bangalore
    python Training in Bangalore
    hadoop Training in Bangalore
    angular js Training in Bangalore
    bigdata analytics Training in Bangalore

    ReplyDelete
  70. This is an awesome blog. Really very informative and creative contents. This concept is a good way to enhance the knowledge. Thanks for sharing.
    ExcelR business analytics course

    ReplyDelete
  71. Very interesting, good job and thanks for sharing such a good blog. your article is so convincing that I never stop myself to say something about it. You’re doing a great job. Keep it up

    aws Training in Bangalore
    python Training in Bangalore
    hadoop Training in Bangalore
    angular js Training in Bangalore
    bigdata analytics Training in Bangalore

    ReplyDelete
  72. Useful Information :

    Looking for the Best Digital Marketing Company in Vijayawada and Hyderabad affiliate agency in south INDIA, Digital Marketing in Vijayawada @ praiseads.com

    ReplyDelete
  73. Really i appreciate the effort you made to share the knowledge. The topic here i found was really effective...

    Looking for Best Training Institute in Bangalore , India. Softgen Infotech is the best one to offers 85+ computer training courses including IT Software Course in Bangalore , India. Also, it provides placement assistance service in Bangalore for IT.

    ReplyDelete
  74. Incredible post. I was once checking continually this weblog and I'm dazzled! Incredibly valuable data. I was once looking for this particular data for a very long time. Many thanks best of luck and if you are looking for BEST NEWS UPDATE please visit us BEST NEWSFEED SITE

    ReplyDelete

Post a Comment

Popular posts from this blog

How to test search functionality

Scrum Methodology - Quick Info