automatic software testing tool for computer networks add presentation dudi patimer adi shachar...

27
Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen www.cs.bgu.ac.il/ ~adishach

Upload: winfred-tate

Post on 29-Dec-2015

222 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Automatic Software Testing Toolfor Computer Networks

ADD Presentation

Dudi PatimerAdi ShacharYaniv Cohen

www.cs.bgu.ac.il/~adishach

Page 2: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Table of Contents

Introduction

System Requirements

System Architecture

Main Classes

User Interface

Open Questions

Task List

Page 3: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Previously …

Access Layers' flagship product, Portnox, is a natural extension of existing security policies and methodologies, allowing network administrators to configure access parameters for physical network ports, and proceed to monitor, control, and manage LAN entities, including devices, switches, ports, access slots, and more.Portnox represents a new approach to LAN protection, providing complete online control of end-point access to the corporate network.Portnox allows networks administrators to determine which devices are allowed LAN access.

Page 4: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

The Problem Domain

When Access Layers QA's testers execute tests on their software they need to change the settings of an end-stations and to perform different actions, for example: turning on/off the computer, changing the IP address, enable/disable Ethernet card, changes in the network settings of the end-station, login/logoff with users, etc.Nowadays, in order to execute the actions and the setting changes, they should execute all the necessary actions manually in the end-stations.

Page 5: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Solution

Our project allows performing all the above actions automatically from a central station with simple GUI, and in addition to view the status of the end-stations at any step.

Furthermore, our tool will be able to add and execute new scripts that were written by the testers on the end-stations, manage the scheduling of these actions, meaning to execute actions in chosen order, and to schedule the execution order of the end-stations.

Moreover, the tool will enable the testers to perform tests that they could not perform before, such as simultaneously executing actions on group of end-stations or by a given schedule.

Page 6: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Table of Contents

Introduction

System Requirements

System Architecture

Main Classes

User Interface

Open Questions

Task List

Page 7: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Reminder

ActionAction – There are 4 types of actions in our system:• Command Line (with parameters).• VB Script.• Delay Action.• Test Action – a script that compares the expected results with

the product database.

TSC TSC (Test Scenario) – Composed of the following components:• Basic Action (built in actions).• Action.* Must contain Test action at the end.

TP TP (Test Plan) – Composed of TSC’s.

Page 8: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

System Requirements

Establish Connection & Getting General Information

Assemble/Modify/Delete a TSC and TP

Create/Modify/Delete Additional Actions

Execute TP, TSC or Single Action on remote end-stations

Generate Reports & Logs

Page 9: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Table of Contents

Introduction

System Requirements

System Architecture

Main Classes

User Interface

Open Questions

Task List

Page 10: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

ATS

DatabaseEnd-Stations

Action\Information\Results

GUI

Server

TP’sTSC’s

ActionsParameters

Main directory\ +Reports\ +Scripts\

High-level System Architecture

Page 11: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Detailed System Architecture

DatabasePackage

Scripts Reports

ActionsTSC’sTP’s

Service ProviderInterface

End-Stations

Action\Information\Results

ExecutionPackage

ATS Manager

Database

PortnoxDatabase

Test actions

GUI

1. Stores reports as XML in the local dir.2. Loads scripts located under the local dir.3. Saves/Loads actions/TSC’s/TP’s from the DB.

Sends command lines or scripts to the remote end-stations and gets the output.

Executes TP/TSC/Single action and manages the execution process.

The main controller ofthe system that interactswith the user requests.

Page 12: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

System Architecture

NoteNote:

The communication between the ATS and the end-stations will be by using the external utility psexec command provided with pstools for Windows platforms administrators.

Our design supports future extensions to other operating systems.

Page 13: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Table of Contents

Introduction

System Requirements

System Architecture

Main Classes

User Interface

Open Questions

Task List

Page 14: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Main Classes

Page 15: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Main Classes

Page 16: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Main Classes

Page 17: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Table of Contents

Introduction

System Requirements

System Architecture

Main Classes

User Interface

Open Questions

Task List

Page 18: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

User Interface

Page 19: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

User Interface

Page 20: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

User Interface

Page 21: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

User Interface

Page 22: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

User Interface

Page 23: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Table of Contents

Introduction

System Requirements

System Architecture

Main Classes

User Interface

Open Questions

Task List

Page 24: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Open Questions

How to identify end-stations in our system?

End-stations can be identified by their IP/MAC address, but our tests include changing IP and MAC address, so after executing such action we need to know the new address and who it belongs to.

How can we perform performance testing without using large amount of end-stations?

Page 25: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Table of Contents

Introduction

System Requirements

System Architecture

Main Classes

User Interface

Open Questions

Task List

Page 26: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Task List

Page 27: Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen adishach

Questions?