Prepare for your Next Interview
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 ...
|
|||
|
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 |
| Sponsored Links |
|
|||
|
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. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| 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 |