Project 11
Project 11
Submitted By:
Yendluri Raja
PS No:40905076
III. Scope
The scope of testing for the Driver Assistance System is extensive, encompassing both the software and
hardware components. The primary focus is on ensuring the effectiveness, reliability, and safety of the
driver assistance features integrated into the system.
Functional Testing:
Ensuring each driver assistance feature performs its intended function accurately.
Safety Testing:
Verifying the safety measures in place to protect the driver and passengers.
Integration Testing:
Ensuring seamless integration between hardware and software components.
Usability Testing:
Assessing the user interface and overall user experience with driver assistance features.
- Description: The system should be able to recognize and interpret traffic signs.
1. NFR#1: Performance
- Description: The system should have real-time response capabilities to detected hazards.
2. NFR#2: Reliability
- Description: The system should be available for use whenever the vehicle is operational.
3. NFR#3: Usability
- Description: The user interface should be clear, intuitive, and minimize driver distraction.
4. NFR#4: Safety
- Description: The system must adhere to ISO 26262 functional safety standards.
5. NFR#5: Security
- Description: The system should be resilient to cyber-attacks to maintain functionality and safety.
6. NFR#6: Scalability
- Description: The system should integrate with various sensors for future upgrades or
replacements.
7. NFR#7: Interoperability
- Description: The system should adhere to industry-standard communication protocols for
interoperability.
8. NFR#8: Maintainability
- Description: Diagnostic tools must be available for quick issue identification and resolution.
Test Environments
o Windows 10 – Chrome, Firefox and Edge
o Mac OS – Safari Browser
o Android Mobile OS – Chrome
o iPhone Mobile OS - Safari
Exclusions
L&T Technology Services CONFIDENTIAL
Page 5 of 20
Mini Project-Zomato
- Testing Process:
- Best Practices:
- Context-Driven Testing: Tailoring testing to the specific context of the driver assistance system
application.
- Shift Left Testing: Initiating testing from the early stages of development for each functionality.
- Exploratory Testing: Applying ISTQB fundamentals, Python, and Robot Framework Concepts.
- Testing end-to-end scenarios involving multiple functionalities to simulate end-user flows.
Step#1 – Creation of Test Scenarios and Test Cases for the different features in scope.
In preparing the test scenarios and cases for the Driver Assistance System software for autonomous
vehicles, various test designing techniques have been employed to ensure thorough coverage:
- Decision Table Testing: Systematically testing different combinations of inputs and expected
outcomes.
- Feature: Route Planning Decision Table
L&T Technology Services CONFIDENTIAL
Page 7 of 20
Mini Project-Zomato
- Conditions:
- Time of day (Peak, Off-Peak)
- Traffic condition (Heavy, Moderate, Light)
- Actions:
- Suggest alternative routes
- Recommend the fastest route
- Test Cases:
- Peak time, Heavy traffic: Suggest alternative routes
- Off-Peak time, Light traffic: Recommend the fastest route
o - Regression Testing and Retesting: Verifying that new changes do not adversely affect
existing features, and retesting defects to verify fixes.
o - Regression Testing and Retesting: Evaluation of the user interface, functionality, and
overall user experience.
Step#3 – Below best practices have been deployed to make the AUT’s testing better:
Several best practices are employed to enhance testing::
- Context-Driven Testing: Testing based on the specific context of the driver assistance system and
its requirements.
- Shift Left Testing: Initiating testing early in development for early issue detection.
- Exploratory Testing: Relating to ISTQB fundamentals, Python, and Robot Framework Concepts.
End-to-end scenarios are tested to simulate user flows involving multiple functionalities.
VIII. Defect Reporting Procedure: [Use Bug Report Template shared wherever applicable]
During the test execution –
o Any deviation from the expected behavior by the driver assistance system is diligently noted. If it
cannot be reported as a defect, it is documented as an observation or issue, or formulated as a
question.
o Usability issues, if identified, are thoroughly documented.
o After the discovery of a defect, it undergoes retesting to verify the reproducibility of the issue.
o Screenshots along with detailed steps to reproduce the defect are meticulously documented.
o At the conclusion of the test execution, all encountered defects are carefully observed.
Note:
o MS Excel is employed as the tool for documenting defects, test scenarios, and test cases in the
driver assistance system testing process.
X. Test Schedule
Task Timelines
Creating Test Plan 29/10/2023 – 01/11/2023
Test Case Creation 02/11/2023 – 05/11/2023
Test Case Execution 06/11/2023 – 09/11/2023
Summary Reports Submission 11/11/2023
Approved test plan document. Test scenarios and test cases created and
Requirement documents with traceability reviewed.
matrix. Test scripts (if automated testing is
Test Designing Access to the test environment. involved) developed and validated.
Availability of test data and necessary tools. Test coverage analysis completed.
Test data prepared and verified.
Approved test design documentation. Test execution completed as per the test
Availability of test environment with plan.
necessary configurations. Test logs, including pass/fail status,
Test Execution Test data prepared and available. documented.
Test scripts (if automated) ready for Defects reported, tracked, and retested.
execution. Test summary report generated.
Based on discussions with the mentor, the criteria for suspension and resumption of the Test
Automation Project milestones for the application of Driver Assistance System software for autonomous
vehicles are outlined below:
Suspension Criteria:
1. Non-Availability of Critical Resources: Testing may be suspended if key resources, such as team
members or essential tools for the driver assistance system, become unavailable for an extended
period. This ensures that testing can resume efficiently when all necessary resources are accessible.
2. Major Technical Issues: In the presence of significant technical challenges hindering project
progress, the testing phase may be temporarily suspended. This allows the team to address and resolve
these issues before continuing with testing, ensuring the reliability and accuracy of the driver
assistance system.
3. Scope Changes: Any unexpected alterations to the project scope that impact ongoing testing
milestones can lead to suspension. This ensures that testing is aligned with the modified project
scope and that the team is adequately prepared for any adjustments.
Resumption Criteria:
1. Availability of Critical Resources: Testing can resume when critical resources become available
again, and the team is fully operational. This criterion ensures that testing continues with the necessary
support and expertise.
2. Resolution of Technical Issues: After addressing major technical challenges, the testing phase
can be resumed. This criterion ensures that the driver assistance system is stable and functions as
intended, providing reliable results during testing.
3. Clear Scope Definition: If there are any changes to the project scope, resumption is
contingent on a clear and communicated definition of these changes. This ensures that testing
aligns with the updated project scope, preventing misunderstandings and ensuring accurate
testing outcomes in the driver assistance system.
XIV. Tools
The tools selected for the Test Automation Project for the 3D mapping and localization software for
autonomous vehicles include:
1. Testing Framework:
- Selenium: Utilized for automated testing of web-based components in the driver assistance system.
- Chosen for mobile application testing within the driver assistance system.
- Robot Framework: Employed for high-level keyword-driven testing, providing flexibility and clarity in test
automation.
2. Version Control:
- Git: Selected for version control, ensuring collaborative development and effective code management
for the driver assistance system testing project.
3. Continuous Integration:
- Jenkins: Implemented for continuous integration, automating the build and test processes in the driver
assistance system testing lifecycle.
4. Defect Tracking:
- Jira: Utilized for defect tracking and management throughout the testing process in the driver assistance
system. Jira facilitates organized and efficient handling of identified defects.
- Mitigation: Implement a Backup Resource Planning strategy to ensure project continuity in case
of key resource unavailability for the driver assistance system testing.
XVI. Approvals
Discussion with the mentor is required for the approval of the following documents related to the
application of Driver Assistance System:
1. Test Plan: A comprehensive document outlining the testing strategy, scope, and approach for
the Driver Assistance System project.
2. Test Scenarios: A set of scenarios defining various testing conditions and expected outcomes for the
Driver Assistance System project.
3. Test Cases: Detailed test cases derived from test scenarios, providing step-by-step
instructions for test execution in the Driver Assistance System project.
4. Reports: Documentation of test execution results for the Driver Assistance System
project, including any defects, issues, and an overall test summary.
Upon mentor approval, these documents will serve as the foundation for effective planning and
execution of the Test Automation Project in the content Driver Assistance System project.
1.Component Name
a.Code or Pseudo Code
import math
def test_distance_calculator():
result = calculate_distance(0, 0, 3, 4)
assert result == 5.0
result = calculate_distance(1, 2, 4, 6)
L&T Technology Services CONFIDENTIAL
Page 16 of 20
Mini Project-Zomato
if __name__ == "__main__":
test_distance_calculator()
print("All tests passed!")
2.Component Name
Statement Coverage
Test Cases with Test Data:
Test Case 1: Verify initialization of the obstacle detection module.
Test Data: Map data - {building1, road2, park3}
Test Case 2: Test decision-making logic in autonomous mode.
Test Data: GPS coordinates - {lat1, lon1}, Lidar data - {point1, point2}
Decision Coverage
Test Cases with Test Data:
Test Case 1: Test decision points in path planning for autonomous vehicles.
Test Data: Destination - {lat2, lon2}, Traffic conditions - Moderate
Test Case 2: Validate response to sudden obstacles in the environment.
Test Data: Obstacle detected – Yes
Condition Coverage
Test Cases with Test Data:
Test Case 1: Test handling of low GPS signal strength.
Test Data: Weak GPS signal
Test Case 2: Verify behavior when Lidar sensor malfunctions.
Test Data: Lidar sensor failure
Path Coverage
Test Cases with Test Data:
Test Case 1: Test the complete path from localization to destination reached.
Test Data: Starting point - {lat3, lon3}, Destination - {lat4, lon4}
Test Case 2: Verify alternate paths for avoiding high traffic areas.
Test Data: High traffic area in the route
Acceptance test criteria for the driver assistance system are the conditions and specifications that
must be met to consider the system acceptable for deployment. These criteria are derived from the
system's functional and non-functional requirements. Examples of acceptance test criteria for a
driver assistance system may include accurate object detection, reliable collision avoidance,
seamless integration with vehicle controls, and user-friendly interface interactions.
Validate the accuracy of data presented by the system, such as navigation information, warnings,
and sensor inputs.
Documentation Review:
Review user manuals and documentation to ensure they are comprehensive, accurate, and provide
adequate guidance for end-users.
Scalability and Adaptability:
Check if the system can scale to accommodate additional features or updates and if it can adapt to
different vehicle models or configurations.
End-User Feedback:
Gather feedback from end-users to assess their satisfaction with the system's features, usability, and
overall performance.
This checklist ensures a comprehensive evaluation of the driver assistance system during the
acceptance testing phase, addressing key aspects of functionality, usability, and compliance.
CONFIDENTIAL
Test Data
Test Steps
Pre-requisites
Test Scenario
Scenarios
<< Test
Test Case ID
Mini Project-Zomato
Validat 1. Open 1. Click on 1. User should Emerge P0 Pass SDV effectively engages
e the 'My Account' be logged in, ncy lane-keeping in energy-
Registe Applicati Drop menu taken to Breakin efficient mode.
ring an on 2. Click on 'Account g
Accoun (https:// 'Register' Succcess' Activate
t by demo.op option page and d
providi encart.co 3. Enter new proper details
ng only m) in Account Details should be
the any into the displayed on
Mandat Browser Mandatory the page
ory Fields (First 2. User should
fields Name, Last be taken to
(TS_00
Name, E- 'Account'
1)
Mail,Telephone Not page and a
TC_R Registe
, Password, Applic confirm email
F_001 r
Password able should be
Functio
Confirm and sent to the
nality
Privacy Policy registed email
Fields) address
4. Click on
'Continue'
button (ER-1)
5. Click on
'Continue'
button that is
displayed in
the 'Account
Success' page
(ER-2)
1.Understanding Project Paths: Learned how to set up and manage project paths to ensure easy access
to necessary files and resources.
2. Device Configuration: Understood the importance of configuring devices properly, including
specifying device types and versions for smooth project execution.
3. APK File Management: Gained insights into managing Android application packages (APKs),
including details like file paths, package names, and versions.
4. Appium Server Usage: Learned to use Appium as a tool for automating mobile applications and the
significance of starting the Appium server to establish a connection with the mobile device or
emulator.
5. Appium Inspector Interaction: Explored the Appium Inspector for inspecting and interacting with
elements within the mobile application, enhancing the testing and development process.
XXIV. References
1.Smith, J., & Johnson, A. (Year). "Driver Assistance System Technologies: A Comprehensive
Review." Journal of Automotive Engineering, 20(3), 123-145.
2. XYZ Corporation. (Year). "SDV Driver Assistance System Documentation." Retrieved from
[URL]
3.Appium Documentation. (Year). "Appium: Automation for Mobile and Desktop Apps."
Retrieved from [URL]