Web Testing Fundamentals
Web Testing is not a separate Testing, It is Testing the Web applications. we have different type of Software Applications,
1) CUI based Applications,
2) Desktop Applications and
3) Web Applications.
Nowadays most of the software applications are web based applications, as a test engineer you need to familiar with the Web Environment first, in web environment,
> What is HTML?,
(Hypertext Markup Language is the standard markup language for creating web pages and web applications.)
> What is XML?,
(Extensible Markup Language is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.)
> What is CSS?
(Cascading Style Sheets describes how HTML elements are to be displayed on screen, paper, or in other media)
> What is Web Server?
(A web server is a system that delivers content or services to end users over the internet,
Ex: Apache, IIS, GWS etc..
> What is Application Server?
(An application server consists of a server operating system (OS) and server hardware that work together to provide computing-intensive operations and services to the residing application.)
Ex: Oracle WebLogic Server, IBM WebSphere, Apache Tomcat, WildFly/JBoss Etc…
and What is Database Server? etc…then we can easily understand that how Web Applications work,
(A database server is a server which houses a database application that provides database services to other computer programs or to computers, as defined by the client–server model.
EX: Oracle, MS SQL Server, MySQL etc…
Note: You no need to have more knowledge on Software Development environment but have at least basics,
Actually Test Engineers require three types of knowledge,
1) Software Testing Knowledge
2) Software Environment Knowledge
3) Domain Knowledge
Web Test Types:
You need to apply different test types on web applications,
1) Functional Testing:
We have different coverage in Functional Testing,
i) Links Testing
> Test all links in your web pages are working correctly and make sure there are no broken links. Links to be checked will include –
(A broken link or dead link is a link on a web page that no longer works)
a) Internal links
b) Outgoing links
c) MailTo Links
(Mailto link is a type of HTML link that activates the default mail client on the computer for sending an e-mail.)
ii) Web Forms Testing
Test Forms are working as expected.
iiii) Cookies Testing
> Cookie is a small piece of information that is stored in text file on user’s (client) hard drive by web server.
> Cookie Testing is the process of verifying whether the cookies are working as intended or not. In cookie testing, testers need to test the status of the cookie, expiration of cookie, accessibility of cookie, security constraints, etc.,
iv) End to End Functional Testing etc…
> Testing your end – to – end workflow/ business scenarios which takes the user through a series of web pages to complete.
Note: We can conduct Functional Testing of Web Applications Manually as well as using any Test tool like, UFT, Selenium, RFT etc…
2) Usability Testing:
> Usability Testing is an important part of any web based application,
i) Navigation Testing
> Menus, Sub-menus, Menu items, and other elements on your application should be easily visible and consistent on all web pages
> Easy Navigations and alternate navigations
ii) Content Testing
> Content should be legible with no spelling or grammatical errors.
iii) Look and Feel
> Colors, Fonts for Elements, Alignment of Elements and consistent of Elements
3) Security Testing:
> Test authorized access and unauthorized to secure pages,
> Check sessions are automatically killed after prolonged user inactivity
> Restricted operations should not be performed without appropriate access Etc…
4) Database Testing
Database Testing is an important type of Testing for Web Applications, it includes,
> Verify Data Manipulations (Add, Edit and Delete)
> Verify Data Integrity
> Retrieving Specific Data
> Data Comparisons
> Data Processing etc…operations
Web Testing FundamentalsNote: Using SQL Commands we can conduct Database Testing Manually or using any Test Tool.
5) Performance Testing:
Performance Testing ensures your web application works under all type loads.
> Website application response times
> Load Testing (test with normal and peak loads)
> Stress Test b site to determine its break point when pushed to beyond normal loads at peak time.
> Spike Test
> Endurance Tests
6) Compatibility Testing:
> Compatibility Testing is to check your software is capable of running on different hardware, operating systems, applications , network environments etc…
> Browser Compatibility Test
> Operating System Compatibility Test
7) Interface Testing:
> Test system response when connection between the three layers (Application Server, Web Server and Database Sever)