Q. 227: Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries: Show
A. 1000, 5000, 99999 Q. 243: Consider the following state transition diagram of a two-speed hair dryer, which is operated by pressing its one button. The first press of the button turns it on to Speed 1, second press to Speed 2 and the third press turns it off. state transition diagram of a two-speed hair dryer Which of the following series of state transitions below will provide 0-switch coverage? A. A,C,B Q. 256: Consider the following statements about early test design: i. Early test design can prevent fault multiplication A. i, iii & iv are true. Ii & v are false Q. 272: The selection of a test approach should consider the context: i. Risk of Failure of the Project, hazards to the product and risks of product failure to humans A. i,ii,iii,iv are true Q. 284: Based on the IEEE Standard for Software Test Documentation (IEEE Std 829-1998), which sections of the test incident report should the following details be recorded? a) Test incident report identifier 1. Expected results A. a: 3; b: 5; c: 1, 2, 4 and 6 Q. 291: Test planning has which of the following major tasks? i. Determining the scope and risks, and identifying the objectives of testing. A. i,ii,iv are true and iii is false Q. 295: Match every stage of the software Development Life cycle with the Testing Life cycle: i. Hi-level design a Unit tests A. i-d , ii-a , iii-c , iv-b Dynamic testing technique is the type of testing that validates the functionality of an application when the code is executed / by executing the code. In simple terms dynamic testing is performed by actually using the application and seeing if a functionality works the way it is expected to. There is also something called ‘static’ testing. Learning about static testing helps understand dynamic testing better, so let’s summarize static testing first. Table Of Contents
What is Static Testing?Static testing as the name itself suggests is static in nature, which also means there are no changing conditions or parameters. In other words, this is performed without executing the code. For example, when you are verifying a document or testing a document, you will go through the document, review it and then suggest or make changes. Also, when there is a code review / walkthrough, the development team goes over the code step by step and checks whether the code written is according to the development standards and also it traverses through correctly to achieve the results desired. Since, we are not changing anything in the documents, but also reviewing them, it is called static testing. We are testing, but it is static in nature. Other examples for static testing are review of test strategy document, test plan document, test case walkthrough, Inspection of the code etc. Now, let’s look at Dynamic testing. The name itself suggests that it is “Dynamic” in nature, which means changing. This is the kind of testing that we do with changing values or conditions by executing the code. This involves testing the application in real-time by giving inputs and examining the result or the output value of behavior. Dynamic Testing ExampleThe easiest example to understand this is the login functionality of any application, like Google’s gmail.com. If we are creating an account, and a password for the account, you would have certain rules for creating a strong password. For instance, 8 characters long, needs to have a capital letter and at least one special character. These are nothing but different conditions or parameters and if the user inputs any value that deviate from these rules, the application should either warn or reject. If you are testing this functionality as an example, you would input all the conditions required to test this and then validate the output. You would also input the non-working parameters, for example, input a 4-character password and verify if there is an error that is thrown. This is all part of Dynamic testing. Types of Dynamic TestingDynamic testing is broadly classified into two types.
Since we are interested more in learning about Blackbox testing, we also need to know that there are again two broad types of Blackbox testing.
Dynamic testing is performed at different levels. Let’s look at the basic definition of what each testing means.
There are advantages to using dynamic testing. At the same time there are some disadvantages. Let’s look at the advantages first. Advantages of Dynamic Testing
Disadvantages of Dynamic Testing
In a nutshell, Dynamic testing technique is the type that is followed in all the organizations today. It is used as a tool that the QA can rely on and has successfully shown results of higher quality when followed properly in organizations. This is extremely useful technique in software testing. Other popular articles:Which are static and which are dynamic techniques?Static Testing involves checklist for testing process. Dynamic Testing involves test cases for testing process. It includes walkthroughs, code review, inspection etc. It involves functional and nonfunctional testing.
Why are static and dynamic testing described as complementary?Because they have different aims and differ in the types of defect they find. Because they share the aim of identifying defects but differ in the types of defect they find.
Which of the following is static testing?Static testing involves manual or automated reviews of the documents. This review is done during an initial phase of testing to catch Defect early in STLC. It examines work documents and provides review comments. It is also called Non-execution testing or verification testing.
What is common objective in reviews static analysis and dynamic testing?Reviews, static analysis and dynamic testing have the same objective – identifying defects.
|