Testing
a web form is a fundamental challenge for any QA engineer. But, to do it in professional
way, you need to have a
clear vision. How and what to test in a web form?
Today, I’m going to give you very important set of Tricks & Tips in web form testing.
Important: If site functionalities are not working while JS disable, that is acceptable. Real problem is, if someone can send direct requests while JS disabled.
Consider a sql query like this:
SELECT * FROM Users WHERE Username='$username' AND Password='$password'
If we insert below values,
$username = 1' or '1' = '1
$password = 1' or '1' = '1
Then the query will be
SELECT * FROM Users WHERE Username='1' OR '1' = '1' AND Password='1' OR '1' = '1'
And it’s always true and returns all values in users table.
What you can suggest to improve security of a web application?
(1) Include a Captha – captha is use to prevent robotic access. It will avoid spammers who using auto-filling software programs.
(2) Use a secure protocol – have you seen some web sites starts with https:// while others are http://? ‘Https’ is combination of ‘http’ and SSL/TLS, Which is more secure protocol. Communication is encrypted and no one can access data.
User Interface testing – Formatting, alignment, images, colors will make a better user experience. UI testing is a separate topic to be discussed. Just for now, I’ll give you a small hint: By today, more than 80% of internet users are using Chrome and Firefox browsers (source : http://www.w3schools.com/browsers/browsers_stats.asp). So, make more weight on those browsers while you testing UI.
Before leave I’ll give you two additional tips.
Tip 1: Give suggestions to improve quality of the application. But you are never allow to exceed the requirement specification. Stay beyond the limit & release your suggestions.
Tip 2: During your test, keep an eye on the URL to make sure you are testing in same test environment. With my experience, I see some QA engineers are start testing in QA environment and end in production. Don’t get entangled. Keep the eye on URL.
{ Read More }
What is a web form?
Web
form is a bundle of components (text labels, text fields, text area, drop down
fields, radio buttons, check boxes, submit button… etc. ) in a web page. I'm assuming that you know the behavior and characteristics of these web components.
Today, I’m going to give you very important set of Tricks & Tips in web form testing.
Important: If site functionalities are not working while JS disable, that is acceptable. Real problem is, if someone can send direct requests while JS disabled.
Consider a sql query like this:
SELECT * FROM Users WHERE Username='$username' AND Password='$password'
If we insert below values,
$username = 1' or '1' = '1
$password = 1' or '1' = '1
Then the query will be
SELECT * FROM Users WHERE Username='1' OR '1' = '1' AND Password='1' OR '1' = '1'
And it’s always true and returns all values in users table.
What you can suggest to improve security of a web application?
(1) Include a Captha – captha is use to prevent robotic access. It will avoid spammers who using auto-filling software programs.
(2) Use a secure protocol – have you seen some web sites starts with https:// while others are http://? ‘Https’ is combination of ‘http’ and SSL/TLS, Which is more secure protocol. Communication is encrypted and no one can access data.
User Interface testing – Formatting, alignment, images, colors will make a better user experience. UI testing is a separate topic to be discussed. Just for now, I’ll give you a small hint: By today, more than 80% of internet users are using Chrome and Firefox browsers (source : http://www.w3schools.com/browsers/browsers_stats.asp). So, make more weight on those browsers while you testing UI.
Before leave I’ll give you two additional tips.
Tip 1: Give suggestions to improve quality of the application. But you are never allow to exceed the requirement specification. Stay beyond the limit & release your suggestions.
Tip 2: During your test, keep an eye on the URL to make sure you are testing in same test environment. With my experience, I see some QA engineers are start testing in QA environment and end in production. Don’t get entangled. Keep the eye on URL.