Geeks Talk

Prepare for your Next Interview




Test cases for HTML filtering

This is a discussion on Test cases for HTML filtering within the Test Cases forums, part of the Software Testing category; Hi friends, One interesting question... There is a text box control and user can enter HTML code in it.But there is list of tags, which may be harmful if ...


Go Back   Geeks Talk > Software Testing > Test Cases

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-22-2007
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 866
Thanks: 12
Thanked 81 Times in 65 Posts
jainbrijesh is on a distinguished road
Test cases for HTML filtering

Hi friends,

One interesting question...

There is a text box control and user can enter HTML code in it.But there is list of tags, which may be harmful if accepted by server, as per server security issues, so text box will filter out those tags.Now tell me what can be negative text cases for this function?
__________________
Brijesh Jain
brijesh.tester@yahoo.co.in
http://softwaretestingexpertise.blogspot.com
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-26-2007
Junior Member
 
Join Date: Aug 2006
Location: india
Posts: 8
Thanks: 0
Thanked 2 Times in 1 Post
kamalsingh is on a distinguished road
Re: Test cases for HTML filtering

good question indeed!!!
right now I can think of few as follows
1. try putting a opening tag of one and ending tag of another - in short a mismatch of opening and ending tags. then proper error message should be displayed.
2. what if we have some scripting language embedded in html (no clarity on that ) it should not accept example is javascript.
Reply With Quote
Reply

  Geeks Talk > Software Testing > Test Cases


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Uploading Test Cases into Quality Center and Test Director Rajani Test Director 2 05-13-2008 05:27 AM
Total HTML Converter is all-in-one solution to convert HTML files to DOC, HTML to XLS JobHelper Geeks Lounge 0 05-21-2007 03:11 PM
What is the difference between test cases and test scripts? sakshi_2801 Test Cases 3 05-11-2007 09:50 AM
Add test cases to test director JobHelper Test Director 3 04-19-2007 07:44 AM
silk test does't record html push button saroj_parida SilkTest 0 04-18-2007 04:18 AM


All times are GMT -4. The time now is 01:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved