Question-61. What is dynamic software testing?

Answer- In contrast to static testing, dynamic software testing tests the software when it’s executing. The tester runs the software in a test environment and goes through all the steps involved, entering the inputs and verifying the actual output with the expected result.

Question-62. What do you mean by confirmation testing in software testing?

Answer- A confirmation test involves retesting a software product to see if the previously reported bugs have been fixed. A bug is usually reported by testers when a test fails. A new version of the software is released after the development team fixes the defect. Now that the new software build has been released, the testing team will retest it in order to ensure that the reported bug was actually fixed. It is also referred to as retesting.

Question-63. What is the defect life cycle?

Answer- Defect life cycle, also known as a bug life cycle, is a life cycle of various stages through which a defect goes during its whole lifetime. This life cycle starts as soon as the defect is discovered or reported by the tester and ends when the tester ensures that the defect is resolved and it won’t occur again.

Question-64. What is defect cascading in Software testing?

Answer- In software testing, defect cascading is the scenario in which one defect leads to the occurrence of several other defects in a program. If a defect goes unnoticed during testing or if it doesn’t get reported, it has the potential to trigger other problems. The result is that multiple defects arise during the later stages of the production process.

Question-65. A defect that could have been removed during the initial stage is later removed. What effect does this have on the cost?

Answer- If a defect is discovered during the project’s initial phase, it is important that the defect is removed during that phase rather than afterwards. The cost of fixing a defect increases greatly if it is delayed until a later stage in the development cycle. Following is a diagram showing how the cost of a fixing defect increases throughout the phases.

It is more cost-effective to eliminate defects during the design phase, but it becomes twenty times more expensive to do so during maintenance.

Question-66. What is meant by the workbench concept?

Answer- A workbench is a document that explains how an activity should be completed. Often, it is referred to as a step, phase, or task. Workbenches serve as platforms for building and monitoring testers’ work structures. Using this method, it is possible to divide tasks into each phase and to reach the customer’s expectations using the initial data.

Every workbench has five tasks, which are as follows:

  • Input.
  • Execute.
  • Check.
  • Production output.
  • Rework.

Question-67. When there is neither a frame ID nor a frame name, what technique should be considered in the script?

Answer- When frame name and frame id are unavailable, we can use frame index instead. Suppose there are four frames on a page that don’t have frame names or frame identifiers (frame ID), but we can still select them with the frame (zero-based) index attribute. For instance, the first frame would be indexed 0, the second frame would be at index 1, the third frame would be at index 2, and the fourth frame would be at index 3.

driver.switchTo().frame(int arg0);

Question-68. How can Selenium WebDriver be used to detect broken links?

Answer- You might be asked this tricky question by the interviewer. As an example, he could give you a web page with 20 links, and you would have to determine which of those 20 links are working and which aren’t or are broken.

Considering that you must verify the functionality of each link, the workaround is to send HTTP requests to each link and analyze the response. When you navigate to a URL using the driver.get() method, you will receive a 200 – OK status response. It is evident that the link has been obtained and is working. In the case of any other status, the link is broken.

Let’s now understand how to do that.

As a first step, we must determine the different hyperlinks on the webpage using anchor tags. We can obtain hyperlinks for each tag using the attribute ‘href’ value and analyze the response received using the driver.get() method.

Conclusion

Software testing is an important activity that ensures quality, giving the confidence to release the software to customers. This article explained the testing process and its importance in software development. It also covers important concepts on manual testing and will guide you to master the field of manual testing.

However, testing is only a single component of a good software development strategy. A development team should use high coding standards, best practices, and patterns to reduce the bug count. As a long-term strategy, the best way to improve the testing process is to test frequently, measure the results, gather feedback and use it to get better.

[/vc_column_text][/vc_column][/vc_row]