- First Steps. Introduction... 2. Creating a new testsuite... 2. Blocks and libraries... 3. Creating your first (compound) block...

Similar documents
Table Of Contents. iii

Microsoft Word 2011: Create a Table of Contents

Website Creator Pro Quick Reference Guide. Version: 0.5

MONITORING PERFORMANCE IN WINDOWS 7

Content Author's Reference and Cookbook

**If the box does not automatically pop up, see the next page.

USC Aiken CMS Manual. A manual on using the basic functions of the dotcms system. Office of Marketing and Community Relations-USC Aiken

Web Forms for Marketers 2.3 for Sitecore CMS 6.5 and

28 What s New in IGSS V9. Speaker Notes INSIGHT AND OVERVIEW

Ross Video Limited. DashBoard Server and User Rights Management User Manual

vcenter Orchestrator Developer's Guide

I ntroduction. Accessing Microsoft PowerPoint. Anatomy of a PowerPoint Window

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Section 1: Ribbon Customization

Copyright EPiServer AB

E-Map Application CHAPTER. The E-Map Editor

Microsoft Office Publisher 2010

WebEx Sharing Resources

Access Tutorial 1 Creating a Database

Kentico Content Management System (CMS

Microsoft Word Quick Reference Guide. Union Institute & University

Introduction to Visio 2003 By Kristin Davis Information Technology Lab School of Information The University of Texas at Austin Summer 2005

Managing your Joomla! 3 Content Management System (CMS) Website Websites For Small Business

Tips and Tricks SAGE ACCPAC INTELLIGENCE

Microsoft PowerPoint 2010

2) Sharing Projects Made easy by IntelliGantt s Share Wizard, there are three share options to fit the needs of your project.

Styles, Tables of Contents, and Tables of Authorities in Microsoft Word 2010

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.

Business Insight Report Authoring Getting Started Guide

Business Process Management IBM Business Process Manager V7.5

WebSphere Business Monitor V6.2 KPI history and prediction lab

Virto SharePoint Kanban Board Web Part Release User and Installation Guide

tools that make every developer a quality expert

Content Author's Reference and Cookbook

Appendix A How to create a data-sharing lab

State of Illinois Web Content Management (WCM) Guide For SharePoint 2010 Content Editors. 11/6/2014 State of Illinois Bill Seagle

NVMS User Manual

Auditing UML Models. This booklet explains the Auditing feature of Enterprise Architect. Copyright Sparx Systems Pty Ltd

Using the VMware vrealize Orchestrator Client

Microsoft Office PowerPoint Creating a new presentation from a design template. Creating a new presentation from a design template

D2L: An introduction to CONTENT University of Wisconsin-Parkside

Web Content Management Training Manualv3

QUICK START FOR COURSES: USING BASIC COURSE SITE FEATURES

VP-ASP Shopping Cart Quick Start (Free Version) Guide Version 6.50 March

Abstract. For notes detailing the changes in each release, see the MySQL for Excel Release Notes. For legal information, see the Legal Notices.

Smart Connection 9 Element Labels

Sitecore InDesign Connector 1.1

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

Access your directories (home directory and shared directories) outside Tilburg University

What is OneDrive for Business at University of Greenwich? Accessing OneDrive from Office 365

Microsoft Office PowerPoint Identify components of the PowerPoint window. Tutorial 1 Creating a Presentation

Umbraco v4 Editors Manual

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

The Reprographics Online E-Copy Process is used to submit print jobs to the RUSD Reprographics department.

Creating a Web Site with Publisher 2010

Calculator Notes for the TI-Nspire and TI-Nspire CAS

Basics. a. Click the arrow to the right of the Options button, and then click Bcc.

2010 Ing. Punzenberger COPA-DATA GmbH. All rights reserved.

v7.1 SP2 What s New Guide

Introduction To Microsoft Office PowerPoint Bob Booth July 2008 AP-PPT5

DiskPulse DISK CHANGE MONITOR

Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5.

Table of Contents. 1. Content Approval...1 EVALUATION COPY

Design with Themes - Part 2: Advanced Custom Themes

Click on various options: Publications by Wizard Publications by Design Blank Publication

Microsoft Excel 2013 Tutorial

ORACLE BUSINESS INTELLIGENCE WORKSHOP

Stored Documents and the FileCabinet

CLC Bioinformatics Database

Introduction to SharePoint For Team Site Owner/Administrators. Instructional Guide

NUI Galway Web Training Presentation

Pcounter Web Administrator User Guide - v Pcounter Web Administrator User Guide Version 1.0

Administrator s Plus. Backup Process. A Get Started Guide

Application Note. Example of user log on Magelis HMI with XB5S5B2L2 biometric switch. Advanced Technical Support - Brazil. Version: 1.

Capture One Pro 9. Quick start guide. Capture One Pro 9. Quick Start Guide 1

Publishing with Adobe Presenter 10 (Detailed)

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

Faculty Web Editing. Wharton County Junior College Employee Training Manual

Umbrello UML Modeller Handbook

Creating a PowerPoint Poster using Windows

Table of Contents. 1.1 Description of DFM... 5

LabVIEW Report Generation Toolkit for Microsoft Office

How to Mail Merge PDF Documents

Excel Pivot Tables. Blue Pecan Computer Training Ltd - Onsite Training Provider :: :: info@bluepecan.co.

GOOGLE DOCS APPLICATION WORK WITH GOOGLE DOCUMENTS

Building A Web Database Using Contextual Mode

CDOT Workflow ProjectWise Web Access Operations

Excel 2007 Basic knowledge

The Application Getting Started Screen is display when the Recruiting Matrix 2008 Application is Started.

Using the SAS Enterprise Guide (Version 4.2)

Introduction to Simulink

SnagIt Add-Ins User Guide

BT Web Hosting. Quick Start

WINDSOR DIRECT 4 USER GUIDE

Microsoft Excel Basics

In this tutorial I will be uploading multiple images to my ftp folder on my ktools site, and then add them using manager.

TSM Studio Server User Guide

Windows Firewall Configuration with Group Policy for SyAM System Client Installation

Adobe Dreamweaver CC 14 Tutorial

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

Transcription:

- First Steps Table of Contens Introduction... 2 Creating a new testsuite... 2 Blocks and libraries... 3 Creating your first (compound) block... 4 Creating a more complex block... 9 Adding output pins to a block... 13 Adding input pins to a block... 15 Reuse of blocks... 19 Sequential execution of steps... 21 Creating a testplan... 23 Generating a report... 25 Saving the testsuite... 26 Summary... 26 1

Introduction The First Steps are aimed at everyone who wants to use expecco for the first time and will be a support to the user in the beginning. We want to provide you an overview of expecco, using a simple example. It is recommended to also start the demo tutorial in parallel to the first steps in order to understand and follow everything. Creating a new testsuite A testsuite is the term used for a packaged test project. It manages a collection of elements like testplans, blocks and datatypes as well as resources or attachments and documentation. To create a new testsuite, click on the menu File New Test Suite. The Standard Library is automatically imported after creation of the new testsuite. 2

Blocks and libraries Libraries are collections of functional blocks. Libraries are located in the project tree (Navigator) under the category "Imports". All elements within an imported library are read-only. For each block, there is a description and, where appropriate, an example that you can execute immediately. Select the Standard Library in the project tree. This library provides basic blocks for different areas. Within a library its blocks are organized in categories within folders. All blocks for string processing for example can be found in the same folder. Select in the category "String Processing" the sub folder "Padding & Formatting" and then select the block "String [ AsUppercase ]". Editors regarding the selected item are displayed on the right in a number of tabs. In the tab "Documentation" you will find a brief description about the functionality. Select the tab "Test". The shown Testeditor allows the immediate execution of the block by pressing the button. 3

The result of the execution is displayed in the lower part. In the tab "Pins" you can see the input and output values. Creating your first (compound) block A block is the definition of an activity. We distinguish between elementary blocks and compound blocks. An elementary block defines a basic action, for example built-in functions, DLL-calls and JavaScript functions. The behaviour of a compound block is represented by an activity diagram. The elements of an activity diagram are steps which are connected through data and/or control flows. To create a new compound block click the button on the toolbar 4

Click on the button the network editor. to open an additional project tree which allows you to drag elements into In the external tree change to the category "Arithmetic" and select the block "Arith [ Sum ]". Keep the mouse pressed and drag the selected element into the network of the new block. Release the mouse button and a new step will be created. 5

Since this step requires input values, it can not be executed (showing a red exclamation mark). Inputs and outputs are termed as pins (connectors). In the first step we allocate the inputs with fixed values. You can do this by double clicking on the input pin or via the corresponding entry in the context menu: 6

Enter any number in the box: Allocate the second input pin. The step now has all the required input values to be executed. Execute your newly created block in the tab Test. 7

In the tab "Pins" you see the input values and the expected output value. Accept the changes to the block in the system, click on the button "Accept". Enter a name for the block, which can be accessed via the context menu of the newly created module in the project tree. Enter the name "1.Block" in the box. 8

Creating a more complex block As starting point, we use a copy of the previous block. To do so, select the block and open the right-click context menu. Then select the Copy item and afterwards the Paste item. After pasting, you will have a copy of the previous block. 9

Place the block "Arith [ Product ]" from the additional tree via drag & drop into the network. Afterwards, your network should look like the following one: After the execution of the module you will get the following picture: 10

The activities will be displayed in different colors, depending on their execution state. As seen here in green - for successful. As you can also see, no activity has started for the new step. The step is lacking the required input values (recognizable through the red exclamation mark). Therefore, we connect the inputs and outputs of the steps. Most connections are data-driven, which means they have to have the same data at the beginning and at the end of the connection. For example, it is not possible to add text into an addition block. If the input and output data types do not match, various conversion blocks are available in the standard library under the category "Type Conversion". 11

To create a connection, follow these steps: 1. Select with the left mouse button, the center output pin "sum" at the step "Arith [ Sum ]" and keep it pressed. 2. 2. Drag the mouse button to connect to the input pin "number1" at the step "Arith [ Product ]" and release the mouse button while on the input pin. Repeat this step and connect the additional output "sum" with the input pin "number2". Run the module again, as you can see all the steps were executed now.. Accept the changes and rename it into "2.Block". 12

Adding output pins to a block As starting point, we use a copy of the previous block, which you can create through the context menu (Copy then Paste). You will get the following picture: The interface of a block is described by its inputs and outputs. In the schema editor, the input pins are displayed on the left and the output pins on the right. Each pin is assigned a data type. In order to create new pins, there are different possibilities: 1. Click the button inside the schema editor to create a new input or output pin. To change the default data type, click on the data type and select the desired data type from the appearing menu. 13

2. Drag the corresponding input or output pin within the network to the left or right side of the editor. After releasing the mouse, you see the following picture at the right border: Create an output pin as described in example 2. Select the tab Schema and you will get the following picture: The block has received a new output pin. The data type and name of the output pin were taken over from the internally associated output pin within the network. By clicking on the name, the pin can be renamed. To delete an existing input or output pin, select the appropriate pin and click on the button. Execute the block again and you will get the following picture: 14

The output value is now available for further use at the output pin. Accept the changes and rename it into "3. Block". Adding input pins to a block As starting point, we use a copy of the previous block, which you can create through the context menu (Copy then Paste). You will get the following picture: 15

To externally supply the step "Arith [ Sum ]", create the input pins (same approach as for the Output pins): Perform the same action for the second input pin "number2": You will get the following picture: Execute the block again and you will get the following picture: 16

As you can see, the block could not be executed because the necessary input values for the input pins of our test module are missing. Freeze the input with fixed values: Execute the block again and you will get the following picture: 17

Now go to the tab Schema. Here you can change the trigger conditions for the block. Click on the field "And-Connected". A submenu is displayed on the configuration: Here you can specify which input pins must have values in order for the block to be executed. Three options are supported: 1. And-Connected All connected input pins must have values, open inputs are ignored. 2. And All input pins must have values. 3. Or 18

At least one input pin must have a value. In our case, all input values have to be supplied, so choose the "And" condition. Accept the changes and rename it into "4. Block". Reuse of blocks The way of working with blocks is the key to reusability and flexibility. Once a block is created it can be reused in any compound block. Insert a new compound block by clicking the button. Now drag & drop the previously created blocks into the network (activity diagram) of the new block. 19

Add additional blocks from the Standard Library and create connections as shown in the following activity diagram. You can find the blocks under the following categories: Data Generators Random [ Integers ] Compare Compare [ Greater 2-Way ] Assertions, Exceptions & Logging Log [ Info ], Log [ Failure ] Due to the upstreamed "Random [Integers ]" step, the created "4. Block" is supplied by different values, leading to different results. This can be seen best, when you execute the block in the Test / Demo tab a few times. 20

Accept the changes and rename it into "5. Block". Sequential execution of steps For a graph with no data flows (i.e., with exclusive control flows), trigger inputs will be connected with trigger outputs, creating a pure flow chart. To prepare, create a new compound block by clicking the button 1 and 2 in the network and you will get the following picture:. Drag and drop the blocks 21

Select the "1. Block". By holding the shift key you can add the "2. Block". Both steps are now selected in the order, in which they should be executed sequentially. By clicking the button, a control flow connection from step 1 to step 2 is set. After executing the block in thetest tab, you will get the following picture. As you can see "1. Block" was executed before "2. Block". ou can delete a connection by clicking it and afterwards select remove or press the button. Now, delete the existing control flow connection and set up the control flow in the reverse direction. Proceed as described above, only selecting "2. Block" before "1. Block" this time. After executing the block, you will now get the following error screen: 22

As you can see the in the network editor, the "2. Block" is marked with a red exclamation mark, which means it is not ready to be executed. The step has an open trigger input pin. By connecting the trigger input with any other output pin, the action of the step can also be triggered. In our case, delete the trigger input by selecting it and then press the Delete key. To execute a step, it has to have at least one connected not-parameter pin or the auto-start attribute. Therefore, mark step 2 as an autostart. To do so, select it and click on the button After executing the block in thetest tab, you will see the following picture. As you can recognize the "2. Block" was executed before the "1. Block". Creating a testplan In expecco, a collection of several testcases is described as a testplan. During execution of a testplan, all individual testcases are executed sequentially. To generate a new testplan, click the button on the toolbar. Drag & drop the newly created blocks, except for "4. Block", into the test plan editor. You will get the following picture: 23

Accept the changes and execute the testplan by pressing the button You will get the following picture: 24

Since the "5. Block" works internally with randomly generated input values, you will get different results with multiple executions for the testplan. Generating a report For preparation, execute the testplan. To create and view a detailed report about the test execution, click on the button The dialog box "Report Generation / Print" will open. Prior to the report generation, you will have to determine further settings: Output Format(s): The reports can be created in different output formats. A multiple selection is possible. Report Language: Set the language for the report. Paper Size: Only for the PDF output format the paper size is specified. For all other formats this setting will be ignored. Report Template: Here, the content and appearance of the report can be determined. For more information, go to Report Generation. Click on the button "Generate Report" to start the report generation. After generating the file is open within a browser. 25

Saving the testsuite To save the testsuite, click into the menu "File" "Save As...". The Save dialog will appear. Summary In our example, we have intentionally used simple blocks from the Standard Library to help you work with expecco. However, this example is unrealistic in that no System Under Test (SUT) has been supplied with signals or been tested. As the interface to a SUT is often device and protocol specific, the interfaces are not part of the expecco base system. They are realized by specific libraries and plugins. These can be supplied by exept or by third parties. You can also create and maintain them yourself. Information on specific protocol blocks (TCP / IP, DLL calls, FTP,...) and interfaces to specific devices can be found in the documentation of the various libraries and plugins. You can find this information in the menu: - Help - expecco Wiki 26