HUAWEI TECHNOLOGIES CO., LTD. Security Level: Slide title :40-47pt Slide subtitle :26-30pt Color::white Corporate Font : FrutigerNext LT Medium Font to.

Slides:



Advertisements
Similar presentations
HUAWEI TECHNOLOGIES CO., LTD. :32-35pt : R153 G0 B0 : FrutigerNext LT Medium : Arial :30-32pt : R153 G0 B0 : :20-22pt (2-5 ) :18pt : FrutigerNext LT Regular.
Advertisements

TTCN-3 & Conformance Testing Anitha Krishnamoorthy.
International Telecommunication Union © ITU-T Study Group 17 Use of ITU-T Formal Languages Amardeo Sarma NEC Europe Ltd.
Comparing TTCN-3 and TTCN-2 TTCN-3 User Conference May 3 rd -May 5 th,2004 Sophia Antipolis.
Slide title :40-47pt Slide subtitle :26-30pt Color::white Corporate Font : FrutigerNext LT Medium Font to be used by customers and partners : Arial Copyright©2011.
Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007.
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
6.1 Copyright © 2014 Pearson Education, Inc. publishing as Prentice Hall Building Information Systems Chapter 13 VIDEO CASES Video Case 1: IBM: Business.
CS 330 Programming Languages 09 / 16 / 2008 Instructor: Michael Eckmann.
Software Testing. “Software and Cathedrals are much the same: First we build them, then we pray!!!” -Sam Redwine, Jr.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 An Introduction to Software Engineering.
Implementation. We we came from… Planning Analysis Design Implementation Identify Problem/Value. Feasibility Analysis. Project Management. Understand.
Technical Communication Training Why Training ? What do companies need.
Introduction to Software Testing
© 2006, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice. Automation – How to.
Professional Informatics & Quality Assurance Software Lifecycle Manager „Tools that are more a help than a hindrance”
Presented by Brian Griffin On behalf of Manu Goel Mohit Goel Nov 12 th, 2014 Building a dynamic GUI, configurable at runtime by backend tool.
CASE Tools And Their Effect On Software Quality Peter Geddis – pxg07u.
1.Database plan 2.Information systems plan 3.Technology plan 4.Business strategy plan 5.Enterprise analysis Which of the following serves as a road map.
PROGRAMMING LANGUAGES The Study of Programming Languages.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
12 Building and Maintaining Information Systems.
UML - Development Process 1 Software Development Process Using UML (2)
ON THE ROAD TO BUSINESS APPLICATIONS OF SEMANTIC WEB TECHNOLOGY Sematic Web in Business - How to Proceed IASW Kari Oinonen Kiertotie 14.
Chapter 2 The process Process, Methods, and Tools
XP 1 HTML: The Language of the Web A Web page is a text file written in a language called Hypertext Markup Language. A markup language is a language that.
02/10/2015 Page 1 R. Theeuws Siemens Atea Filename: CBD_ervaring Werkgroep Component Based Developments Ervaring CBD.
Teaching material for a course in Software Project Management & Software Engineering – part II.
Configuration Management (CM)
1. Validating Wireless Protocol Conformance Test Cases Amresh Nandan Paresh Jain June 2004.
This chapter is extracted from Sommerville’s slides. Text book chapter
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
SE: CHAPTER 7 Writing The Program
Component Technology. Challenges Facing the Software Industry Today’s applications are large & complex – time consuming to develop, difficult and costly.
From Quality Control to Quality Assurance…and Beyond Alan Page Microsoft.
® © 2009 IBM Corporation IBM Software Group Application Transformation using EGL Todd Britton IBM Rational.
Copyright SOLINET GmbH SDL & Requirements of Signalling Systems William H. Skelton SOLINET, Stuttgart.
HUAWEI TECHNOLOGIES CO., LTD. Slide title :40-47pt Slide subtitle :26-30pt Color::white Corporate Font : FrutigerNext LT Medium Font to be used by customers.
Systems Development Life Cycle
An Introduction to Software Engineering (Chapter 1 from the textbook)
MNP1163 (Software Construction).  SDLC and Construction Models  Construction Planning  Construction Measurement.
HNDIT23082 Lecture 06:Software Maintenance. Reasons for changes Errors in the existing system Changes in requirements Technological advances Legislation.
Software Engineering Lecture # 1.
SOFTWARE ENGINEERING. Objectives Have a basic understanding of the origins of Software development, in particular the problems faced in the Software Crisis.
Lecture 2 System Development Lifecycles. Building a house Definition phase Analysis phase Design phase Programming phase System Test phase Acceptance.
Design and Planning Or: What’s the next thing we should do for our project?
IBM Global Services © 2005 IBM Corporation SAP Legacy System Migration Workbench| March-2005 ALE (Application Link Enabling)
TTCN-3 Testing and Test Control Notation Version 3.
Canadian SNOMED CT Strategy October 2012 Draft. Content 1 Background Approach Current State Future State Considerations Action Plan.
CASE Tools and their Effect on Software Quality
Slide title :40-47pt Slide subtitle :26-30pt Color::white Corporate Font : FrutigerNext LT Medium Font to be used by customers and partners : Arial HUAWEI.
Software Development Languages and Environments. Computer Languages Just as there are many human languages, there are many computer programming languages.
This has been created by QA InfoTech. Choose QA InfoTech as your Automated testing partner. Visit for more information.
Information Systems Development
Kundan Singh Venkatesh Oct 2013
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
Recent trends in estimation methodologies
Understanding of Automation Framework
Modern Systems Analysis and Design Third Edition
Objects First with Java
Introduction to Software Testing
Automation Leveraging Artificial Intelligence
Transforming Automation through Artificial Intelligence
TDL: The ETSI Test Description Language
ABHISHEK SHARMA ARVIND SRINIVASA BABU HEMANT PRASAD 08-OCT-2018
TDL: The ETSI Test Description Language
In the Senior Design Center
TDL: The ETSI Test Description Language
Modern Systems Analysis and Design Third Edition
Presentation transcript:

HUAWEI TECHNOLOGIES CO., LTD. Security Level: Slide title :40-47pt Slide subtitle :26-30pt Color::white Corporate Font : FrutigerNext LT Medium Font to be used by customers and partners : Arial Experiences of migration from TTCN-2 to TTCN-3 Prasanna Venkatesh Balakrishna S Pol Murulidhara R Huawei Technologies India Private Ltd

HUAWEI TECHNOLOGIES CO., LTD. First a glimpse of history TTCN-2 (formally TTCN-2++) is defined as per ETSI TR This standard which was a significant revision on the original TTCN was released in However by this time the need for a more “programming language” oriented TTCN had been considered and analyzed. By 2000 ETSI completed the recommendations for TTCN-3. These were adopted as the ES series. But by far TTCN-3 is the most successful of the TTCN standards and has dominated protocol testing for more than a decade.

HUAWEI TECHNOLOGIES CO., LTD. Is TTCN-2 relevant today? Well, may not be for many of you! But there are a large set of legacy test cases which still run on TTCN-2. In our team in Huawei, we roughly have 20% of our test cases in TTCN-2 and this count seems to be growing! TTCN-2 Test case count (Protocol-wise)TTCN-2 Test case increase % in last 5 years

HUAWEI TECHNOLOGIES CO., LTD. This topic has been discussed in T3UC in the past! Couple of past T3UC papers 1.Comparing TTCN-3 and TTCN-2, Claude Desroches, Strategic Test Solutions (T3UC 2004) 2.Refactoring and Converting a TTCN-2 Test Suite, Thomas Deiß, Nokia (T3UC 2005) But the issue of TTCN-2 to TTCN-3 conversion is still a relevant issue for us. So we thought that we can discuss this issue once again and with the Indian T3UC community. Is this a relevant issue for you?

HUAWEI TECHNOLOGIES CO., LTD. Why at all migrate to TTCN-3? TTCN-3 is superior to TTCN-2 TTCN-3 standards are continuously enhanced and have better support in the industry TTCN-3 professionals are more easier to get than TTCN-2 professionals TTCN-3 boasts a greater number of tools, better quality tools and wider functionality tools.

HUAWEI TECHNOLOGIES CO., LTD. Some more practical reasons Debugging a TTCN-2 script is a nuisance, there are tools which can debug TTCN3 script just like C code debugging. TTCN-3 offers a rich set of predefined function will make scripting easy. Editing in tabular format is a slow process compared to one done using TTCN3 text Allows dynamic test configurations, there by adopting for a variety of testing Extensible. anything can be represented using TTCN3, hence can be tested. Very less help in terms of online groups, problem experience etc in resolving complex issues Easy to train new members to work with TTCN3 as it is more like programming language.

HUAWEI TECHNOLOGIES CO., LTD. Approaches for migration 1 Retain the existing test cases in TTCN- 2. Write only the new ones in TTCN-3 2 Rewrite or Refactor all the test cases to TTCN-3. Generally the framework is redesigned and use the advantages of TTCN-3 3 Perform a language level conversion to TTCN-3 from TTCN- 2. Use tools or automated approaches to perform this conversion

HUAWEI TECHNOLOGIES CO., LTD. Only new test cases on TTCN-3 If a few new test cases have to be written, only these test cases can be written in TTCN-3 while retaining the old ones in TTCN-2. The ASN.1 definitions can be taken from TTCN- 2, but have the TTCN-3 test cases as a separate suite. Advantages of the approachIssues with the approach Old test cases continue to runThere could be duplication of test functionality Less effort consumedMost likely two tools would be required to execute the test suites. Summary: For situations where there is a totally independent new functionality to be tested, this approach is good. Additionally if the new test cases are roughly % of the existing test cases this approach is good.

HUAWEI TECHNOLOGIES CO., LTD. Technical Advantages of TTCN-3 in brief TTCN2 is adequate for conformance test but lacked provisions for new and more different test needs like interoperability testing, system testing, integration testing – Also there was limited scope for user in terms of encoding, test control etc. Hence TTCN3 contains, – Syntax similar to programming language with the Tabular Notation and MSC as presentation languages. – Dynamic system configuration – Control of Test execution mechanisms – Improved encoding formats. – operations for synchronous and asynchronous communications – combined use of TTCN-3 and ASN.1 (and potential use with other languages such as IDL) – User-defined attributes TTCN-3 also offers enhanced modularity and hence test case reusability.

HUAWEI TECHNOLOGIES CO., LTD. Refactor/Rewrite to TTCN-3 If effort could be afforded the best way to go about is the refactor/rewrite all TCs from TTCN-2 to TTCN-3. In this approach the advantages of TTCN-3 is used. ASN1. definitions, part of the core TTCN-2 logic can be reused. Advantages of the approachIssues with the approach Complete use of TTCN-3 capabilityEffort intensive Improved readability/maintainability of the test suite. It is possible that the core test case logic gets disturbed during the rewrite process. Summary: If there is a small set of test cases and the test cases in TTCN-2 are well understood then this approach is the best approach. Alternatively if a new set of test cases have to written which larger than the existing set, then this approach should be considered.

HUAWEI TECHNOLOGIES CO., LTD. Language level conversion to TTCN-3 If the suite complexity is lower, then a tool + some manual correction can migrate it to TTCN-3. This approach uses standard conversion model defined by the ETSI TTCN- 2:TTCN-3 mapping. Few tools are available to do this job. Advantages of the approachIssues with the approach Less efforts required for conversion compared to refactoring approach Test suite after conversion could become un-maintainable Quite a few commercial tools are available in the market Test case logic could get distorted, leading to lower quality assurance Knowledge of the language is sufficient, test case logic need not be understood. Summary: If there is a huge number of test cases (with lesser complexity) in TTCN- 2 and conversion need to be finished in less time then this approach is the best approach.

HUAWEI TECHNOLOGIES CO., LTD. Aren’t TTCN-2 & TTCN-3 supposed to compatible? They are to a great degree compatible! But that does not mean, you can pick a TTCN-2 test case and run it on a TTCN-3 tool. ETSI TR specifies the mapping between TTCN-2 and TTCN-3 ETSI specifies how a each element in The TTCN2 tabular format is converted in to TTCN3 pro forma. – But the conversion specification for the TTCN2 tabular format to TTCN3 core language is not clear. – It is essential for user to know the TTCN2 conversion in terms of TTCN3 core language. Most modern users are well aware of core language than tabular format. The ease for learning TTCN3 core is far better compared to TTCN3 TFT concepts.

HUAWEI TECHNOLOGIES CO., LTD. Schematic approach towards conversion The flow depicts the simplified conversion approach by converting each TTCN-2 construct into respective TTCN-3 core language constructs – This flow uses an element to element mapping of TTCN-2& TTCN-3 to perform the conversion. – Hence this approach will not lead to an optimized TTCN-3 test suite.

HUAWEI TECHNOLOGIES CO., LTD. Some Industry tools available for migration 1.Elvior – TestCast Testing Technologies TTTwo2Three - /tttwo2three.php /tttwo2three.php 3.IBM Rational System Tester (t2tot3 converter) ibm.com/software/awdtools/tteste r/ 01.ibm.com/software/awdtools/tteste r/ 4.OpenTTCN3 - ester ester2012

HUAWEI TECHNOLOGIES CO., LTD. Challenges involved The complexity of conversion depends on how TTCN-2 test suite is designed and organized. Following are few challenges we faced TTCN-2 test suite uses many global variables (like TSP & TSO). But in TTCN3 there are no global variable concept which leads to difficulty in conversion When a tool is used for conversion, there were a huge number of compilation errors which took a lot of effort to solve them. The number of errors depends on the complexity of the TTCN2 suite. All the TTCN-2 test cases, steps, ASN definitions and PDUs are maintained in single.mp file. It is very tedious to modularize these into TTCN3.3mp files When a tool is used for conversion, the ASN structures which again linked to other ASN definition are very difficult to understand and maintain

HUAWEI TECHNOLOGIES CO., LTD. Examples of conversion TTCN2 TTCN3 TTCN2 Tabular format TTCN2 text format in.mp file TTCN3 core language format

HUAWEI TECHNOLOGIES CO., LTD. Key points and learnings If you have a growing TTCN-2 suite, it is better to think about a migration strategy to TTCN-3. – Else it leads to more cost and trouble in the future The migration strategy is based on the actual conditions of the project. – There are three kinds of migrations 1.New test cases in TTCN-3 2.Refactor/Rewrite existing test cases to TTCN-3 3.Use a tool to do language conversion to TTCN-3 Using a tool to convert is also generally not so straight forward, but it is probably the most optimal way.