21
Classic Data Access Training OPC Classic Compliance Test Tool oduction to the OPC Compliance OPC Classic Server Testing Press SPACE to advance through the slides.

Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

Embed Size (px)

Citation preview

Page 1: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

Classic Data Access TrainingOPC Classic Compliance Test Tool

Introduction to the OPC Compliance Testfor OPC Classic Server Testing

Press SPACE to advance through the slides.

Page 2: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

• Introduction

• Familiarization of User Interface

• Finding Help

• Test Tool Configuration

• Testing & Debugging

• Next Steps

OPC Compliance Test Training - ServerContents

Page 3: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 3

OPC Compliance Test Training - ServerIntroduction (1 of 3)

What is it? OPC Compliance Test Tool (CTT) is designed to

test a Classic OPC Server for compliance.

Where is it? www.opcfoundation.org/classic/ctt

Who can get it? OPC Foundation Corporate Members

What is tested? Classic OPC Servers

Coverage? DA 2.05a, DA 3.0, Historical Data Access 1.20,

XML Data Access 1.01, and Alarm & Events

1.01

4/19/2012

OPC Compliance

Test tool

Your Classic DA Server

YouEasy to use? Yes, once you’ve learned the basics.

Page 4: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 4

OPC Compliance Test Training - ServerIntroduction (2 of 3)

4/19/2012

How it works: Each Method is tested by invoking specific calls that:

a. are expected to pass and/or return specific

results

b. are expected to fail and/or return specific results

c. multiple parameter combinations to check

behavior

d. validates behavior matches the OPC

specifications

Test authors? Compliance Working Group (cmpwg)

Page 5: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 5

OPC Compliance Test Training - ServerIntroduction (3 of 3)

How do I pass? Your product must pass all tests in all selected

Interfaces

Am I Certified? Passing the CTT does not mean you are certified

by the OPC Foundation. It means that your

product is ready for certification in a Test Lab.

CTT used in Lab? Yes, test-labs use the current release

version(s).

Use CTT When?The best time is during product development. All

Classic products must pass the CTT prior to

release.

Additional Help: A complete user guide is provided with the

CTT. 4/19/2012

Page 6: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation

6

OPC Compliance Test Training - ServerLaunching OPC Compliance Test (1 of 1)

4/19/2012

Windows Vista/7:Start > All Programs > OPC Foundation >Compliance Test 2.00> OPC Compliance Test

Windows 8:Start > OPC Compliance Test (CTT)

Page 7: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 7

There is (by default) 1 “widget” to the left in the CTT: • Browse tree: a list of test sections listing OPC interfaces and test cases.

OPC Compliance Test Training - ServerFamiliarization (1 of 2)

4/19/2012

Test Sections

OPC Interfaces

Test Cases

Page 8: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 8

OPC Compliance Test Training - ServerFamiliarization (2 of 2)

4/19/2012

There are (by default) 2 “widgets” to the right: • Test results: shows the test results of each test-case• Documentation and Help: provides details of OPC Interfaces and Methods

Page 9: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 9

OPC Compliance Test Training - ServerFinding Help (1 of 1)

4/19/2012

Complete documentation is available from the Contents option in the “?” menu. Documentation includes a user-guide and other useful testing tips.

Page 10: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 10

OPC Compliance Test Training - ServerTest Tool Configuration (1 of 4)

4/19/2012

First, select the Compliance Test Type from the “options” tab in the Extras menu.OPC Interfaces and test cases in the browse tree will be updated.The remaining settings will vary depending on the Compliance Test Type selected.

We will concentrate on Data Access 2.05a and

3.0 server settings in this tutorial

Page 11: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 11

Test Settings for Data Access 2.05a and 3.0 Server are the same; the only difference is the supported interfaces.To open the Test Settings window select “start” from the Compliance Test menu, or “Test Settings” option in the Extras Menu.

OPC Compliance Test Training - ServerTest Tool Configuration (2 of 4)

4/19/2012

Option to browse available servers on the local or remote

machine

Or…

Page 12: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 12

OPC Compliance Test Training - ServerTest Tool Configuration (3 of 4)

4/19/2012

There are (by default) 4 widgets in the “Test Items” option.• Select Item(s): Manually select items using the integrated Item Browser• Import (csv): Import items from a *.CSV file• Export (csv): Export items to a *.CSV for future use• Remove Selected Item(s): Remove the selected items in the list

Page 13: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 13

OPC Compliance Test Training - ServerTest Tool Configuration (4 of 4)

4/19/2012

Other settings have default values which you can modify, if you prefer.

Click OK to apply the changes

Page 14: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 14

OPC Compliance Test Training - ServerTesting & Debugging (1 of 3)

4/19/2012

Select “Start” from the Compliance Test menu; configure the Server and Items . By default, the Compliance Test option runs all test cases listed in the Browse Tree.

Page 15: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 15

OPC Compliance Test Training - ServerTesting & Debugging (1 of 3)

4/19/2012

Wait, while the automated testing is conducted. This can take a while, depending on the CTT configuration and # of tests selected.

Test progress bar, may take several minutes to

complete all testing

Page 16: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 16

OPC Compliance Test Training - ServerTesting & Debugging (4 of 4)

4/19/2012

To run individual interfaces or test cases use the Debug Test option.You can Activate or Deactivate test suites or test-cases, and you can Add Breakpoints on any test to interrupt test execution, which is helpful during product development.

Right click for context-sensitive menu options

Page 17: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 17

With tests activated/deactivated or if you have set Breakpoints then ; click Start from the Debug Test menu…

OPC Compliance Test Training - ServerTesting & Debugging (2 of 3)

4/19/2012

1. Specify the Server connection

2. Specify the Items for testing with

Page 18: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 18

OPC Compliance Test Training - ServerTesting & Debugging (5 of 5)

4/19/2012

After a test-run, a summary report is generated indicating the result of the overall test.Individual interfaces/test case results are displayed in the Test Result widget by selecting the interface from the browse tree.

Page 19: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 19

OPC Compliance Test Training - ServerTesting & Debugging (5 of 5)

4/19/2012

The test results are shown here:

Results Tab Summary report of the test conducted

Results of the individual Interfaces

Page 20: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

© 2012 OPC Foundation 20

OPC Compliance Test Training - ServerNext Steps…

Once your Classic DA Server passes all applicable CTT tests:

• Conduct Interoperability Testing

• Conduct Behavior Testing

• Conduct Resource-efficiency Testing

• Interoperability, Behavior and Resource-efficiency testing

details are available here: www.opcfoundation.org/ua/ctt/help/testcases

• Request Certification in the Test Lab:www.opcfoundation.org/Compliance-Certification/A1-Application.docx

4/19/2012

Page 21: Classic Data Access Training OPC Classic Compliance Test Tool Introduction to the OPC Compliance Test for OPC Classic Server Testing Press SPACE to advance

Download: www.opcfoundation.org/classic/ctt

Certification: www.opcfoundation.org/certification

Lab Testing: www.opcfoundation.org/lab/signup

Bug Tracker: www.opcfoundation.org/mantis

Contact: [email protected]

OPC Compliance Test Training - ServerThe End!