SE401 · Annotated SlidesAdvanced Topics — Advanced Topics: Web and Mobile Testing
Advanced Topics · Annotated slides

Advanced Topics: Web and Mobile Testing

Websites vs. web applications, web testing (functionality: links, forms, cookies, HTML/CSS, databases; usability, interface, compatibility, security, performance), automation with Selenium, and mobile testing: native, web and hybrid apps, and the challenges and types of mobile testing.

Slide text Study notes Highlight: key words Tips, tricks & traps Seen again elsewhere How it can come up
Slide 1: Slide 1
Exam weight Low
    Slide 2: • Web Testing • Mobile Testing
    Exam weight Low

      Web Testing

      3
      Exam weight Low
        Slide 4: • Web-site vs. Web Application
        Exam weight Low
        1. Website: mostly static informational pages. Web application: interactive client–server program run in a browser.
        Slide 5: • A website is a collection of related web pages, including multimedia
        Exam weight Low
          Slide 6: • A web application: is a client–server computer program which the client
          Exam weight Low
            Slide 7: So ..
            Exam weight Low
              Slide 8: • Web testing is a software testing
              Exam weight Low
                Slide 9: • It is performed
                Exam weight Low
                  Slide 10: • Web based systems and applications interoperate with many different:
                  Exam weight Low
                    Slide 11: • Some or all the following testing types may be performed depending on the web testing requirements:
                    Exam weight Low
                    1. Web testing: functionality, usability, interface, compatibility, security, performance.
                    Slide 12: features and operational behavior of a web
                    Exam weight Low
                      Slide 13: • 1.1 Check all the links:
                      Exam weight Low
                      1. Functionality: check all links (broken, internal, external, mailto), forms, cookies, HTML/CSS validity, database integrity.
                      Slide 14: • 1.2 Test forms on all pages: Forms are part of any website that is used for
                      Exam weight Low
                        Slide 15: • 1.3 Test Cookies: cookies are small files that are stored on a user's computer. They hold data specific
                        Exam weight Low
                          Slide 16: • 1.4 Test HTML and CSS:
                          Exam weight Low
                            Slide 17: • 1.5 Database Testing: validity testing: test if any errors are shown while executing queries
                            Exam weight Low
                              Slide 18: • Examples of Functionality Test Scenarios:
                              Exam weight Low
                                Slide 19: • Usability testing is the process by which the human-computer interaction characteristics of a system are measured, and weaknesses
                                Exam weight Low
                                  Slide 20: • 2.1 Navigation:
                                  Exam weight Low
                                    Slide 21: • 2.2 Content:
                                    Exam weight Low
                                      Slide 22: • Examples of Usability Test Scenarios:
                                      Exam weight Low
                                        Slide 23: layers in a web application are:
                                        Exam weight Low
                                          Slide 24: • Compatibility testing is used to determine if your software is compatible with other elements of a system with which it should
                                          Exam weight Low
                                          1. Compatibility: browsers, operating systems, devices, screen sizes.
                                          Slide 25: • Examples of Compatibility Test Scenarios:
                                          Exam weight Low
                                            Slide 26: • Security Testing is vital for web applications that store sensitive customer information like credit cards, ids, passwords, etc.
                                            Exam weight Low
                                            1. Security: unauthorized access, session expiry, SQL injection, XSS, HTTPS.
                                            Slide 27: • Examples of Security Test Scenarios:
                                            Exam weight Low
                                              Slide 28: • This will ensure your site works under all loads. Testing activities will include but not limited to:
                                              Exam weight Low
                                              1. Performance: load and stress testing of the site.
                                              Slide 29: • Examples of Performance Test Scenarios:
                                              Exam weight Low
                                                Slide 30: • Automation testing helps to relieve the bulk of tedious and repetitive human tasks.
                                                Exam weight Low
                                                  Slide 31: • Faster feedback • Improved test efficiency
                                                  Exam weight Low
                                                    Slide 32: Selenium is open source testing tool for web applications. Any web application can be testing on web browsers with this automation testing tool.
                                                    Exam weight High
                                                    1. Selenium: open-source tool to automate browser testing.
                                                    🎯 How this can come up · 1 question
                                                    MCQ

                                                    Which tool automates web browser testing?

                                                    Slide 33: • Eclipse IDE (Users can use other IDEs too) • Selenium Client and language WebDiver bindings
                                                    Exam weight Low
                                                      Slide 34: • Web-site vs. Web Application
                                                      Exam weight Low

                                                        Mobile Testing

                                                        35
                                                        Exam weight Low
                                                          Slide 36: • What is a Mobile Application?
                                                          Exam weight Low
                                                            Slide 37: mobile application is a software application developed
                                                            Exam weight Low
                                                              Slide 38: Slide 38
                                                              Exam weight Low
                                                                Slide 39: • Types of Mobile Applications:
                                                                Exam weight High
                                                                1. Native apps (built for one platform), mobile web apps (run in the browser), hybrid apps (web code inside a native wrapper).
                                                                🎯 How this can come up · 1 question
                                                                MCQ

                                                                An app built with web technologies inside a native container is:

                                                                Slide 40: • Native Apps:
                                                                Exam weight Low
                                                                  Slide 41: • Mobile Web Apps:
                                                                  Exam weight Low
                                                                    Slide 42: • Hybrid Apps:
                                                                    Exam weight Low
                                                                      Slide 43: • Mobile Testing:
                                                                      Exam weight Low
                                                                        Slide 44: • Mobile application testing is a process by which application software developed
                                                                        Exam weight Low
                                                                          Slide 45: Forecast number of mobile users worldwide from 2020 to 2025
                                                                          Exam weight Low
                                                                            Slide 46: Slide 46
                                                                            Exam weight Low
                                                                              Slide 47: • Issues that make testing mobile applications more challenging:
                                                                              Exam weight Low
                                                                              1. Mobile challenges: many devices and OS versions, screen sizes, networks, battery, interruptions (calls, notifications).
                                                                              Slide 48: Slide 48
                                                                              Exam weight Low
                                                                                Slide 49: Slide 49
                                                                                Exam weight Low
                                                                                  Slide 50: • Consists of
                                                                                  Exam weight Low
                                                                                    Slide 51: • Mandatory fields are working as required • Mandatory fields are displayed distinctively from the non-mandatory
                                                                                    Exam weight Low
                                                                                      Slide 52: • The application allows necessary social network options such as sharing, posting and navigation etc.
                                                                                      Exam weight Low
                                                                                        Slide 53: • Allows other applications to perform satisfactorily, and it does not eat into the memory of the other applications
                                                                                        Exam weight Low
                                                                                          Slide 54: • Fundamental objective is to ensure that the application performs acceptably under certain performance requirements such as access by
                                                                                          Exam weight Low
                                                                                            Slide 55: • Performs as per the requirement under different load conditions • The current network coverage is able to support the application at
                                                                                            Exam weight Low
                                                                                              Slide 56: • Evaluate product and/or hardware to determine if it can handle projected load volumes
                                                                                              Exam weight Low
                                                                                                Slide 57: • Validate the application longevity whenever the user load is rigorous • Validate the network performance while moving around with the device
                                                                                                Exam weight Low
                                                                                                  Slide 58: • The fundamental objective of security testing is to ensure that the application’s data and networking security requirements are met as per
                                                                                                  Exam weight Low
                                                                                                    Slide 59: • Able to withstand any brute force attack which is an automated process of trial and error used to guess a person’s username, password or
                                                                                                    Exam weight Low
                                                                                                      Slide 60: • Prevent from SQL injection related attacks • Identify and recover from any unmanaged code scenarios
                                                                                                      Exam weight Low
                                                                                                        Slide 61: • Check if any cryptography code is broken and ensure that it is repaired • Validate whether the business logic implementation is secured and not
                                                                                                        Exam weight Low
                                                                                                          Slide 62: • Investigate file caching and prevent any malicious possibilities from the same
                                                                                                          Exam weight Low
                                                                                                            Slide 63: • The usability testing process of the Mobile application is performed to have a quick and easy step application with less functionality than a
                                                                                                            Exam weight Low
                                                                                                              Slide 64: • Buttons should have the required size and be suitable to big fingers • Buttons are placed in the same section of the screen to avoid
                                                                                                              Exam weight Low
                                                                                                                Slide 65: • Application provides a method for going back or undoing an action, on touching the wrong item, within an acceptable duration
                                                                                                                Exam weight Low
                                                                                                                  Slide 66: • Closing of the application is performed from different states and verify if it re-opens in the same state
                                                                                                                  Exam weight Low
                                                                                                                    Slide 67: • Compatibility testing on mobile devices is performed to ensure that since mobile devices have different size, resolution, screen, version
                                                                                                                    Exam weight Low
                                                                                                                      Slide 68: • User Interface of the application is as per the screen size of the device, no text/control is partially invisible or inaccessible
                                                                                                                      Exam weight Low
                                                                                                                        Slide 69: • Crash recovery and transaction interruptions • Validation of the effective application recovery situation post
                                                                                                                        Exam weight Low
                                                                                                                          Slide 70: • Installation testing
                                                                                                                          Exam weight Low
                                                                                                                          1. Also test installation, interruptions, crash recovery and battery/network conditions.
                                                                                                                          Slide 71: • Continued keypad entry during interrupts and other times like network issues
                                                                                                                          Exam weight Low
                                                                                                                            Slide 72: • Both manual and automated testing are widespread and can provide good results.
                                                                                                                            Exam weight Low
                                                                                                                              Slide 73: Slide 73
                                                                                                                              Exam weight Low
                                                                                                                                Slide 74: • There are universal testing tools suitable for Android and iOS solutions. • Some examples are:
                                                                                                                                Exam weight Low
                                                                                                                                  Slide 75: • What is a Mobile Application?
                                                                                                                                  Exam weight Low