Interview Questions, Answers and Tutorials

Category: Software Testing

Test Case for E-Commerce Site (Validation)

Field Input – 1: Maximum Length UserId Purpose:Test that users can only put in a maximum length of characters for input fields. Prerequisites:The user is not logged into the system. The user account ‘test.user’ exists and is in good standing. Test Data:User ID: Put over 40 Characters.Password: testing4U Steps:1. Visit the Login page.2. Enter the User ID stated above.3. Enter the Password stated above.4. Click the Submit button. Verify Results:5. The user will receive an Error message “User ID must have a maximum length of 40”. Post-Test:6. Notes and Questions.Field Input – 2: Maximum Length Password Purpose:Test that users can…

Test Case for E-Commerce Site (Security)

SECURITY-1: Administrator User Role Purpose: Test that an administrator user can log in to the system and access only the link page for system administrators. Prerequisites: The user is not logged into the system. The administrator user account exists in good standing and is set up with an administrator role. Test Data: User ID: admin.role Password: testing4U Steps: 1. Visit the Login page. 2. Enter the User ID stated above. 3. Enter the Password stated above. 4. Click the Submit button. Verify Results: 5. The user is directed to the administrative link page. Post-Test: 6. Click the Logout button. 7.…

Software Testing Dictionary – 10

Table testing. Test access, security, and data integrity of table entries. [William E. Lewis, 2000]   Test Bed. An environment containing the hardware, instrumentation, simulators, software tools, and other support elements needed to conduct a test [IEEE 610].   Test Case. A set of test inputs, executions, and expected results developed for a particular objective.   Test conditions. The set of circumstances that a test invokes. [Daniel J. Mosley, 2002]   Test Coverage The degree to which a given test or set of tests addresses all specified test cases for a given system or component.   Test Criteria. Decision rules…

Software Testing Dictionary – 11

Unit Testing. Testing performed to isolate and expose faults and failures as soon as the source code is available, regardless of the external interfaces that may be required. Oftentimes, the detailed design and requirements documents are used as a basis to compare how and what the unit is able to perform. White and black-box testing methods are combined during unit testing.   Usability testing.Testing for ‘user-friendliness. Clearly, this is subjective and will depend on the targeted end-user or customer. Validation. The comparison between the actual characteristics of something (e.g. a product of a software project and the expected characteristics). Validation…

Software Testing Dictionary – 9

Sanity Testing – typically an initial testing effort to determine if a new software version is performing well enough to accept it for a major testing effort. For example, if the new software is often crashing systems, bogging down systems to a crawl, or destroying databases, the software may not be in a ‘sane’ enough condition to warrant further testing in its current state.   Scalability testing is a subtype of performance test where performance requirements for response time, throughput, and/or utilization are tested as the load on the SUT is increased over time. [Load Testing Terminology by Scott Stirling ]…

Software Testing Dictionary – 8

Race condition defect. Many concurrent defects result from data-race conditions. A data-race condition may be defined as two accesses to a shared variable, at least one of which is a write, with no mechanism used by either to prevent simultaneous access. However, not all race conditions are defects.   Recovery testing how well a system recovers from crashes, hardware failures, or other catastrophic problems.   Regression Testing.Testing conducted for the purpose of evaluating whether or not a change to the system (all CM items) has introduced a new failure. Regression testing is often accomplished through the construction, execution, and analysis…

Software Testing Dictionary – 7

  Negative test. A test whose primary purpose is falsification; that is tests designed to break the software[B.Beizer1995]     Orthogonal array testing: Technique can be used to reduce the number of combinations and provide maximum coverage with a minimum number of TC. Pay attention to the fact that it is an old and proven technique. The OAT was introduced for the first time by Plackett and Burman in 1946 and was implemented by G. Taguchi, 1987   Orthogonal array testing: Mathematical technique to determine which variations of parameters need to be tested. [William E. Lewis, 2000]   Oracle. Test…

Software Testing Dictionary – 6

Latent bug A bug that has been dormant (unobserved) in two or more releases. [R. V. Binder, 1999] Lateral testing. A test design technique based on lateral thinking principles, to identify faults. [Dorothy Graham, 1999] Limits testing. See Boundary Condition testing. Load testing Testing an application under heavy loads, such as testing a website under a range of loads to determine at what point the system’s response time degrades or fails. Load Stress test. A test is designed to determine how heavy a load the application can handle. Load-stability test. Test design to determine whether a Web application will remain…

Software Testing Dictionary -5

High-level tests. These tests involve testing whole, complete products [Kit, 1995] Inspection A formal evaluation technique in which software requirements, design, or code are examined in detail by a person or group other than the author to detect faults, violations of development standards, and other problems [IEEE94]. A quality improvement process for written material that consists of two dominant components: product (document) improvement and process improvement (document production and inspection). Integration The process of combining software components or hardware components or both into an overall system. Integration testing – testing of combined parts of an application to determine if they…

V Model

V & V PROCESS MODEL :  V&V Model is Verification & Validation Model. In This Model, We work simultaneously on Development and Testing. In this Model One V for Verification and one For Validation first ‘V,’ we follow SDLC(Software Development Life Cycle), and Second ‘V’ we follow STLC-(Software Testing Life Cycle).  Testing normally done in a large system in 2 parts. The functional verification and validation against the Requirement specification and Performance evaluation against the indicated requirements.  Testing activity is involved right from the beginning of the project. The use of the V&V process model increases the rate of success…