Shreeram P Hungund & Sr.Test Engineer Raghavendra S & Test Lead

Slides:



Advertisements
Similar presentations
Requirements for a UI Test Framework Stanislaw Wozniak Bernie Miles.
Advertisements

© 2010 Wipro Ltd - Confidential SGSN Automation Testing Using TTCN3 Authors: Jyothi Gavara Nikhil Rahul Ekka.
CAL (CAN Application Layer) and CANopen J. Novák Czech Technical University in Prague Faculty of Electrical Engineering Department of Measurement.
Automata Based Programming Anatoly Shalyto, Fedor Tsarev Saint-Petersburg State University of Information Technologies, Mechanics and Optics.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Model Checking and Model-Based Design Bruce H. Krogh Carnegie Mellon University.
Computer Software Types Three layers of software Operation.
SOC Virtual Prototyping: An Approach towards fast System- On-Chip Solution Date – 09 th April 2012 Mamta CHALANA Tech Leader ST Microelectronics Pvt. Ltd,
National Institute Of Science & Technology CAN-based Higher Layer Protocols and Profiles Rajaaranjan Mishra 1 EI DECEMBER-2004 CAN-based Higher.
Author Software Engineering Institute
Software Engineering Chapter: Computer Aided Software Engineering 1 Chapter : Computer Aided Software Engineering.
ELEE 4303 Digital II Introduction to Verilog. ELEE 4303 Digital II Learning Objectives Get familiar with background of HDLs Basic concepts of Verilog.
Stubs & Drivers Programs can involve the use of few to many programmer functions. Oftentimes the calling program for a function is not available to the.
Connecting A ZigBee Sensors Network To A Cellular Modem For Remote Control Presenting: Eli Zuaretz Gilad Tiomkin Advisor: Dr. Chen Avin Co Advisor: Ilan.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
Advanced BIML topics Be a W.I.S.E. A.S.S. Me ! Self-employed BI consultant Author Trainer MCT
EMT 351/4 DIGITAL IC DESIGN Week # 1 EDA & HDL.
CIS 375 Bruce R. Maxim UM-Dearborn
Effective Performance Testing in Agile and DevOps
SOIS APP Working Group Overview
Collect and share knowledge
TEST AUTOMATION IN BDD WAY
Preliminary Report: PLC Trainer
DELLSOFT Technologies Pvt. Ltd.
A scalable approach for Test Automation in Vector CAST/Manage with
MetaOS Concept MetaOS developed by Ambient Computing to coordinate the function of smart, networked devices Smart networked devices include processing.
APPLICATION OF DESIGN PATTERNS FOR HARDWARE DESIGN
THE PROCESS OF EMBEDDED SYSTEM DEVELOPMENT
DevOps – Test Automation for IOTs
‘Full’ Multimodal Brain Monitoring at NCCU How can I use ICM+
ICT meeting Business needs
Test Automation for IoT solutions A Paradigm shift
HTML5 based Notification System for Updating
SENIOR MANAGER - SOFTWARE TESTING PRACTICE
Automation – “A Critical Component of Agile testing”
Galen - Automated testing of look and feel
Wireless Communications Test Bed: Ad Hoc Networking
USAGE OF VARIOUS AUTOMATION TOOLS TO ACHIEVE WIDER TEST COVERAGE
API Testing for Effective Regression
SANJAN BORA (LEAD QA ENGINEER)
Automated Test Execution & Reporting (TER) Plugin using JIRA
Pankaj Kumar, Tech Lead Bhuvaneswari Radhakrishnan, Senior Engineer
IoT Enabled CRM Testing
Yakub Reddy Gurijala –Sr.Technical Architect
Rapid fire performance testing of 250 websites
A Must to Know - Testing IoT
HATS – Hierarchical Automated Test Sequencer Platform
Kumar Abhishek (Senior Engineer)
Improve Test efficiency for "Loading/Unloading of Petrol/Diesel using Batch Controller inside Distribution Terminal" for Rail, Marine, Pipeline and Road.
AUDIT AND VALIDATION TESTING FOR BIG DATA APPLICATIONS
ARTIFICIAL INTELLIGENCE IN SOFTWARE TESTING
SUBMISSION TITLE Srinivas Munigala & Principal QA Engineer
Unleashing the power of customized reports testing framework
Datamatics Global Service Ltd
Network Models, Hardware, Protocols and number systems
HOME AUTOMATION: WEB BASED CONTROL
Network Hardware and Protocols
What-If Testing Framework
DevOps - Extreme Automation using Cucumber, Selenium, Ruby
Electronics Engineering Division
Good Morning/Afternoon/Evening
Software Engineering Group, Motorola India Electronics Pvt. Ltd.,
R. Hayden Anderson & Kyle Prouty
Software and Software Engineering
PLC + HMI Heart of the Industry 4.0 Smart Factory
The Internet and Electronic mail
Atefeh Sadeghzadeh Control engineer – Target safety and control
System architecture, Def.
Chapter 15 Advanced Laboratories RF link using the eZ430-RF2500
Presentation transcript:

Automating Hardware and Software integration testing based on CAN open protocol Shreeram P Hungund & Sr.Test Engineer Raghavendra S & Test Lead Larson and Toubro Technology Services ltd

Abstract In today’s world, automation for embedded systems network increases rapidly. Hardware and Software integration testing is one important phase on PDLC. CAN protocol is widely used in several industries like automotive, avionics and medical devices. It is the broadcast based communication protocol between devices. On the other hand, CAN Open is the multi master CAN based communication protocol and profile based device specification. CAN Open uses the CAN Hardware for application layer in OSI/ISO model, the task includes are Configuring, accessing, messaging between various kinds of devices. This paper describes the automation testing of CAN open protocol applications is used in Embedded network as a hardware and software integration testing by using CAN open protocol tools and scripting language. Here, we are using CAN open protocol in embedded network and automating the CAN open application using PCAN view tool and Unit test framework for the result of automation testing. Keywords: CAN open protocol, Automation, Hardware and software integration testing, PCAN view tool, Python scripting

Agenda CAN Open Protocol PCAN View tool Unit Test framework Hardware and Software Testing Test stub Can open protocol application methods and Result

CAN Open Protocol

Device Model

Network Management

Unit Testing Framework

Methods and Procedures: Connecting the CAN Bus and testing procedure

Methods and Procedures: Connecting the CAN Hardware to Control board

CAN Receiver and Transmit Tab:

Actual code without test stub: Test stubs are the test code which is used to simulate a specific test condition Actual code without test stub: void getPatientStatus(bool newPatientDetected) { newPatientDetected = global_flag; } global_flag is 1: Patient is on the BED global_flag is 0: Patient is on the BED In real environment 'global_flag' will set only when weight/patient is on the bed.

Modified code with stub: Create a dummy stub function as follows void stub_patientState(uint8_t pps_data) { global_flag = pps_data; } Use CAN SDO to call the stub function "stub_patientState" with following arguments. If 'pps_data' is 1 -> Patient is on the Surface If 'pps_data' is 0 -> Patient left the Surface Sample data captured using in PCAN-View tool ( is an easy to supervise the data flow on a Controller Area Network (CAN))

https://en.wikipedia.org/wiki/Test_stub References & Appendix https://vector.com/portal/medien/cmc/application_notes/AN-ION-1-1100_Introduction_to_the_CANopen_Protocol.pdf http://www.peak-system.com/PCAN-View.144.0.html?&L=1 https://www.peak-system.com/produktcd/Pdf/English/PCAN- USB_UserMan_eng.pdf https://en.wikipedia.org/wiki/Test_stub https://docs.python.org/2/library/unittest.html

Author Biography Shreeram P Hungund Shreeram is working as senior test engineer V&V departments in Larson and Toubro Technology Services ltd Mysore. He has about 6.5 years of work experience in product testing and verification. He holds MTech in Electronics from PESIT Bangalore.

Author Biography Raghavendra S Raghavendra S is working as Test lead in V&V departments for Larsen and Toubro Technology Services ltd Mysore. He has about 12.8 years of work experience in Software development, Product Validation and Test Automation development in embedded domain

Thank You!!!