Test Scenarios 


 

       

1. You are a tester for testing
    a large system. The system data model is very large with many attributes and there
    are a lot of interdependencies within the fields. What steps would you use to test
    the system and also what are the effects of the steps you have taken on the test
    plan? OR
You are the test manager for about
    to the system testing. The development team says that due to change in requirements,
    they will be able to deliver the system to you for testing 5 working days after
    the due date. You cannot change the resources (Work hours, days, test tools). What
    steps will you take to be able to finish the testing in time?
 
Solution 
        ·         
Improve Supervision: More reviews
    of artifacts or program means Stage containment of the defects. 
            ·         
    Creation of Base Line Data
        which is accurate and updated. ·
                        
                    Strict Change Management: Correct versions are tested. 
                            ·         
                    Phase wise / module wise approach
                        for the testing. ·
                                        
                                    More focus on Module and Integration testing. 
                                            ·         
                                    Add more resources. 
                                        ·    
                                                
                                                Work With Independent Test Team. ·
                                                                
                                                            Automation for regression testing. ·
                                                                            
                                                                        Rank the functionality as per risk and concentrate more on critical functionality
                                                                        testing ·
                                                                                        
                                                                                    Effective Communication - Reporting of critical defects (Using defect tracking/management
                                                                                    system) and resolution plan discussion with development team 
                                                                                            ·         
                                                                                    Traceability matrix of changed
                                                                                        requirement and Impact Analysis documents creation 
                                                                                                ·         
                                                                                        Test cases updating as per
                                                                                            Changed requirement ·
                                                                                                            
                                                                                                        Exit criterion is achieved , release product 
                                                                                                            2. There is one application which runs on a single terminal. There is another application
                                                                                                                that works on multiple terminals. What are the tests techniques you will use on
                                                                                                                the second application that you would not do on the first application? 
                                                                                                                    Solution 
                                                                                                                            ·         
                                                                                                                    Concurrency Test 
                                                                                                                        ·    
                                                                                                                                
                                                                                                                                Update and Rollback ·
                                                                                                                                                
                                                                                                                                            Response time and Server connectivity 
3. Explain give examples of the
    following black box techniques. 
           a. Boundary Value testing 
    
           b. Equivalence testing 
              c. Error Guessing
Solution
Boundary Value Analysis: If Valid
    Input is 100 
                    Boundary + 1 = 101    
                        Boundary Value = 100 
                                
                    Boundary – 1= 99 Equivalence
                        Partitioning: If Valid Input is in the Range of 10 and 15 
                                        
                            Invalid Below the Partition = 8 
                                            
                                Valid In the Partition = 12 
                                                
                                    Outside of the Partition = 18 
                                        Error Guessing: Its testers experience to test the functionality creating such a
                                        data which may cause failure. 
                                                        
                                            Eg – Feb 29, 2001                
                                                        
                                                    4. What are the product standards for? 
                                                            a. Test Plan    
                                                            b. Test Script   
                                                                    Solution: Test Plan: 
                                                                    
                                                                        ·    
                                                                                
                                                                                Scope 
                                                                                    ·    
                                                                                            
                                                                                            Objective ·
                                                                                                            
                                                                                                        Assumptions ·
                                                                                                                        
                                                                                                                    Risks 
                                                                                                                        ·    
                                                                                                                                
                                                                                                                                Roles and Responsibilities ·
                                                                                                                                                
                                                                                                                                            Test Environment ·
                                                                                                                                                            
                                                                                                                                                        Tools 
                                                                                                                                                            ·    
                                                                                                                                                                    
                                                                                                                                                                    Schedule ·
                                                                                                                                                                                    
                                                                                                                                                                                Test Design ·
                                                                                                                                                                                                
                                                                                                                                                                                            Test data Management ·
                                                                                                                                                                                                            
                                                                                                                                                                                                        Communication 
                                                                                                                                                                                                             

                                                                                                                                                                                                        Test Script: 
                                                                                                                                                                                                            ·    
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    Sequence ·
                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                Source : Data Entry Operator ·
                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                            Script Event : Enter Invalid Input ·
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                        Evaluation Criterion : Error Message Should be Displayed 
                                                                                                                                                                                                                                                                ·         
                                                                                                                                                                                                                                                        Comments : Help regarding valid
                                                                                                                                                                                                                                                            Input 
                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                            6. Your company is about
                                                                                                                                                                                                                                                                to roll out an E-Commerce application. It is not possible to test the application
                                                                                                                                                                                                                                                                on all types of browsers on all platforms and operating systems. What steps would
                                                                                                                                                                                                                                                                you take in the testing environment to reduce the business risks and commercial
                                                                                                                                                                                                                                                                risks? Solution 
                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                    ·    
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            Scoring of browsers and OS, High ranked Browsers and OS do Brower compatibility
                                                                                                                                                                                                                                                                            test for them ·
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                        State that it does not support to other OS and browsers, if risk is involved. 
                                                                                                                                                                                                                                                                                            ·    
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    Commercial Risk : Ensure competitive look and feel , Easy Navigation 
                                                                                                                                                                                                                                                                                                    ·
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                Business Risk : Ensure Transaction Correctness ,Security (data), transactions, roll
                                                                                                                                                                                                                                                                                                                back procedure etc ·
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                            Proper Authorization in Place ·
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                        Response time (performance) 
                                                                                                                                                                                                                                                                                                                                              7. 
                                                                                                                                                                                                                                                                                                                                                Your organization believes that acceptance testing is a good quality process for
                                                                                                                                                                                                                                                                                                                                                any IT organization. Your customer would like to do acceptance testing, but does
                                                                                                                                                                                                                                                                                                                                                not know how to do it. He requests you to create an acceptance test plan. Build
                                                                                                                                                                                                                                                                                                                                                a sample acceptance test plan and state 2 well defined acceptance criterions 
                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                 

                                                                                                                                                                                                                                                                                                                                            Solution - Project description 
                                                                                                                                                                                                                                                                                                                                                    - Scope - User roles and responsibilities
                                                                                                                                                                                                                                                                                                                                                    - Acceptance criteria - Test cases to be executed 
                                                                                                                                                                                                                                                                                                                                                             

                                                                                                                                                                                                                                                                                                                                                        Acceptance Criterion 
                                                                                                                                                                                                                                                                                                                                                            -----------------------------------------------------------------------------------------------
                                                                                                                                                                                                                                                                                                                                                        No    Acceptance
                                                                                                                                                                                                                                                                                                                                                            req       
                                                                                                                                                                                                                                                                                                                                                                                Critical   
                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                             Result            
                                                                                                                                                                                                                                                                                                                                                                     Remark 
                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                                 Yes  
                                                                                                                                                                                                                                                                                                                                                                              No         
                                                                                                                                                                                                                                                                                                                                                                    Accept        Reject
                                                                                                                                                                                                                                                                                                                                                                -----------------------------------------------------------------------------------------------
                                                                                                                                                                                                                                                                                                                                                                1   Login time  - should not be Yes
                                                                                                                                                                                                                                                                                                                                                                                 Yes    
                                                                                                                                                                                                                                                                                                                                                                                    Accept    
                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                                                                                              more than 6 sec          
                                                                                                                                                                                                                                                                                                                                                                                        2.  Concurrent users (min 40 Users)
                                                                                                                                                                                                                                                                                                                                                                                                Yes         
                                                                                                                                                                                                                                                                                                                                                                                               Reject             
                                                                                                                                                                                                                                                                                                                                                                                                     Only 30 works 
                                                                                                                                                                                                                                                                                                                                                                                                    -----------------------------------------------------------------------------------------------
                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                

    
8. 
    Mention 4 reasons why we should test software. 
        Solution ·
                        
                    To find defects ·
                                    
                                To ensure that it meets user requirements 
                                        ·         
                                To ensure that it is fit for
                                    use 
                                        ·    
                                                
                                                To reduce cost of quality by delivering defect free product 
                                                        ·         
                                                To achieve customer satisfaction
                                                
                                                    ·    
                                                            
                                                            Continuously improving test process ·
                                                                            
                                                                        Reduce risk of software failure ·
                                                                                        
                                                                                    To determine the state of software.