20 Web Testing Interview Questions and Answers

Dear Readers, Welcome to Web Testing interview questions with answers and explanation. These 20 solved Web Testing questions will help you prepare for technical interviews and online selection tests conducted during campus placement for freshers and job interviews for professionals.

After reading these tricky Web Testing questions, you can easily attempt the objective type and multiple choice type questions on this topic.

Define performance and stress testing.

Performance Testing: Performance Testing is performed to evaluate application performance under some load and stress condition. It is generally measured in terms of response time for the user activity. It is designed to test the whole performance of the system at high load and stress condition.

Stress testing: It involves imposing the database with heavy loads. Such as, large numbers of users access the data from the same table and that table contains large number of records.

What are the typical problems in web testing?

The following problem may arise in web testing:

- 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

Write the test scenarios for testing a web site?

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:

- Check the form with valid data in all the fields.
- Check the form with invalid data which violate the validations of fields in the form.
- Check the form by leaving some mandatory fields in the form.
- Check the form with existing record details.

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.

What is the difference between authentication and authorization in web testing?

The differences between authentication and authorization are:

- 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.

Explain the different between HTTP and HTTPS?

The differences between HTTP and HTTPS are following:

- Hypertext Transfer Protocol is a protocol for information to be passed back and forth between web servers and clients. Https is refers to the combination of a normal HTTP interaction over an encrypted Secure Sockets Layer (SSL) or Transport Layer Security (TLS) transport mechanism.

- HTTP use port number 80 whereas HTTPS use port number 443.

- HTTP can support the client asking for a particular file to be sent only if it has been updated after a certain date and time whereas Hypertext Transfer Protocol over Secure Socket Layer is built into its browser that encrypts and decrypts user page requests as well as the pages that are returned by the Web server.

What is the difference between the static and dynamic website?

The differences between Static and Dynamic website are following:

- 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 don't 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.

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.

What is Cross Site Scripting?

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.

What type of security testing you performed?

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:

- Configuration of the application or the server
- Services running on the server
- Existing user or customer data hosted by the application

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.

What is usability testing in web testing?

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.

What is difference between web based testing and windows based testing?

Web based testing is concerned with the following:

- Broken Links in the web pages.
- Performance of web like response time.
- Graphical User Interface
- Text on the page

Where as in Windows based testing we look for :

- Functionality
- Integration

What are the common bugs in web testing?

In Web based testing following bugs are very common:

- Issues in navigation of application
- Usability
- Cosmetic Issues and GUI Issues
- Functional Issues
- Performance issues - How time it takes to display the page to the user.
- Load - How much load an application can handle at any point in time.
- Stress - At how much load application will crash.
- Flow of data - Information which is entered by user is stored in correct format.
- If proper static information is not displayed along with text fields to enter data.
- Links are broken, default focus is not set in forms, tab key not working, all key board short cuts are not fully functional

What is the difference b/w desktop application testing and web testing?

Desktop Testing - Desktop application testing is standalone testing, it is independent of the other application which are executing on the different machines. In this application testing, tester need not worry about number of user.

Web testing - Web testing is related to client server. Web testing needs to have many testing’s like Usability, GUI, Load Testing, Performance Testing.

What is field validation in 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@domain.com format.

What is focus testing in website?

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.

Explain some web testing tools.

Some of the webs testing tools are discussed below:

- JMeter (load and performance tester): JMeter is a Java desktop application which is used to create the load test environment and measure performance of the application during load test. It can be used for examine the performance of static and dynamic website.

- Selenium (Web app testing tool ): Selenium is a contains several application like Selenium IDE, Selenium Remote Control and Selenium Grid to examine and evaluate the web application.

What is website testing?

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.
24 Quality Center Interview Questions and Answers
Quality center interview questions and answers - What is Quality Center?, What are the modules of Quality Center?, How many built in tables does Quality Center have?, What are the benefits of Requirement Traceability?........
45 QTP Interview Questions and Answers
Quick Test Pro (QTP) interview questions and answers - What is QTP?, Explain the concepts of Test Fusion Report of QTP, How does Run time data (Parameterization) is handled in QTP?, Explain the QTP Tool interface, Explain how QTP recognizes Objects in AUT
Testing - What is QTP?
Testing - What is QTP? - Quick test pro is used to automate user actions (like mouse clicks and keyboard actions) of an application.
Post your comment
Discussion Board
it's great with useful experiences from author. thanks so much.
Ng Nguyen 11-8-2015
Very informative
Very Informative and easy to understand. Thanks a ton. Appreciate it..
Nikhi 09-24-2015
Nice feeling your website helped me alot.
Abhishek Kumar 06-5-2015
Good job
Good collection of questions, these are basics every QA person should be aware of. Could be better if supported with few examples.thanks
neetu 05-17-2015
web tetsting
very nice and very useful for beginners
suneetha 03-10-2015
Informative & Easy to
The Questions mentioned are informative & more than the questions, the answer proived covers a lot of points & they are put in a very simple language which make the user to understand them quickly & easily.
Shruti 02-5-2015
Very good and helpfull
Very Helpfull
Akash 01-7-2015
its easy to understand and very useful For Tester.
keshav 01-3-2015