Software Testing Interview Questions – Set 01

What is Random/Monkey Testing?

Random testing is also known as monkey testing. In this testing, data is generated randomly often using a tool. The data is generated either using a tool or some automated mechanism.

Random testing has some limitations:

Most of the random tests are redundant and unrealistic.
It needs more time to analyze results.
It is not possible to recreate the test if you do not record what data was used for testing.

Which types are testing are important for web testing?

There are two types of testing which are very important for web testing:

  • Performance testing: Performance testing is a testing technique in which quality attributes of a system are measured such as responsiveness, speed under different load conditions and scalability. The performance testing describes which attributes need to be improved before the product is released in the market.
  • Security testing: Security testing is a testing technique which determines that the data and resources be saved from the intruders.

When we perform testing?

We will perform testing whenever we need to check all requirements are executed correctly or not, and to make sure that we are delivering the right quality product.

What is exploratory testing?

Simultaneous test design and execution against an application is called exploratory testing. In this testing, the tester uses his domain knowledge and testing experience to predict where and under what conditions the system might behave unexpectedly.

What is Agile testing?

Agile testing is a testing practice that uses agile methodologies i.e. follow test-first design paradigm.

How do we test a web application? What are the types of tests we perform on the web application?

To test any web application such as Yahoo, Gmail, and so on, we will perform the following testing:

  • Functional testing
  • Integration testing
  • System testing
  • Performance testing
  • Compatibility testing ( test the application on the various operating systems, multiple browsers, and different version)
  • Usability testing ( check whether it is user friendly)
  • Ad-hoc testing
  • Accessibility testing
  • Smoke testing
  • Regression testing
  • Security testing
  • Globalization testing ( only if it is developed in different languages)

What is the negative and positive testing?

Negative Testing: When you put an invalid input and receive errors is known as negative testing.

Positive Testing: When you put in the valid input and expect some actions that are completed according to the specification is known as positive testing.

Why do we need to perform compatibility testing?

We might have developed the software in one platform, and the chances are there that users might use it in the different platforms. Hence, it could be possible that they may encounter some bugs and stop using the application, and the business might get affected. Therefore, we will perform one round of Compatibility testing.

What is the difference between web application and desktop application in the scenario of testing?

The difference between a web application and desktop application is that a web application is open to the world with potentially many users accessing the application simultaneously at various times, so load testing and stress testing are important. Web applications are also prone to all forms of attacks, mostly DDOS, so security testing is also very important in the case of web applications.

When do we stop the testing?

We can stop testing whenever we have the following:

  • Once the functionality of the application is stable.
  • When the time is less, then we test the necessary features, and we stop it.
  • The client’s budget.
  • When the essential feature itself is not working correctly.