Test cases:-
Test scenario: High-level concept of what to test. It is a detailed test procedure
Test case 1 | Test case 2 | Test case 3 |
Input range | Exact sum | Submit Button |
Test case | Test scenario |
Steps, expected result, data | detailed test procedure |
Low-level division of test scenario | High-level classification of requirements. |
What to test • Detailed information • How to test • Result | What to Test • Requirement breakdown |
Requirement: Phone connects automatically to Wi-Fi | |
Test case | Test scenario |
• Verify device is within range • Verify device connects to Wi-Fi • | • |
Tools:
Jira: – Project management, bug tracking, task assignment.
Mantis: – A bug management tool
Automated testing:
Pros:
• Run test quickly and effectively.
• Cost-effective.
• Technically beneficial.
• Reports clarity.
Cons:
• Time-consuming.
• Tools can be expensive.
• Initial time consuming
Manual Testing:-
Pros:
• Short term cost is lower.
• More likely to find User-like issues. (Real User)
• More Flexible.
Cons:
• Certain cases cannot cover manually.
• Repetitive
• Cannot reuse manual tests.
Factors to select automation:
• Repetitive test
• Frequent regression test iterations.
• Large number of users -> application resource.
• Stable UI.
• Build verification tests
• Can’t rely on manual testing.
Factors for selecting automation tools
• Budget.
• Resources (skills)
• Testing Needs.
• Environment
• Technology
• Stable version / Vendor support.
• Free trial version.
• Tool learning curve.
• Single project / Common project.
• Testing type
• Interface (Read and play)
• Input data (Excel, XML, CSV)
• Report interface.
Types of automation tools
• Functionality
• Performance
• Test management
Types of licenses:
• Open source.
• Licensed.
Types of automation tools:
SQL: Structured Query Language
• Clause
• Data Manipulation
• Select
• Delete
• Insert
• Update
• Data Definition
• Create
• Alter
• Truncate
• Drop
• Data Control:– Grant, Revoke
Selenium
Selenium IDE
Selenium RC
Selenium Grid
Selenium web driver
Selenium IDE commands. It can be divided into three parts
1. Actions à Click, Type, Mouse Hover,
2. Assertions à Assert, verify, wait for
3. Accessors à Store title
Selenium web driver
Test script à web driver à AUT
Or,
Or test script à selenium RC serveràAUT
Web driver should do:
1. Browser control
2. Select web element
3. Debug
Mobile App Testing:
Hardware testing
Software Testing à web app, native app (Android, IOS), Hybrid App.
Mobile App Testing Challenges
· Different range of OS
· Different range of mobile devices
· Variety of mobiles
· Network support
Mobile app testing approach.
- Install and uninstall
- Fields Testing
- Functionalities
- Interruption Testing
- Update Testing
- Usability
- User Interface
- Performance testing
- Security
- Recovery
- Localization Testing: such as google map, weather forecasting app, mostly location related.
Mobile Test Automation Tools:
- Appium
- Robotium