Performance Testing: Performance Testing Is Performed To Evaluate Application
Performance Testing: Performance Testing Is Performed To Evaluate Application
Functionality problems
User Interface related problems
Performance related problems
Database related problems
OS compatibility problems
Browser compatibility problems
Security related problems
Load related problem
Navigation problem
First we have to assume that Graphical User Interface (GUI) objects and elements
of a website together is One Test Scenario. Then, we have to check all the links and
buttons. Then we have to check all forms are working properly or not. Prepare Test
Scenarios of the forms of a webpage. We can identify 4 different types of Test
Scenarios of a form:
Q4. While testing a website, which are the different configurations which will have
to be considered?
These configurations may demand for change in strategy of the webpage. The most
important factors that need consideration are following:
Hardware platform: some user may use the Mac platform, some may use
Linux, while others may use Microsoft platform.
Browsers: browser and their versions also change the layout of the web
page. Along with the browser versions, the different Plug-Ins also has to be
taken into consideration. The resolution of the monitor also with color depth
and text size is some of the other configurations.
Authentication is the process with which the system identifies the user
whereas authorization is the process after the authentication process
The authentication is used to ensure that the user is indeed a user, who he
claims to be whereas in authorization system will decide whether a particular
task can be performed by the user
There are different types of authentications, which can be used like
password based authentication, device based authentication whereas in
authorization there are two types read only, and read write both.
Q7. What is the difference between the static and dynamic website?
A static website contains Web pages with fixed content where as in Dynamic
web site content of the web page change with respect to time.
Static website are easy to create and donot require any database design but in
case of dynamic website it require good knowledge to develop the website
with programming and database knowledge.
In static website user cannot communicate with other and same information
will be displayed to each user where as in dynamic website user may
communicate with each other.
Q8. How do you perform testing on web based application using QTP?
We can do the performance testing using QTP by adding the web add-in in the QTP
at the startup of the QTP. Now to make URL of the website available to the QTP
we have to type the URL of the site. So that while running QTP will open the
application and do the testing
Cross Site Scripting is a thread in the dynamic website. It is also known as XSS.
Cross site scripting occurs when a web application gathers malicious data from a
user. The data is collected in the hyperlink form which contains malicious content
within it. It allows malicious code to be inserted into the web page. The web page
can be a simple HTML code or a client side script. When the malicious code is
inserted in page and clicked by some user, the malicious code becomes a part of
the web request of the user. This request can also execute on the user’s computer
and steal information.
To perform the security testing tester try to attack the system. This is the best way
to determine the lope hole in the security area of the application. Most of the
systems use encryption technique to store passwords. In this we have to try to get
access to the system by using different combinations of passwords. Another
common example of security testing is to find if the system is vulnerable to SQL
injection attacks. While performing the security testing, tester cannot do any
changes in any of the following:
Q11. What are steps you will perform for securing a new web server?
Some of the important steps to be carried out for securing the web server are
following:
Minimize rights.
Update permissions.
Delete default data and scripts.
Make use of software firewall.
Enable and make use of IIS logging.
Regular backup.
Usability testing perform with reference to the end user. In usability testing we find
how easily end user can access the application. In terms of websites and software
applications, usability is defined as the ease at which a person with no
programming knowledge can use the software to complete the desired task.
Usability is comprised of following:
Learnability is how easy it is for a new user to accomplish tasks the first
time they visit your website.
Memorability is how easy it is for someone to come back to using your
website after they haven’t used it for a period of time.
Efficiency is how quickly users can complete tasks on your site after they
are familiar with its use.
Q13. What is difference between web based testing and windows based testing?
Web based testing is concern with the following:
Functionality
Intergration
Q15. What is the difference b/w desktop application testing and web testing?
Field validation is used to ensure that only correct data is entered into the field. We
can select validation options to make sure that only correct format data can be
entered into a field correctly. When validation options are selected, we can use the
FileMaker Pro to displays a message when user enter data in incorrectly format.
For example, you can set an option to require that users enter a value in a field. The
field validations check the format of the data. To ensure this we perform the
validation testing in the website. Like the email field must contain the data in
[email protected] format.
Focus testing is used to test that when we open a webpage the cursor automatically
blink on the particular field. Like in the case of Gmail login page. When we open
the Gmail login page the cursor automatically blinks on the username filed. This is
the Focus testing in website.
Website testing is a type of software testing which deal with the testing of the
website. Website testing is performing on website to check the functionality,
performance, usability, database related issues and browser related issues. To
perform this testing we have so many tools like JMeter, Selenium, QTP etc.
What is Web application?
It is Software application that is accessed over a network such as the Internet or an
intranet through a web browser. Web application provides services (Free and Paid)
apart from information. Ex: Online Banking System it provides Bank information,
Branches & ATM Information, Loans information etc…And It provides balance
enquiry, Fund transfer, Bill payments like services.
Web browser is a software application used to locate, retrieve and also display
content on the World Wide Web, including Web pages, images, videos and other
files. Examples: Google Chrome, Mozilla Firefox, Internet Explorer, Opera, Safari.
What is website?
What is WWW?
The term WWW refers to the World Wide Web or simply the Web. The World
Wide Web consists of all the public Web sites connected to the Internet worldwide,
including the client devices (such as computers and cell phones) that access Web
content. The WWW is just one of many applications of the Internet and computer
networks.
Web server handles Clint side and server side validations and helps to deliver Web
content that can be accessed through the Internet protocols. Examples: Microsoft
IIS (Internet Information Service) Apache Web server from Apache Java Web
server Pramathi web server etc…
What are possible configurations that could affect the testing strategy of any
web site?
Possible configurations that affect the testing strategy of any web site are hardware
platform (PC, Mac), Browser software and version, Browser Plug-Ins, Browser
settings options, Video resolution and Colour Depth, and text size.
What are the advantages of web applications than GUI based applications?
What are the different types of web applications available in the Industry?
a) Websites
Ex: http://www.aurobindo.com/, http://www.pennacement.com/ etc…
b) Web portals
Ex: http://www.ebay.in/, http://www.naukri.com/ etc…
c) Web Applications
Ex: www.icicibank.com/, http://www.sunlife.com/ etc…
d) Email Service providers
Ex: www.gmail.com, www.yahoo.com, www.rediffmail.com etc…
e) Social Networks
Ex: www.facebook.com, www.twitter.com, www.linkedin.com etc…
f) Discussion Forums Etc…
Ex: www.top100interviewquestions.com
Forms validation
Links validation
Database testing
Navigation testing
Performance (Load, Stress and Endurance)
Search operations validation Etc…
The difference between client server and Web Testing: In client server application
you have two different components to test. Application is loaded on server machine
while the application exe on every client machine. You will test broadly in
categories like, GUI on both sides, functionality, Load, client-server interaction,
back-end. This environment is mostly used in Intranet networks. You are aware of
number of clients and servers and their locations in the test scenario. Web
application is a bit different and complex to test as tester don’t have that much
control over the application. Application is loaded on the server whose location
may or may not be known and no exe is installed on the client machine, you have
to test it on different web browsers. Web applications are supposed to be tested on
different browsers and OS platforms so broadly Web application is tested mainly
for browser compatibility and operating system compatibility, error handling, static
pages, back-end testing and load testing.
What is HTML?
HTML stands for Hyper Text Markup Language, it is for displaying web pages and
other information. Basically it is data presenter in the web.
What is HTTP?
Hyper Text Transfer Protocol, the data transfer protocol used on the World Wide
Web.
What is HTTPS?
Validating, processing client requests and providing response from the Server.
What is the difference between desktop application testing and web testing?
Desktop testing is standalone testing. Desktop need not worry about number of
user etc. Web testing is related to client server. Web testing needs to have many
testing’s like usability, GUI, and Load Testing.
Which different test scenarios will you consider when you are testing a
website?
The first scenario to be tested is the GUI. The page layout and the design elements
used on the website have to be uniform throughout the website. The next part to be
tested is the different links provided inside the website. Along with the links, it will
also have to be tested, whether internal navigation is smooth and also check if it is
complex. The next important aspect to be checked is the response time of the
website. This will also have to checked, when there is heavy load on the system.
Which are the different test case formats that are a part of web testing?
The test case formats will vary depending on whether the website is a static
website or a dynamic website. The static website will have the front end test cases,
navigation test cases. On the other hand, if the website is a dynamic website, then
the test cases will be broadly divided under front end test cases, back end test
cases, field validations test cases, database test cases, security test cases, etc.
While testing a website, which are the different configurations which will have
to be considered these configurations may demand for change in strategy of
the webpage.
The most important factor that needs consideration is the hardware platform, while
some may use the Mac platform, some may use Linux, while others may use
Microsoft platform. The next comes the browsers and their versions into the
picture. Along with the browser versions, the different Plug-Ins also have to be
taken into consideration. The resolution of the monitor also with color depth and
text size are some of the other configurations.
Which are the common browsers, where a web application should be tested?
The browsers that are commonly used are Mozilla Firefox, Google Chrome,
Internet Explorer and Opera. Therefore, a web application must be tested on these
browsers as well.
How are the static websites different than the dynamic websites?
Static websites only give out information to the user and the user does not have any
sort of interaction with the website. On the other hand, dynamic websites are the
ones, where the user communicates with the system and is asked for information.
On providing the required information, he may be able to retrieve the information
he is looking for.
It can be used for client side validations as well as Server side validations.
Web services are application components, communicate using open protocols and
these can be used by other applications. XML is the basis for Web services SOAP
(Simple Object Access Protocol), UDDI (Universal Description, Discovery and
Integration) and WSDL (Web Services Description Language) are the Web services
platform elements.
Types of web testing security problems are: Denial of Service (DoS) attack, buffer
overflow etc…
1. Functionality Testing:
In Functional testing we need check the each components are functioning as
expected or not, so it is also called as “Component Testing”. Functional testing is
to testing the functionality of the software application under test. Basically, it is to
check the basic functionality mentioned in the functional specification document.
Also check whether software application is meeting the user expectations. We can
also say that checking the behavior of the software application against test
specification.
Link Testing:
Check for all broken links on your web pages & all links are working correctly.
Along with you can check the different links on you web pages:
Internal links
Outgoing links
MailTo Links
Anchor Links
In the web application testing the “Forms Testing” is the essential part of testing
any web site. The main purpose of Form is to get the information from user & store
into the database. And keep on interact with them. Below are the test cases which
should be considered while doing form testing:
First thing to test in the form is the Validations on each form fields. Here two
types of Validation need to be consider – “Client side” & “Server side”
validations.
Check default values are being populated
Check for all Mandatory fields. Check if a user not entered a required field
showing a mandatory error message.
Add information using form & update information using form.
Tab orders.
Check for the default values of fields.
Forms are optimally formatted for better readability
In Negative testing enter invalid inputs to the forms fields.
Cookies testing:
Cookies are the small text file that gets saved the user’s system. These files are
saved in the desired location and used by the browsers to use the cookies. Basically
used to maintain the session mainly login sessions the Cookies are used. Instructive
information is recorded in the cookie (like Sessions) and that can be retrieved for
the web pages. User can able to enable or disable the Cookies in browser options.
The basic test to check if cookie is stored in the user’s machine in the encrypted
format. (I am writing separate article on Cookie Testing, post it soon)
To optimize web site in the search engine then testing of HTML and CSS make
important role. In this testing check that different search engines can crawl your
site without any error. You should check for all Syntax Errors, Color Schemas in
the readable, check for Standard Compliance and the standards are followed like
W3C, ISO, ECMA, IETF, WS-I, OASIS
Now a day’s the Usability testing is playing an important role of any web
application. This testing is to be carried out by testers like you to ensure that cover
all possible test cases which targeted audience of the web application are doing
regularly.
All possible options like Menus, Links or buttons on web pages should be
visible & accessible from all the web pages.
Web pages navigation should be Easy to use
Help instruction content should be clear & should satisfy the purpose.
All options on header, footer & left/right navigation should be consistent
throughout the pages.
3. Compatibility testing.
OS compatibility:
In new technology newer graphics designs are used & different APIs are used
which may not work on different Operating systems. Also on rendering of different
objects like text fields, buttons may display different on different Operating
System. So testing of web application should be carried out on different OS like
Windows, MAC, Solaris, Unix, Linux with different OS flavors.
Mobile browsing:
In latest Mobi technology you also test out Mobile Browser Compatibility too. It
may be possible of Compatibility issues on Mobile browsers. So in the new Mobi
technology age you testing of web pages on mobile browsers should be carried out.
4. Database Testing:
Data reliability is key part in the Database testing. So for web application should
be thoroughly tested.
Crowd testing is when a large group of perfect strangers try your product then give
you phenomenally helpful feedback on usability, bugs and features.
To test the software application Crowd testing can be used. It not limited to web
applications, but for all kinds of applications including mobile application testing.
Crowdtesting is dependent on the quality of the crowd. Also it depends on a crowd
that is composed out of a large group of diver’s people. It used do system tests for
performance and usability testing. Simply this is complementary to ‘normal’
testing. The mainly complicated job of crowd testing is determining a good enough
crowd.
6. Interface Testing:
In the Interface testing mainly three areas should be covered: Web Server,
Application Server and Database Server. Ensure that all the communications
between these all servers should be carried out correctly. Verify that if connection
between any servers is reset or lost then what is happing. Check if any request
interrupts in-between then how application is responding. On returns of any error
from web server or database server to application server then error should be
Errors are handled properly & display such errors to the user.
Web Server: Check if all web requests are accepting and not any requests are
denied or leakages.
Application Server: Check if request is sending correctly to the any server &
displayed correctly. Check if errors are catch properly & displayed to admin
user.
Database Server: Check if database server is returns correct result on query
request.
Check if all three servers are connected to each & test request is processing
correctly. And any error in between then error should be displayed to user.
7. Performance Testing:
Performance testing is to check the web application is working under the heavy
load. Performance testing is categorized into two parts:
Web Stress Testing, Web Load Testing
8. Security testing:
The security testing is carried out to ensure that is any information leakage in terms
of encrypting the data. In e-commerce website the Security testing is play an
important role. In this testing check if secure information is to check whether how
to store sensitive information such as credit cards etc.
Software industry has achieved a solid recognition in this age. In this article you
should have clear idea on web application testing with web testing test cases.
Obviously these checklists have its own advantages and disadvantages. And the
selection criteria are totally based on your requirements of software web testing.
Apart from that we also discussed current trends followed by IT industries on Web
application testing.
Over to You!
If you enjoy reading this article please make sure to share it with your friends.
Please ask your queries in below comment section. Your feedback is always
appreciated!