Professional Documents
Culture Documents
Suhan
Suhan
2. Error Guessing:-
This is purely based on previous experience and judgment of tester. Error Guessing is the art of
guessing where errors can be hidden. For this technique there are no specific tools, writing the test
cases that cover all the application paths.
3. Boundary Value Analysis:-
Many systems have tendency to fail on boundary. So testing boundary values of application is
important. Boundary Value Analysis (BVA) is a test Functional Testing technique where the
extreme boundary values are chosen. Boundary values include maximum, minimum, just
inside/outside boundaries, typical values, and error values.
Extends equivalence partitioningTest both sides of each boundary Look at output boundaries
for test cases tooTest min, min-1, max, max+1, typical values.
4.Equivalence Partitioning:
Equivalence partitioning is a black box testing method that divides the input domain of a program
into classes of data from which test cases can be derived.
White Box Testing (WBT) is also known as Code-Based Testing or Structural Testing. White box
testing is the software testing method in which internal structure is being known to tester who is
going to test the software.
In this method of testing the testcases are calculated based on analysis internal structure of the
system based on Code coverage, branches coverage, paths coverage, condition Coverage etc.
In the White box testing following steps are executed to test the software code:
1. Statement Coverage :- In this white box testing technique try to cover 100% statement
coverage of the code, it means while testing the every possible statement in the code is executedat
least once.
Tools: To test the Statement Coverage the Cantata++ can be used as white box testing tool.
2. Decision Coverage:- In this white box testing technique try to cover 100% decision coverage
of the code, it means while test the every possible decision conditions like if-else, for loop and
other conditional loops in the code is executed at least once.
Tools: To cover the Decision Coverage testing in the code the TCAT-PATH is used. This
supports for the C, C++ and Java applications.
3. Condition Coverage :- In this white box testing technique try to cover 100% Condition
coverage of the code, it means while testing the every possible conditions in the code is executed
at least once.
4. Decision/Condition Coverage:In this mixed type of white box testing technique try to cover
100% Decision/Condition coverage of the code, it means while testing the every possible
Decisions/Conditions in the code is executed at least once.
5. Multiple Condition Coverage:In this type of testing we use to cover each entry point of the
Software Engineering Lab
system to be execute once.
Advantages of White Box Testing :-
● To start the testing of the software no need to wait for the GUI, you can start the White Box
Testing.
● Tester can ask about implementation of each section, so it might be possible to remove unused
● As the tester is aware of internal coding structure, then it is helpful to derive which type of
● To test the software application a highly skilled resource is required to carry out testing
who know the deep knowledge of internal structure of the code which increase the cost.
● If the application under test large is size then exhaustive testing is impossible.
● It is not possible for testing each and every path/condition of software program, which
● To analyze each line by line or path by path is nearly impossible work which may introduce
1. Business and Analysis modelling. Graphical modelling tools. E.g., E/R modelling, object
modelling, etc.
2. Development. Design and construction phases of the life-cycle. Debugging environments.
E.g., GNU Debugger.
3. Verification and validation. Analyze code and specifications for correctness, performance,
etc.
4. Metrics and measurement. Analyze code for complexity, modularity (e.g., no "go to's"),
performance, etc.
5. Project management. Manage project plans, task assignments, scheduling.
Benefits of Case Tools
1.Rapid Application Development
2.Testing
3.Documentation
4.Project Management
5.Reduce the maintenance cost
The various case tools are as follows:
1.Artiso Visual Case
2.Db main
3.Meta edit
4.Microsoft Visio
5.Smartdraw
6. Draw.io
Software Engineering Lab
Draw.io :-
Draw.io is a user-friendly yet powerful software tool that enables the creation of intricate flowcharts, diagrams
and process maps. With its robust features like automatic layout, a wide array of templates, and comprehensive
shape libraries, creating visually compelling and accurate diagrams becomes a breeze. Substantial benefits
include optimised workflows, improved communications, strategic insights, enhanced productivity and
increased employee engagement. Seamlessly integrating with platforms like Google Drive, Confluence, Trello
and GitHub, draw.io takes collaboration to another level, allowing users to share their diagrams and receive
instant feedback
Advantages of Draw.io :-
Intuitive Interface: Draw.io's user-friendly design allows users to navigate the software smoothly,
bolstering productivity and reducing the learning curve.
Powerful Diagramming: With robust diagramming capabilities, including a variety of shapes, layouts,
and templates, draw.io aids in creating intricate diagrams easily.
Cross-Platform Integrations: The ability to integrate with platforms like Google Drive and
Confluence, draw.io takes collaboration to new heights.
Flexible Pricing: Its varied pricing options provide a perfect fit for individuals, small businesses, and
corporate giants alike, ensuring value for money.
Software Engineering Lab
PRACTICAL NO. :- 8
AIM: Testing of a web site.
Web Testing in simple terms is checking your web application for potential bugs before its made
live or before code is moved into the production environment.
During this stage issues such as that of web application security, the functioning of the site, its
access to handicapped as well as regular users and its ability to handle
1. Functionality Testing :-This is used to check if your product is as per the specifications you
intended for it as well as the functional requirements you charted out for it in your
developmentaldocumentation. Testing Activities Included:
Test all links in your webpage’s are working correctly and make sure there are no broken links.
Links to be checked will include -
● Outgoing links
● Internal links
● Anchor Links
● Mail To Links
● Scripting checks on the form are working as expected. For example- if a user does not fill
a mandatory field in a form an error message is shown.
● Check default values are being populated
● Once submitted, the data in the forms is submitted to a live database or is linked to a
working email address
● Forms are optimally formatted for better readability
Software Engineering Lab
Test Cookies are working as expected. Cookies are small files used by websites to primarily
remember active user sessions so you do not need to log in every time you visit a website. Cookie
Testing will include
● Testing cookies (sessions) are deleted either when cache is cleared or when they reach their
expiry.
● Delete cookies (sessions) and test that login credentials are asked for when you next visit
the site.
Test HTML and CSS to ensure that search engines can crawl your site easily. This will include
1. Testing your end - to - end workflow/ business scenarios which takes the user through a
series of webpage’s to complete.
2. Test negative scenarios as well, such that when a user executes an unexpected step,
appropriate error message or help is shown in your web application.
2. Performance Testing :-This will ensure your site works under all loads. Testing activities
willinclude but not limited to:-
3. Usability testing :- Usability Testing has now become a vital part of any web based project.
It can be carried out by testers like you or a small focus group similar to the target audience
of the web application.
● Menus, buttons or Links to different pages on your site should be easily visible and
consistent on all webpages
● Content should be legible with no spelling or grammatical errors.
● Images if present should contain an "alt" text
4. Interface Testing :- Three areas to be tested here are - Application, Web and Database Server
● Application: Test requests are sent correctly to the Database and output at the client side
is displayed correctly. Errors if any must be caught by the application and must be only
shown to the administrator and not the end user.
● Web Server: Test Web server is handling all application requests without any service
denial.
● Database Server: Make sure queries sent to the database give expected results.
Test system response when connection between the three layers (Application, Web and
Database) cannot be established and appropriate message is shown to the end user.
5. Database Testing: Database is one critical component of your web application and stress
mustbe laid to test it thoroughly. Testing activities will include-
6. Compatibility testing: Compatibility test ensures that your web application displays
correctlyacross different devices. This would include-
Browser Compatibility Test :- Same website in different browsers will display differently. You
need to test if your web application is being displayed correctly across browsers, JavaScript, AJAX
and authentication is working fine. You may also check for Mobile Browser Compatibility.
The rendering of web elements like buttons, text fields etc. changes with change in Operating
System. Make sure your website works fine for various combination of Operating systems such
as Windows, Linux, Mac and Browsers such as Firefox, Internet Explorer, Safari etc.
7. Security testing: Security Testing is vital for e-commerce website that store sensitive
customerinformation like credit cards. Testing Activities will include-
LOGIN PAGE :-