Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2005, 01:33 AM
Registered User
 
Join Date: Oct 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default test cases for data submission

i am working on an online examination project using JSP and MySql. I am right now on the documentation phase. I need to document test cases for the same. Can anyone suggest me any test cases conditions that i need to take care of with respect to submitting data to the database.

ans4u
 
Old October 28th, 2005, 12:07 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 128
Thanks: 0
Thanked 1 Time in 1 Post
Default

One thing you should consider expecially when submitting data to the database is
validating users input. For example, do you restrict submission of text only or
alpha numeric characters only. What if someone wants to sabotage your test project by submitting a script with bug/virus.
JOHN

 
Old November 2nd, 2005, 10:21 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yeah, that is true for any web database. You have to use valdication rules that prevent malicious scripts. So you need to know the syntax of the scripts, and prevent certain actions by web users.


mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create buisness USE CASES via ASP khalid08 Classic ASP Databases 0 April 4th, 2006 07:34 PM
unable to use junit test cases for web project in deb_net J2EE 0 October 24th, 2005 12:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.