JP6198529B2 - Test execution system, test execution device, test execution method, and test execution program - Google Patents

Test execution system, test execution device, test execution method, and test execution program Download PDF

Info

Publication number
JP6198529B2
JP6198529B2 JP2013180377A JP2013180377A JP6198529B2 JP 6198529 B2 JP6198529 B2 JP 6198529B2 JP 2013180377 A JP2013180377 A JP 2013180377A JP 2013180377 A JP2013180377 A JP 2013180377A JP 6198529 B2 JP6198529 B2 JP 6198529B2
Authority
JP
Japan
Prior art keywords
test
information
unit
target device
expected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013180377A
Other languages
Japanese (ja)
Other versions
JP2015049659A (en
Inventor
勝彦 本田
勝彦 本田
聖久 近藤
聖久 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2013180377A priority Critical patent/JP6198529B2/en
Publication of JP2015049659A publication Critical patent/JP2015049659A/en
Application granted granted Critical
Publication of JP6198529B2 publication Critical patent/JP6198529B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、試験者の操作に基づいて振る舞う製品のテストにおいて、製品の振る舞いを応答情報に変換し、その応答情報を受け取ることにより、テスト結果を判別するテスト実行システム、テスト実行装置、テスト実行方法及びテスト実行プログラムに関する。   The present invention relates to a test execution system, a test execution apparatus, and a test execution that discriminate a test result by converting the behavior of the product into response information and receiving the response information in the test of the product that behaves based on the operation of the tester. The present invention relates to a method and a test execution program.

従来、製品のテスト実施においては、試験者による操作に対する製品の振る舞いを、試験者が確認をして合否の判定を行うことが一般的である。
試験者による操作は、テスト手順書に操作の手順を明確に設定しておき、試験者は送信機等を用いて操作を製品に伝える。
合否の判定は、判定用の期待値を予めテスト手順書に設定しておき、製品の振る舞いとテスト手順書に設定してある判定用の期待値とが一致するかを試験者が確認をすることにより合否が判定される。
Conventionally, in performing a product test, it is common for the tester to check the behavior of the product with respect to the operation by the tester and to make a pass / fail decision.
For the operation by the tester, the operation procedure is clearly set in the test procedure manual, and the tester communicates the operation to the product using a transmitter or the like.
In the pass / fail judgment, the expected value for judgment is set in the test procedure document in advance, and the tester confirms whether the behavior of the product matches the expected value for judgment set in the test procedure document. As a result, pass / fail is determined.

特許文献1に示すテスト装置では、周辺シミュレーターなる電子部品が正確に動作するか否かを判断するための動作テストを行う装置の発明である。よって製品として組み込まれた電子部品及びソフトウェアの動作テストを行う際には製品をターゲットとしてテストを実施する必要がある。   The test apparatus disclosed in Patent Document 1 is an invention of an apparatus that performs an operation test for determining whether or not an electronic component serving as a peripheral simulator operates correctly. Therefore, when performing an operation test of electronic components and software incorporated as a product, it is necessary to perform the test targeting the product.

特許文献2に示すテスト装置は、再現テストを目的としており、繰り返しテストを自動化する発明である。動作ログを特徴とし、予め決められたエラーをログ情報としてためておき、エラーが発生していたか否かで結果を判断し、振る舞いの結果を判断するものではない。   The test apparatus shown in Patent Document 2 is an invention for automating a repetitive test for the purpose of a reproduction test. It is characterized by an action log, and a predetermined error is stored as log information, the result is determined based on whether or not an error has occurred, and the behavior result is not determined.

特開平9−091031号公報JP-A-9-091031 特開2007−52734号公報JP 2007-52734 A

特許文献1に示されるテスト装置では、周辺シミュレーターとしての出力電子部品が動作するか模擬入力信号を制御装置に与えてテストを行う。テスト結果は電子部品の出力から判断されるため、電子部品の出力に現れない、製品の振る舞いについてはテストの判断ができないため、製品の合否を判断する際には製品での実機テストが必要となる。   In the test apparatus shown in Patent Document 1, a test is performed by supplying a simulated input signal to the control apparatus to determine whether the output electronic component as a peripheral simulator operates. Since the test results are judged from the output of the electronic component, it does not appear in the output of the electronic component, and the test of the behavior of the product cannot be judged. Become.

特許文献2に示されるテスト装置では、製品不具合発生時の製品での実機テストの再現テストについて記載されており、製品での実機テストでテスト手順どおりに操作を行い、製品の振る舞いが正しく振る舞われたかまでの自動化はされていない。   The test apparatus disclosed in Patent Document 2 describes a reproduction test of an actual machine test in a product when a product failure occurs. The product is operated correctly according to the test procedure in the actual machine test in the product. There is no automation.

本発明は、上述した課題を解決するためになされたものであり、製品での実機テストに関して、テスト手順書に従った振る舞いの試験を自動化し、テスト項目数を減らすことなく、テスト工数を削減することを目的とする。また、テスト工数を削減することを目的に、さらに、テスト手順書の自動生成を行い、テスト設計においてもテストにかかる工数削減を行うことを目的とする。   The present invention has been made to solve the above-described problems, and automates the behavior test according to the test procedure manual with respect to the actual machine test in the product, thereby reducing the number of test steps without reducing the number of test items. The purpose is to do. Another object of the present invention is to automatically generate a test procedure document for the purpose of reducing test man-hours and to reduce the man-hours required for tests in test design.

本発明に係るテスト実行システムは、テスト対象である対象機器であって、命令を受信し、受信した前記命令に基づいて動作する対象機器と、前記対象機器に対するテストを実行するテスト実行装置とを備えるテスト実行システムにおいて、
前記テスト実行装置は、
前記対象機器に送信する前記命令と、前記対象機器が前記命令を受信した場合に期待される前記対象機器の動作を示す期待動作情報とを対応付けて動作対応情報として記憶装置に記憶する動作対応情報記憶部と、
前記動作対応情報記憶部に記憶された前記動作対応情報から前記命令を取り出し、取り出した前記命令を送信装置により前記対象機器に送信する命令送信部と
を備え、
前記対象機器は、
前記テスト実行装置の前記命令送信部から前記命令を受信する命令受信部と、
前記命令受信部が受信した前記命令に基づいて動作を実行する動作実行部と、
前記動作実行部が実行した動作を示す動作情報を前記テスト実行装置に送信する動作情報送信部と
を備え、
前記テスト実行装置は、さらに、
前記対象機器の前記動作情報送信部から前記動作情報を受信する動作情報受信部と、
前記動作対応情報記憶部に記憶された前記動作対応情報から、前記命令送信部により送信された前記命令に対応付けられた前記期待動作情報を取り出し、取り出した前記期待動作情報と、前記動作情報受信部が受信した前記動作情報とに基づいて、前記動作情報により示される動作が、前記対象機器が前記命令を受信した場合に期待される前記対象機器の動作であるか否かを処理装置により判定する期待動作判定部を備えることを特徴とする。
A test execution system according to the present invention includes a target device that is a test target, receives a command, operates based on the received command, and a test execution device that executes a test on the target device. In the test execution system provided,
The test execution device includes:
The operation correspondence that stores the command to be transmitted to the target device and the expected operation information indicating the operation of the target device expected when the target device receives the command in association with each other and stores it in the storage device as the operation correspondence information An information storage unit;
A command transmission unit that retrieves the command from the motion correspondence information stored in the motion correspondence information storage unit and transmits the retrieved command to the target device by a transmission device;
The target device is
A command receiver for receiving the command from the command transmitter of the test execution device;
An operation execution unit that executes an operation based on the command received by the command receiving unit;
An operation information transmission unit that transmits operation information indicating the operation executed by the operation execution unit to the test execution device;
The test execution device further includes:
An operation information receiving unit that receives the operation information from the operation information transmitting unit of the target device;
The expected motion information associated with the command transmitted by the command transmission unit is extracted from the motion response information stored in the motion response information storage unit, and the retrieved expected motion information and the motion information reception Based on the operation information received by the unit, the processing device determines whether the operation indicated by the operation information is an operation of the target device expected when the target device receives the command. An expected motion determination unit is provided.

本発明に係るテスト実行システムによれば、命令送信部が、動作対応情報記憶部に記憶された動作対応情報から命令を取り出し、取り出した命令を送信装置により対象機器に送信し、期待動作判定部が、期待動作情報と、対象機器から送信された動作情報とに基づいて、動作情報により示される動作が、対象機器が命令を受信した場合に期待される対象機器の動作であるか否かを処理装置により判定するので、命令に従った動作の試験を自動化し、テスト項目数を減らすことなく、テスト工数を削減することできるという効果を奏する。   According to the test execution system of the present invention, the instruction transmission unit extracts an instruction from the operation correspondence information stored in the operation correspondence information storage unit, transmits the extracted instruction to the target device by the transmission device, and an expected operation determination unit Whether or not the operation indicated by the operation information is expected operation of the target device when the target device receives the command based on the expected operation information and the operation information transmitted from the target device. Since the determination is made by the processing device, the test of the operation according to the command is automated, and the test man-hour can be reduced without reducing the number of test items.

実施の形態1に係るテスト自動化システム500の一例を示す図である。1 is a diagram illustrating an example of a test automation system 500 according to Embodiment 1. FIG. 実施の形態1に係るテスト自動化システム500の構成を示すブロック図である。1 is a block diagram showing a configuration of a test automation system 500 according to Embodiment 1. FIG. 実施の形態1に係る製品100、テスト自動化装置200のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a product 100 and a test automation apparatus 200 according to Embodiment 1. FIG. 実施の形態1に係るテスト自動化システム500のテスト自動化方法の流れを示すフローチャートである。4 is a flowchart showing a flow of a test automation method of the test automation system 500 according to the first embodiment. 実施の形態1に係るテスト自動化装置200の内部構成図である。1 is an internal configuration diagram of a test automation apparatus 200 according to Embodiment 1. FIG. 実施の形態1に係るテスト手順書210の構成図である。3 is a configuration diagram of a test procedure manual 210 according to Embodiment 1. FIG. 実施の形態1に係る製品100の内部構成図である。2 is an internal configuration diagram of a product 100 according to Embodiment 1. FIG. 実施の形態1に係る情報出力部1132により振る舞い情報の抽象化を示す図である。6 is a diagram illustrating abstraction of behavior information by the information output unit 1132 according to Embodiment 1. FIG. 実施の形態2に係るテスト自動化装置201の構成を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration of a test automation apparatus 201 according to a second embodiment. 実施の形態3に係るテスト手順書210作成のモデル化の例を示す図である。It is a figure which shows the example of modeling of preparation of the test procedure manual 210 concerning Embodiment 3. FIG.

以下、本発明の実施の形態について、図を用いて説明する。なお、各実施の形態の説明において、「上」、「下」、「左」、「右」、「前」、「後」、「表」、「裏」といった方向は、説明の便宜上、そのように記しているだけであって、装置、器具、部品等の配置や向き等を限定するものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the description of each embodiment, the directions such as “up”, “down”, “left”, “right”, “front”, “back”, “front”, “back” are However, it is not intended to limit the arrangement or orientation of devices, instruments, parts, or the like.

実施の形態1.
図1は、本実施の形態に係るテスト自動化システム500の一例を示す図である。
本実施の形態に係るテスト自動化システム500(テスト実行システム)は、製品100(対象機器)のテストを自動化するためのシステムである。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating an example of a test automation system 500 according to the present embodiment.
The test automation system 500 (test execution system) according to the present embodiment is a system for automating the test of the product 100 (target device).

テスト自動化システム500は、テスト対象である製品100と、製品100のテストを実行するテスト自動化装置200(テスト実行装置)とを備える。図1に示すように、製品100は、例えば、テレビ、DVDレコーダーなどである。
製品100は、テスト自動化装置200からの操作情報(命令)を受信し、操作情報に応じた振る舞い(動作)を行い、テスト自動化装置200に対して、振る舞いの結果(振る舞い情報(動作情報))を伝える。
テスト自動化装置200は、製品100から伝えられた振る舞い情報を解析し、振る舞いが正しかったかの判断を行い、テスト結果を出力する。
The test automation system 500 includes a product 100 to be tested and a test automation device 200 (test execution device) that executes a test of the product 100. As shown in FIG. 1, the product 100 is, for example, a television, a DVD recorder, or the like.
The product 100 receives the operation information (command) from the test automation apparatus 200, performs a behavior (operation) according to the operation information, and performs a behavior result (behavior information (operation information)) on the test automation apparatus 200. Tell.
The test automation apparatus 200 analyzes the behavior information transmitted from the product 100, determines whether the behavior is correct, and outputs a test result.

図1では、テスト自動化装置200は、コンピュータ装置と送信機とから構成されている。コンピュータ装置に内蔵されたマザーボードと送信機とは、例えば、有線で接続されている。また、コンピュータ装置に内蔵されたマザーボードと製品100とは、例えば、有線で接続されている。テスト自動化システム500の構成は、これに限られず、コンピュータ装置と送信機とが一体型でも良い。また、コンピュータ装置と送信機との接続、コンピュータ装置と製品100との接続は情報の送受信ができるものであれば、無線通信等、どのような通信方式でも構わない。   In FIG. 1, the test automation apparatus 200 is composed of a computer device and a transmitter. The motherboard and the transmitter built in the computer device are connected by, for example, a wired connection. The motherboard incorporated in the computer device and the product 100 are connected by, for example, a wired connection. The configuration of the test automation system 500 is not limited to this, and the computer device and the transmitter may be integrated. The connection between the computer device and the transmitter and the connection between the computer device and the product 100 may be any communication method such as wireless communication as long as information can be transmitted and received.

図2は、本実施の形態に係るテスト自動化システム500の構成を示すブロック図である。
図2を用いて、本実施の形態にかかるテスト自動化システム500の構成及び各構成の機能について説明する。
FIG. 2 is a block diagram showing the configuration of the test automation system 500 according to this embodiment.
The configuration of the test automation system 500 according to this embodiment and the function of each component will be described with reference to FIG.

テスト自動化システム500は、製品100、テスト自動化装置200を備える。
製品100は、操作入力インターフェース部115、動作実行部116、振る舞い情報出力部113、振る舞い出力インターフェース部114を備える。
The test automation system 500 includes a product 100 and a test automation device 200.
The product 100 includes an operation input interface unit 115, an operation execution unit 116, a behavior information output unit 113, and a behavior output interface unit 114.

操作入力インターフェース部115は、テスト自動化装置200から、テストの対象となるH/W(ハードウェア)やS/W(ソフトウェア)への操作情報1eの入力の際のインターフェース処理を実行する。操作入力インターフェース部115は、テスト自動化装置200の自動操作部220から操作情報1e(命令)を受信する命令受信部の一例である。   The operation input interface unit 115 executes interface processing when inputting the operation information 1e from the test automation apparatus 200 to H / W (hardware) or S / W (software) to be tested. The operation input interface unit 115 is an example of a command receiving unit that receives the operation information 1e (command) from the automatic operation unit 220 of the test automation apparatus 200.

動作実行部116は、操作入力インターフェース部115が受信した操作情報1eに基づいて動作を実行する。動作実行部116は、テストの対象となるH/W(ハードウェア)やS/W(ソフトウェア)から構成される。   The operation execution unit 116 executes an operation based on the operation information 1e received by the operation input interface unit 115. The operation execution unit 116 is composed of H / W (hardware) and S / W (software) to be tested.

振る舞い情報出力部113は、テスト対象の振る舞いの結果である振る舞い情報を出力する。
振る舞い出力インターフェース部114は、振る舞い情報出力部113からテスト対象の振る舞いの結果である振る舞い情報を受け取り、テスト自動化装置200への振る舞い情報を送信する際のインターフェース処理を実行し、テスト自動化装置200への振る舞い情報を送信する。振る舞い出力インターフェース部114は、動作実行部116が実行した振る舞い(動作)を示す振る舞い情報1f(動作情報)をテスト自動化装置200に送信する動作情報送信部の一例である。
The behavior information output unit 113 outputs behavior information that is a result of the behavior of the test target.
The behavior output interface unit 114 receives the behavior information that is the result of the behavior of the test target from the behavior information output unit 113, executes interface processing when transmitting the behavior information to the test automation device 200, and transmits the behavior information to the test automation device 200. Send behavior information of. The behavior output interface unit 114 is an example of an operation information transmission unit that transmits behavior information 1f (operation information) indicating the behavior (operation) executed by the operation execution unit 116 to the test automation apparatus 200.

テスト自動化装置200は、テスト手順書210、自動操作部220、振る舞い入力インターフェース部230、振る舞い入力判断部240、期待動作解釈部250、結果出力部260、手順書作成部270を備える。
自動操作部220は、操作解釈部221、送信機222を備える。
The test automation apparatus 200 includes a test procedure manual 210, an automatic operation unit 220, a behavior input interface unit 230, a behavior input determination unit 240, an expected operation interpretation unit 250, a result output unit 260, and a procedure manual creation unit 270.
The automatic operation unit 220 includes an operation interpretation unit 221 and a transmitter 222.

テスト手順書210は、製品100に対する操作手順を示すテスト手順部分と、製品100が当該操作手順を受信した場合に期待される振る舞いを示す期待値部(期待動作情報)とを対応付けて記憶装置に記憶されるものである。テスト手順書210は、動作対応情報の一例であり、動作対応情報記憶部により記憶装置に記憶される。   The test procedure manual 210 associates a test procedure portion indicating an operation procedure for the product 100 with an expected value portion (expected operation information) indicating a behavior expected when the product 100 receives the operation procedure. Is stored in The test procedure manual 210 is an example of operation correspondence information, and is stored in the storage device by the operation correspondence information storage unit.

自動操作部220は、動作対応情報記憶部に記憶されたテスト手順書210から、テスト手順部分(操作)を取り出し、取り出したテスト手順部分(操作)に基づいた操作情報を送信機222(送信装置)により製品100に送信する命令送信部の一例である。
また、自動操作部220は、テスト手順書210のテスト手順部分(操作)と、テスト手順部分(操作)に関する時間情報とに基づいて、製品100に対する操作を示す操作情報1eを生成する操作解釈部221を備える。
The automatic operation unit 220 extracts the test procedure part (operation) from the test procedure document 210 stored in the operation correspondence information storage unit, and transmits operation information based on the extracted test procedure part (operation) to the transmitter 222 (transmission device). ) Is an example of a command transmission unit that transmits to the product 100.
The automatic operation unit 220 generates an operation information 1e indicating an operation on the product 100 based on the test procedure part (operation) of the test procedure manual 210 and the time information on the test procedure part (operation). 221.

送信機222、操作解釈部221、テスト手順書210で構成された操作は、操作情報1eとして製品100(テスト対象)に伝えられ、製品100への操作情報1eは製品100に組込まれた操作入力インターフェース部115を経由して製品100内部に伝えられ、製品100は操作情報1eに対応した振る舞いを行う。製品100の振る舞いは、振る舞い情報出力部113に伝えられ、振る舞い出力インターフェース部114を経由して振る舞い情報1fがテスト自動化装置200に伝えられる。   The operation configured by the transmitter 222, the operation interpretation unit 221, and the test procedure document 210 is transmitted to the product 100 (test target) as operation information 1e, and the operation information 1e to the product 100 is an operation input incorporated in the product 100. The information is transmitted to the inside of the product 100 via the interface unit 115, and the product 100 performs a behavior corresponding to the operation information 1e. The behavior of the product 100 is transmitted to the behavior information output unit 113, and the behavior information 1 f is transmitted to the test automation apparatus 200 via the behavior output interface unit 114.

振る舞い情報1fは、テスト自動化装置200の振る舞い入力インターフェース部230を経由して、振る舞い入力判断部240に伝えられる。振る舞い入力インターフェース部230は、製品100の振る舞い出力インターフェース部114から振る舞い情報1fを受信する動作情報受信部の一例である。
振る舞い入力判断部240は、振る舞い入力インターフェース部230から振る舞い情報1fを入力し、期待動作解釈部250に伝える。
The behavior information 1 f is transmitted to the behavior input determination unit 240 via the behavior input interface unit 230 of the test automation apparatus 200. The behavior input interface unit 230 is an example of an operation information receiving unit that receives the behavior information 1 f from the behavior output interface unit 114 of the product 100.
The behavior input determination unit 240 receives the behavior information 1 f from the behavior input interface unit 230 and transmits the behavior information 1 f to the expected operation interpretation unit 250.

期待動作解釈部250は、動作対応情報記憶部に記憶されたテスト手順書210から、自動操作部220により送信された操作情報1eに対応付けられた期待値部を取り出し、取り出した期待値部と、受信した振る舞い情報1fとに基づいて、振る舞い情報1fにより示される動作が、製品100が送信した操作情報1eを受信した場合に期待される振る舞いであるか否かを処理装置により判定する。つまり、テスト手順書210の期待する振る舞いが期待値として期待動作解釈部250に伝えられ、期待動作解釈部250において振る舞いと期待値との自動照合を行われる。期待動作解釈部250は、期待動作判定部の一例である。   The expected action interpretation unit 250 takes out the expected value part associated with the operation information 1e transmitted from the automatic operation part 220 from the test procedure manual 210 stored in the action correspondence information storage part, and extracts the expected value part Based on the received behavior information 1f, the processing device determines whether the operation indicated by the behavior information 1f is the behavior expected when the operation information 1e transmitted by the product 100 is received. That is, the expected behavior of the test procedure document 210 is transmitted as an expected value to the expected behavior interpretation unit 250, and the expected behavior interpretation unit 250 automatically collates the behavior with the expected value. The expected action interpretation unit 250 is an example of an expected action determination unit.

結果出力部260は、期待動作解釈部250における自動照合の結果を出力する。
手順書作成部270は、テスト手順書210を自動生成する。手順書作成部270は、なくてもよい。
以上のように、テスト自動化システム500では、試験操作から結果確認までのテストが自動的に実行される。
The result output unit 260 outputs the result of the automatic verification in the expected action interpretation unit 250.
The procedure manual creation unit 270 automatically generates the test procedure manual 210. The procedure manual creation unit 270 may be omitted.
As described above, in the test automation system 500, the test from the test operation to the result confirmation is automatically executed.

図3は、本実施の形態に係る製品100、テスト自動化装置200のハードウェア構成の一例を示す図である。
図3を用いて、製品100、テスト自動化装置200のハードウェア構成例について説明する。
FIG. 3 is a diagram illustrating an example of a hardware configuration of the product 100 and the test automation apparatus 200 according to the present embodiment.
A hardware configuration example of the product 100 and the test automation apparatus 200 will be described with reference to FIG.

製品100、テスト自動化装置200はコンピュータを備え、製品100、テスト自動化装置200の各要素をプログラムで実現することができる。   The product 100 and the test automation device 200 include a computer, and each element of the product 100 and the test automation device 200 can be realized by a program.

製品100、テスト自動化装置200のハードウェア構成としては、バスに、演算装置901、外部記憶装置902、主記憶装置903、通信装置904、入出力装置905が接続されている。   As hardware configurations of the product 100 and the test automation apparatus 200, an arithmetic device 901, an external storage device 902, a main storage device 903, a communication device 904, and an input / output device 905 are connected to the bus.

演算装置901は、プログラムを実行するCPU(Central・Processing・Unit)である。
外部記憶装置902は、例えばROM(Read・Only・Memory)やフラッシュメモリ、ハードディスク装置である。
主記憶装置903は、RAM(Random・Access・Memory)である。
The arithmetic device 901 is a CPU (Central Processing Unit) that executes a program.
The external storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or a hard disk device.
The main storage device 903 is a RAM (Random / Access / Memory).

通信装置904は、例えば通信ボード等であり、LAN(Local・Area・Network)等に接続されている。通信装置904は、LANに限らず、IP−VPN(Internet・Protocol・Virtual・Private・Network)、広域LAN、ATM(Asynchronous・Transfer・Mode)ネットワークといったWAN(Wide・Area・Network)、あるいは、インターネットに接続されていても構わない。LAN、WAN、インターネットは、ネットワークの一例である。   The communication device 904 is, for example, a communication board or the like, and is connected to a LAN (Local / Area / Network) or the like. The communication device 904 is not limited to a LAN, but includes an IP-VPN (Internet / Protocol / Virtual / Private / Network), a wide-area LAN, an ATM (Asynchronous / Transfer / Mode) network, a WAN (Wide / Area / Network), or the Internet. It does not matter if it is connected to. LAN, WAN, and the Internet are examples of networks.

入出力装置905は、例えばマウス、キーボード、ディスプレイ装置等である。マウスの代わりに、タッチパネル、タッチパッド、トラックボール、ペンタブレット、あるいは、その他のポインティングデバイスが用いられてもよい。ディスプレイ装置は、LCD(Liquid・Crystal・Display)、CRT(Cathode・Ray・Tube)、あるいは、その他の表示装置でもよい。   The input / output device 905 is, for example, a mouse, a keyboard, a display device, or the like. Instead of the mouse, a touch panel, touch pad, trackball, pen tablet, or other pointing device may be used. The display device may be an LCD (Liquid / Crystal / Display), a CRT (Cathode / Ray / Tube), or another display device.

プログラムは、通常は外部記憶装置902に記憶されており、主記憶装置903にロードされた状態で、順次演算装置901に読み込まれ、実行される。
プログラムは、図2に示す「〜部」として説明している機能を実現するプログラムである。
更に、外部記憶装置902にはオペレーティングシステム(OS)も記憶されており、OSの少なくとも一部が主記憶装置903にロードされ、演算装置901はOSを実行しながら、図2に示す「〜部」の機能を実現するプログラムを実行する。
また、アプリケーションプログラムも外部記憶装置902に記憶されており、主記憶装置903にロードされた状態で、順次演算装置901により実行される。
また、「〜テーブル」等の情報も外部記憶装置902に記憶されている。
The program is normally stored in the external storage device 902, and is loaded into the main storage device 903 and sequentially read into the arithmetic device 901 and executed.
The program is a program that realizes a function described as “unit” shown in FIG.
Further, an operating system (OS) is also stored in the external storage device 902. At least a part of the OS is loaded into the main storage device 903, and the computing device 901 executes the OS while displaying “˜ part” shown in FIG. ”Is executed.
An application program is also stored in the external storage device 902, and is sequentially executed by the arithmetic device 901 while being loaded in the main storage device 903.
Information such as “˜table” is also stored in the external storage device 902.

また、本実施の形態の説明において、「〜の判断」、「〜の判定」、「〜の抽出」、「〜の検知」、「〜の設定」、「〜の登録」、「〜の選択」、「〜の生成」、「〜の入力」、「〜の出力」等として説明している処理の結果を示す情報やデータや信号値や変数値が主記憶装置903にファイルとして記憶されている。
また、製品100、テスト自動化装置200が受信したデータが主記憶装置903に記憶される。
また、暗号鍵・復号鍵や乱数値やパラメータが、主記憶装置903にファイルとして記憶されてもよい。
In the description of the present embodiment, “determining”, “determining”, “extracting”, “detecting”, “setting”, “registering”, “selecting” ”,“ Generate ”,“ Input of ”,“ Output of ”, etc., information, data, signal values, and variable values indicating the results of the processing are stored in the main storage device 903 as files. Yes.
In addition, data received by the product 100 and the test automation device 200 is stored in the main storage device 903.
Further, the encryption key / decryption key, random number value, and parameter may be stored in the main storage device 903 as a file.

なお、図3の構成は、あくまでも製品100、テスト自動化装置200のハードウェア構成の一例を示すものであり、製品100、テスト自動化装置200のハードウェア構成は図3に記載の構成に限らず、他の構成であってもよい。   3 is merely an example of the hardware configuration of the product 100 and the test automation device 200, and the hardware configuration of the product 100 and the test automation device 200 is not limited to the configuration illustrated in FIG. Other configurations may be used.

図4は、本実施の形態に係るテスト自動化システム500のテスト自動化方法(テスト実行方法)の流れを示すフローチャートである。
図4を用いて、テスト自動化システム500の処理動作について説明する。テスト自動化システム500のテスト自動化方法は、例えば、製品100、テスト自動化装置200等のハードウェア資源により、テスト自動化プログラム(テスト実行プログラム)が実行されることにより実現される。
FIG. 4 is a flowchart showing a flow of a test automation method (test execution method) of the test automation system 500 according to the present embodiment.
The processing operation of the test automation system 500 will be described with reference to FIG. The test automation method of the test automation system 500 is realized by executing a test automation program (test execution program) using hardware resources such as the product 100 and the test automation apparatus 200, for example.

S100において、手順書作成部270による手順書作成処理を実行する。手順書作成処理については後述する。ここでは、予めテスト手順書210が作成され、動作対応情報記憶部に記憶されているものとする。
S101において、製品100のテストが開始される。
S102において、テスト手順書解釈処理が実行される。
以下、テスト手順書解釈処理について説明する。
In S100, a procedure manual creation process by the procedure manual creation unit 270 is executed. The procedure manual creation process will be described later. Here, it is assumed that the test procedure document 210 is created in advance and stored in the operation correspondence information storage unit.
In S101, the test of the product 100 is started.
In S102, a test procedure manual interpretation process is executed.
The test procedure manual interpretation process will be described below.

<テスト手順書解釈処理:S102>
図5は、本実施の形態に係るテスト自動化装置200の内部構成図である。
図6は、本実施の形態に係るテスト手順書210の構成図である。
<Test Procedure Interpretation Processing: S102>
FIG. 5 is an internal configuration diagram of the test automation apparatus 200 according to the present embodiment.
FIG. 6 is a configuration diagram of the test procedure manual 210 according to the present embodiment.

図5に示すように、操作解釈部221は、送信OK/NG処理部2211、解釈結果送信データ変換部2212、テスト手順解釈部2213を備える。
図5、図6に示すように、テスト手順書210は、テスト手順部2141、期待値部2142、テスト結果部2143を備える。テスト手順書210は、例えば、「Microsoft・Excel」に代表される表形式のテスト手順書であり、テスト手順部2141と期待値部2142とのそれぞれが記載されている位置情報を含んでいる。また、テスト結果部2143には、「操作」に対する製品100の振る舞い結果と、期待値とを自動照合した判断のOK、あるいはNGが記載表示される。
As shown in FIG. 5, the operation interpretation unit 221 includes a transmission OK / NG processing unit 2211, an interpretation result transmission data conversion unit 2212, and a test procedure interpretation unit 2213.
As shown in FIGS. 5 and 6, the test procedure manual 210 includes a test procedure unit 2141, an expected value unit 2142, and a test result unit 2143. The test procedure manual 210 is, for example, a tabular test procedure manual represented by “Microsoft Excel”, and includes position information in which each of the test procedure section 2141 and the expected value section 2142 is described. In addition, the test result section 2143 displays an OK or NG judgment that automatically compares the behavior result of the product 100 with respect to the “operation” and the expected value.

テスト手順解釈部2213は、テスト手順書210のテスト手順部分(テスト手順部2141)を操作と操作以外とに処理装置により区別する。
例えば、図6に示すように、テスト手順書210の1レコード目のテスト手順部2141には、「操作」に「電源ボタンを押下する」と設定され、操作以外の情報である「次の操作までの間隔」に「60秒」と設定されている。操作以外の情報は、操作に関する時間情報の一例である。
したがって、テスト手順解釈部2213は、「操作」として「電源ボタンを押下する」と解釈し、「次の操作までの間隔」として「60秒」と解釈する。
The test procedure interpreting unit 2213 distinguishes the test procedure part (test procedure unit 2141) of the test procedure manual 210 by the processing device between operation and non-operation.
For example, as shown in FIG. 6, in the test procedure part 2141 of the first record of the test procedure document 210, “operation button” is set as “operation” and “next operation” is information other than the operation. Is set to “60 seconds”. Information other than the operation is an example of time information related to the operation.
Therefore, the test procedure interpretation unit 2213 interprets “press the power button” as “operation” and “60 seconds” as “interval until next operation”.

解釈結果送信データ変換部2212は、テスト手順解釈部2213による解釈の結果に基づいて、「操作」部分を製品100が受信可能な操作データに変換する。換言すると、解釈結果送信データ変換部2212は、特定した「操作」(テスト手順)と、操作以外の情報とに基づいて、製品100に対する操作命令を示す操作情報1eを生成する。   The interpretation result transmission data conversion unit 2212 converts the “operation” portion into operation data that can be received by the product 100 based on the interpretation result by the test procedure interpretation unit 2213. In other words, the interpretation result transmission data conversion unit 2212 generates operation information 1e indicating an operation command for the product 100 based on the identified “operation” (test procedure) and information other than the operation.

テスト手順解釈部2213では、テスト手順書210のどの部分に「操作」(テスト手順)が記載されているかの位置情報を確認して、「操作」(テスト手順)を特定して取り込む。
例えば、テスト手順解釈部2213は、テスト手順部41の立て列から「○○ボタン」をキーワードとして、「操作」であることを見分けることができるとしてもよい。また、時間情報として、次の「操作」までの間隔を設定することで、製品100の振る舞いが完了するまでの時間を鑑みることができる。
The test procedure interpretation unit 2213 confirms the position information indicating which part of the test procedure manual 210 “operation” (test procedure) is described, and specifies and loads “operation” (test procedure).
For example, the test procedure interpreting unit 2213 may be able to distinguish “operation” from the standing of the test procedure unit 41 using “XX button” as a keyword. Further, by setting an interval until the next “operation” as the time information, it is possible to consider the time until the behavior of the product 100 is completed.

以上のように、自動操作部220は、予め作成され、記憶されているテスト手順書210から、操作に関するキーワード、操作に関する時間情報を検出し、製品が受け取れる操作情報に変換することができる。操作に関する時間情報とは、例えば、操作と次のレコードの操作との間隔、ボタンの長押しの時間などである。   As described above, the automatic operation unit 220 can detect a keyword related to an operation and time information related to an operation from a test procedure document 210 created and stored in advance, and convert the detected operation information into operation information that can be received by a product. The time information related to the operation is, for example, the interval between the operation and the operation of the next record, the time for which the button is long pressed, and the like.

<送信OK/NG処理:S103>
送信OK/NG処理部2211は、解釈結果送信データ変換部2212により変換された操作データを送信機222に出力してよいか否かを処理装置により判断する。送信OK/NG処理部2211は、NG情報301あるいはOK情報302を受信し、受信したNG情報301あるいはOK情報302に基づいて処理を実行する。
送信OK/NG処理部2211は、例えば、期待動作解釈部250からNG情報301(図5参照)を受信した場合に、送信NGと判定し(S103においてNO)、処理を終了する。
<Transmission OK / NG processing: S103>
The transmission OK / NG processing unit 2211 determines whether or not the operation data converted by the interpretation result transmission data conversion unit 2212 can be output to the transmitter 222 by the processing device. The transmission OK / NG processing unit 2211 receives the NG information 301 or the OK information 302, and executes processing based on the received NG information 301 or the OK information 302.
For example, when the transmission OK / NG processing unit 2211 receives the NG information 301 (see FIG. 5) from the expected operation interpretation unit 250, the transmission OK / NG processing unit 2211 determines that the transmission is NG (NO in S103) and ends the process.

送信OK/NG処理部2211が期待動作解釈部250からNG情報301を受信する場合とは、S103において送信しようとしているテスト手順書210のレコード(処理対象レコードとする)よりも前のレコードに対応する「操作」手順において、製品100の振る舞いがNGとなったことを意味する。この場合、期待動作解釈部250からNG情報301が送信OK/NG処理部2211に送信される。操作解釈部221の送信OK/NG処理部2211は、NG情報301を受信すると、操作データの送信を中止し、処理を終了する。   The case where the transmission OK / NG processing unit 2211 receives the NG information 301 from the expected behavior interpretation unit 250 corresponds to the record before the record of the test procedure manual 210 to be transmitted in S103 (referred to as the processing target record). This means that the behavior of the product 100 is NG in the “operation” procedure. In this case, the NG information 301 is transmitted from the expected operation interpretation unit 250 to the transmission OK / NG processing unit 2211. When the transmission OK / NG processing unit 2211 of the operation interpreting unit 221 receives the NG information 301, the transmission of the operation data is stopped and the processing is ended.

送信OK/NG処理部2211は、例えば、期待動作解釈部250からOK情報302(図4参照)を受信した場合に、送信OKと判定し(S103においてYES)、処理をS104に進める。
送信OK/NG処理部2211が期待動作解釈部250からOK情報302を受信する場合とは、S103において送信しようとしているテスト手順書210のレコード(処理対象レコードとする)の前のレコードに対応する「操作」手順において、製品100の振る舞いがOKとなったことを意味する。
期待動作解釈部250が操作解釈部221(送信OK/NG処理部2211)にNG情報301あるいはOK情報302を送信する処理については後述する。
For example, when the transmission OK / NG processing unit 2211 receives the OK information 302 (see FIG. 4) from the expected operation interpretation unit 250, the transmission OK / NG processing unit 2211 determines that the transmission is OK (YES in S103), and advances the processing to S104.
The case where the transmission OK / NG processing unit 2211 receives the OK information 302 from the expected operation interpretation unit 250 corresponds to the record before the record of the test procedure manual 210 to be transmitted in S103 (referred to as the processing target record). It means that the behavior of the product 100 is OK in the “operation” procedure.
A process in which the expected action interpretation unit 250 transmits the NG information 301 or the OK information 302 to the operation interpretation unit 221 (transmission OK / NG processing unit 2211) will be described later.

また、送信OK/NG処理部2211は、NG情報301、OK情報302により、操作情報1eの送信の可否を判断する処理でなくてもよい。例えば、送信OK/NG処理部2211は、テスト手順書210の処理対象レコードの前のレコードのテスト結果部2143を参照し、処理対象レコードの前のレコードのテスト結果部2143がNGの場合には処理を終了するとしてもよい。   Further, the transmission OK / NG processing unit 2211 may not be a process of determining whether or not the operation information 1e can be transmitted based on the NG information 301 and the OK information 302. For example, the transmission OK / NG processing unit 2211 refers to the test result unit 2143 of the record before the processing target record in the test procedure manual 210, and when the test result unit 2143 of the record before the processing target record is NG. The process may be terminated.

<操作情報送信処理(命令送信工程):S104>
図5に示すように、送信機222は、送信処理部2221を備える。
送信機222は、操作情報1eを製品100に出力する。送信処理部2221は、操作情報1eを送信機222の送信形式に合わせる処理を実行する。送信処理部2221は、例えば、リモートコントローラに代表される通信処理を用いて操作情報1eを製品100に送信する。
これにより、例えば、あたかも試験者がリモートコントローラ等により、テレビなどの製品100に対して、電源操作、再生操作、予約録画操作などの操作を行うと同様の動作を実現できる。
<Operation information transmission process (command transmission process): S104>
As shown in FIG. 5, the transmitter 222 includes a transmission processing unit 2221.
The transmitter 222 outputs the operation information 1e to the product 100. The transmission processing unit 2221 executes processing for matching the operation information 1e with the transmission format of the transmitter 222. For example, the transmission processing unit 2221 transmits the operation information 1e to the product 100 using communication processing represented by a remote controller.
As a result, for example, the same operation can be realized as if the tester performs operations such as a power supply operation, a reproduction operation, and a scheduled recording operation on the product 100 such as a television by using a remote controller or the like.

図7は、本実施の形態に係る製品100の内部構成図である。
図4及び図7を用いて、操作情報1eを受信した製品100の処理動作について説明する。操作情報1eを受信した製品100の動作は、操作入力処理(図4におけるS105)、振る舞い情報収集処理(図4におけるS106〜S107)、振る舞い情報送信処理(図4におけるS108)から構成される。
FIG. 7 is an internal configuration diagram of the product 100 according to the present embodiment.
The processing operation of the product 100 that has received the operation information 1e will be described with reference to FIGS. The operation of the product 100 that has received the operation information 1e includes an operation input process (S105 in FIG. 4), a behavior information collection process (S106 to S107 in FIG. 4), and a behavior information transmission process (S108 in FIG. 4).

図7に示すように、製品100は、動作実行部116(図2参照)として、操作受信モジュール25、機能1モジュール(SWモジュール21(ソフトウェアモジュール)、HWモジュール23(ハードウェアモジュール))、機能2モジュール(SWモジュール22)を備えている。
SWモジュール21〜操作受信モジュール25は、製品100本来に備わっているモジュールである。機能1モジュール24は、SWモジュール21とHWモジュール23で構成される例であり、機能2モジュールのようにSWモジュール22のみで構成されている場合もある。操作受信モジュール25は、リモートコントローラの受信部に代表される製品100本来に備わっており、操作を受け付けるモジュールである。
As shown in FIG. 7, the product 100 includes an operation receiving module 25, a function 1 module (SW module 21 (software module), HW module 23 (hardware module)), function, as an operation execution unit 116 (see FIG. 2). Two modules (SW module 22) are provided.
The SW module 21 to the operation receiving module 25 are modules inherent to the product 100. The function 1 module 24 is an example composed of the SW module 21 and the HW module 23, and may be composed of only the SW module 22 like the function 2 module. The operation receiving module 25 is originally provided in the product 100 represented by the receiving unit of the remote controller, and is a module that receives an operation.

操作入力インターフェース部115は、操作変換部1151、操作解釈部1152を備える。振る舞い情報出力部113は、情報収集部1131、情報出力部1132を備える。振る舞い出力インターフェース部114は、振る舞い情報変換部1141、振る舞い情報送信部1142を備える。   The operation input interface unit 115 includes an operation conversion unit 1151 and an operation interpretation unit 1152. The behavior information output unit 113 includes an information collection unit 1131 and an information output unit 1132. The behavior output interface unit 114 includes a behavior information conversion unit 1141 and a behavior information transmission unit 1142.

<操作受信処理(命令受信工程):S105>
S105において、操作入力インターフェース部115は、操作情報1eを受信する。操作入力インターフェース部115は、製品100本来に備わっている操作受信モジュール25に適合した形式に、受信した操作情報1eを変換する。
操作解釈部1152は、受信した操作情報1eの操作の内容を処理装置により解釈する。操作変換部1151は、操作解釈部1152により解釈された操作の内容を、製品100本来に備わっている操作受信モジュール25が受信可能な形式に処理装置により変換する。なお、操作情報1eが直接に操作受信モジュール25で受信可能な場合は、操作入力インターフェース部115を組み込む必要はない。
<Operation receiving process (command receiving process): S105>
In S105, the operation input interface unit 115 receives the operation information 1e. The operation input interface unit 115 converts the received operation information 1e into a format suitable for the operation receiving module 25 inherent to the product 100.
The operation interpretation unit 1152 interprets the content of the operation of the received operation information 1e by the processing device. The operation conversion unit 1151 converts the content of the operation interpreted by the operation interpretation unit 1152 into a format that can be received by the operation reception module 25 inherent to the product 100 by the processing device. When the operation information 1e can be directly received by the operation receiving module 25, the operation input interface unit 115 does not need to be incorporated.

<振る舞い情報収集処理(動作実行工程):S106〜S107>
操作受信モジュール25は、操作入力インターフェース部115から操作(操作情報1eが変換された情報)を受信する。製品100は、操作受信モジュール25が利用者からリモートコントローラにより操作を受信した場合と同様に、受信した操作に従って、機能1モジュール(SWモジュール21、HWモジュール23)、機能2モジュール(SWモジュール22)に信号を送信する。つまり、製品100は、受信した操作に対応する振る舞いを実行する。
<Behavior information collection process (operation execution process): S106 to S107>
The operation receiving module 25 receives an operation (information obtained by converting the operation information 1e) from the operation input interface unit 115. Similar to the case where the operation receiving module 25 receives an operation from the user by the remote controller, the product 100 is configured to function 1 module (SW module 21, HW module 23) and function 2 module (SW module 22) according to the received operation. Send a signal to That is, the product 100 performs a behavior corresponding to the received operation.

S106において、情報収集部1131は、製品100本来に備わっている機能1モジュール24及びSWモジュール22から、製品100の振る舞い情報を収集する。   In S <b> 106, the information collection unit 1131 collects behavior information of the product 100 from the function 1 module 24 and the SW module 22 that are inherent to the product 100.

S107において、情報出力部1132は、情報収集部1131により収集された振る舞い情報を、テスト自動化装置200が受信可能なデータ形式に処理装置により変換する。
振る舞い情報出力処理において多くの情報を出力すると製品100の性能を劣化させる恐れがあるため、情報出力部1132は、必要な振る舞い情報を処理装置により抽象化する処理をする。
In S107, the information output unit 1132 converts the behavior information collected by the information collection unit 1131 into a data format that can be received by the test automation device 200 by the processing device.
If a large amount of information is output in the behavior information output process, the performance of the product 100 may be deteriorated. Therefore, the information output unit 1132 performs a process of abstracting necessary behavior information by the processing device.

図8は、本実施の形態に係る情報出力部1132により振る舞い情報の抽象化を示す図である。
図8に示すように、情報出力部1132が出力する振る舞い情報1f’の構成は、図6のテスト手順書210の期待値部2142の構成と同一である。
振る舞い情報1f’(動作情報)は、製品100の動作状態を示すステータス情報と、製品100に設定されている設定情報とを含む情報である。
振る舞い情報1f’は、ステータス8bit、チャンネル16bit、表示8bit、OSD(ディスプレイ設定表示・調整機能)16bit、表示時間8bit、カーソル位置8bit、録画モード8bit、及び反応(振る舞い)(経過)時間16bitの96bitで数値化される。図8では、それぞれの項目において、内容の数値設定の一例を示している。
FIG. 8 is a diagram showing abstraction of behavior information by the information output unit 1132 according to the present embodiment.
As shown in FIG. 8, the configuration of the behavior information 1f ′ output by the information output unit 1132 is the same as the configuration of the expected value unit 2142 of the test procedure manual 210 of FIG.
The behavior information 1f ′ (operation information) is information including status information indicating the operation state of the product 100 and setting information set in the product 100.
The behavior information 1f ′ includes 96 bits of status 8 bits, channel 16 bits, display 8 bits, OSD (display setting display / adjustment function) 16 bits, display time 8 bits, cursor position 8 bits, recording mode 8 bits, and reaction (behavior) (elapsed) time 16 bits. It is digitized by. FIG. 8 shows an example of the numerical value setting for each item.

上述したように、振る舞い情報1f’は、振る舞い経過時間51を備え、振る舞いにかかる動作時間を出力する。この振る舞い経過時間51は、後述するテスト自動化装置200の期待動作解釈部250による期待動作解釈処理の際に、振る舞いとあわせて合否の判断に使用される。振る舞い経過時間51は、テストの内容により、製品100の内部動作の時間としても良い。   As described above, the behavior information 1 f ′ includes the behavior elapsed time 51 and outputs the operation time required for the behavior. The behavior elapsed time 51 is used for the pass / fail judgment together with the behavior in the expected behavior interpretation processing by the expected behavior interpretation unit 250 of the test automation apparatus 200 described later. The behavior elapsed time 51 may be an internal operation time of the product 100 depending on the content of the test.

<振る舞い情報送信処理(動作情報送信工程):S108>
S108において、振る舞い出力インターフェース部114は、情報出力部1132から出力された振る舞い情報1f’を入力する。振る舞い出力インターフェース部114の振る舞い情報変換部1141は、入力した振る舞い情報1f’をテスト自動化装置200と物理的に接続するインターフェースに変換し適合させ、振る舞い情報1fとして出力する。振る舞い情報送信部1142は、振る舞い情報変換部1141により、例えば、RS232Cなどに代表されるような通信インターフェースに適合された振る舞い情報1fを、テスト自動化装置200へ送信する。製品本来に備わっている場合は振る舞い出力インターフェース部114を組み込む必要なない。
<Behavior information transmission process (operation information transmission process): S108>
In S <b> 108, the behavior output interface unit 114 receives the behavior information 1 f ′ output from the information output unit 1132. The behavior information conversion unit 1141 of the behavior output interface unit 114 converts and adapts the input behavior information 1f ′ to an interface physically connected to the test automation apparatus 200, and outputs it as behavior information 1f. The behavior information transmission unit 1142 transmits, to the test automation apparatus 200, behavior information 1f adapted to a communication interface represented by, for example, RS232C, by the behavior information conversion unit 1141. When the product is inherently provided, the behavior output interface unit 114 need not be incorporated.

次に、図4及び図5を用いて、振る舞い情報1fを受信したテスト自動化装置200の動作について説明する。   Next, the operation of the test automation apparatus 200 that has received the behavior information 1f will be described with reference to FIGS.

<振る舞い情報受信処理(動作情報受信工程):S201>
振る舞い入力インターフェース部230(振る舞い情報処理部)は、テスト自動化装置200が備えている通信入力インターフェースの形式に合わせて処理を行う。振る舞い入力インターフェース部230は、振る舞い出力インターフェース部114から送信された振る舞い情報1fを受信する動作情報受信部の一例である。
<Behavior information reception process (operation information reception process): S201>
The behavior input interface unit 230 (behavior information processing unit) performs processing in accordance with the format of the communication input interface provided in the test automation apparatus 200. The behavior input interface unit 230 is an example of an operation information receiving unit that receives the behavior information 1 f transmitted from the behavior output interface unit 114.

振る舞い入力判断部240(振る舞い情報判断処理部)は、振る舞い情報出力部113で抽象化された振る舞い情報1fをデコードする。振る舞い入力判断部240は、振る舞い情報1fをデコードすることにより、期待値との比較がしやすいようにデータの準備を行う。振る舞い入力判断部240は、デコードした振る舞い情報1fを期待動作解釈部250に出力する。   The behavior input determination unit 240 (behavior information determination processing unit) decodes the behavior information 1 f abstracted by the behavior information output unit 113. The behavior input determination unit 240 prepares data so that it can be easily compared with an expected value by decoding the behavior information 1f. The behavior input determination unit 240 outputs the decoded behavior information 1 f to the expected operation interpretation unit 250.

<期待動作解釈処理(期待動作判定工程):S202〜S203>
期待動作解釈部250は、期待値解釈処理部251、期待値・振る舞い照合処理部252を備える。
期待値解釈処理部251は、テスト手順書210の期待値部2142から、送信した操作情報1eの元となったテスト手順部2141に対応する期待値部2142を取り出す。期待値解釈処理部251は、取り出した期待値部2142を、振る舞い入力判断部240が変換した振る舞い情報1fと同じ出力データ形式に変換する。
<Expected motion interpretation process (expected motion determination step): S202 to S203>
The expected behavior interpretation unit 250 includes an expected value interpretation processing unit 251 and an expected value / behavior verification processing unit 252.
The expected value interpretation processing unit 251 extracts the expected value part 2142 corresponding to the test procedure part 2141 that is the source of the transmitted operation information 1e from the expected value part 2142 of the test procedure document 210. The expected value interpretation processing unit 251 converts the extracted expected value unit 2142 into the same output data format as the behavior information 1f converted by the behavior input determination unit 240.

期待値・振る舞い照合処理部252は、振る舞い入力判断部240によりデコードされた振る舞い情報1fと、期待値解釈処理部251により振る舞い情報1fと同じ出力データ形式に変換された期待値部2142とを、処理装置により照合する。
期待値・振る舞い照合処理部252は、振る舞い入力判断部240から入力した振る舞い情報1fと、期待値解釈処理部251から入力した期待値部2142とに基づいて、製品100の振る舞い結果が、期待されていた結果であるか否かを処理装置により判定する。期待値・振る舞い照合処理部252は、照合判定結果がNGの場合、NG情報301を操作解釈部221に出力する。期待値・振る舞い照合処理部252は、照合判定結果がOKの場合、OK情報302を操作解釈部221に出力する。
ただし、期待値・振る舞い照合処理部252がNG情報301あるいはOK情報302を操作解釈部221に出力する処理は無くてもよい。
The expected value / behavior verification processing unit 252 includes behavior information 1f decoded by the behavior input determination unit 240 and an expected value unit 2142 converted into the same output data format as the behavior information 1f by the expected value interpretation processing unit 251. Verification is performed by the processing device.
The expected value / behavior verification processing unit 252 expects the behavior result of the product 100 based on the behavior information 1 f input from the behavior input determination unit 240 and the expected value unit 2142 input from the expected value interpretation processing unit 251. It is determined by the processing device whether or not the result is satisfied. The expected value / behavior verification processing unit 252 outputs NG information 301 to the operation interpretation unit 221 when the verification determination result is NG. The expected value / behavior verification processing unit 252 outputs OK information 302 to the operation interpretation unit 221 when the verification determination result is OK.
However, there is no need for the expected value / behavior verification processing unit 252 to output the NG information 301 or the OK information 302 to the operation interpretation unit 221.

照合判定結果がOKの場合(S203においてYES)、S204に進む。照合判定結果がNGの場合(S203においてNO)、S205に進む。   If the collation determination result is OK (YES in S203), the process proceeds to S204. If the collation determination result is NG (NO in S203), the process proceeds to S205.

<結果表示処理:S204〜S206>
結果出力部260は、OK/NG表示処理部261、NG時警告処理部262を備える。
OK/NG表示処理部261は、OK表示、あるいはNG表示を行うとともに、テスト手順書210のテスト結果部2143欄に、OK、あるいはNGを設定する。
NG時警告処理部262は、LED、音声等により警告を行う処理を実行する。
<Result display processing: S204 to S206>
The result output unit 260 includes an OK / NG display processing unit 261 and an NG warning processing unit 262.
The OK / NG display processing unit 261 performs OK display or NG display, and sets OK or NG in the test result portion 2143 column of the test procedure manual 210.
The NG warning processing unit 262 executes a process of giving a warning by using an LED, sound, or the like.

S204において、OK/NG表示処理部261は、OK表示を表示装置に表示し、処理をS206に進める。S205において、OK/NG表示処理部261がNG表示を表示装置に表示するとともに、NG時警告処理部262がLED、音声等により警告を行い、処理を終了する。これにより、テスト結果がNGであったときにテストを中断し、試験者に警告を促しテストがNGであったことを知らせることができる。   In S204, the OK / NG display processing unit 261 displays an OK display on the display device, and the process proceeds to S206. In S205, the OK / NG display processing unit 261 displays an NG display on the display device, and the NG warning processing unit 262 issues a warning with an LED, a voice, or the like, and the process is terminated. Thereby, when the test result is NG, the test can be interrupted, and a warning can be given to the tester to notify that the test was NG.

S206において、結果出力部260は、テストが完了したか否かを判断する。結果出力部260は、例えば、処理対象のテスト手順が、テスト手順書210において最終のレコードである場合にはテストが完了したと判断し、最終のレコードでない場合にはテストが完了していないと判断する。   In S206, the result output unit 260 determines whether the test is completed. For example, if the test procedure to be processed is the last record in the test procedure manual 210, the result output unit 260 determines that the test is completed, and if the test procedure is not the last record, the result output unit 260 determines that the test is not completed. to decide.

テストが完了した場合は(S206においてYES)、処理を終了する。
テストが完了していない場合は(S206においてNO)、テスト手順書210において、処理対象の次のレコードのテスト手順についてS102から処理を実行する。
If the test is completed (YES in S206), the process ends.
If the test has not been completed (NO in S206), the process is executed from S102 on the test procedure of the next record to be processed in the test procedure document 210.

以上で、テスト自動化システム500のテスト自動化処理(方法)についての説明を終わる。   This is the end of the description of the test automation process (method) of the test automation system 500.

本実施の形態では、照合判定結果がNGとなった場合には、処理を終了するとしているが、これに限られない。例えば、処理を終了せずに、テスト手順書210の最後のレコードのテスト手順までテストを実行してもよい。   In the present embodiment, the process is terminated when the collation determination result is NG, but the present invention is not limited to this. For example, the test may be executed up to the test procedure of the last record in the test procedure manual 210 without ending the process.

また、本実施の形態では、自動操作手段(部)、期待動作解釈手段(部)、振る舞い入力判断手段(部)、期待動作解釈手段(部)、結果出力手段(部)が一つのテスト自動化装置として一体型となっているので、コンパクトな装置を提供することができる。   Further, in this embodiment, automatic operation means (unit), expected action interpretation means (part), behavior input determination means (part), expected action interpretation means (part), and result output means (part) are one test automation. Since the device is integrated, a compact device can be provided.

本実施の形態に係るテスト自動化システム500よれば、テスト手順書を元に製品に与える操作が解釈され、操作情報を製品に対して送信できるため、試験者が実施していた操作の時間が大幅に短縮することができる。
また、製品の振る舞いが製品から出力され、前記のテスト入出力装置に入力されるため確実にテストの合否が判断可能となる。また、合否の判断が自動化され、試験者がテスト実施時にその場にいる必要がなくなり、テスト実施確認の時間が大幅に短縮することができる。
According to the test automation system 500 according to the present embodiment, the operation given to the product is interpreted based on the test procedure document, and the operation information can be transmitted to the product. Can be shortened.
In addition, since the behavior of the product is output from the product and input to the test input / output device, it is possible to reliably determine whether the test has passed or failed. In addition, the pass / fail judgment is automated, and it is not necessary for the tester to be present at the time of the test execution, and the test execution confirmation time can be greatly shortened.

本実施の形態に係るテスト自動化システム500の振る舞い情報出力手段(部)においては、製品の振る舞いとして、製品の動作状態、製品の設定情報が出力される。また、本実施の形態に係るテスト自動化システム500の振る舞い情報出力手段(部)においては、操作から製品の振る舞いまでの経過時間情報及び製品の内部動作の経過時間を出力することができる。したがって、周辺シミュレーターに出力できない製品内部の振る舞いまでを出力することで、テストの網羅性を高め、品質向上が望める。   In the behavior information output means (unit) of the test automation system 500 according to the present embodiment, the operation state of the product and the setting information of the product are output as the behavior of the product. Further, the behavior information output means (unit) of the test automation system 500 according to the present embodiment can output the elapsed time information from the operation to the behavior of the product and the elapsed time of the internal operation of the product. Therefore, it is possible to improve the completeness of the test and improve the quality by outputting even the internal behavior of the product that cannot be output to the peripheral simulator.

実施の形態2.
本実施の形態では、主に、実施の形態1と異なる点について説明する。
本実施の形態では、送信機222と、送信機222以外の構成部とを分離にしたテスト自動化装置201について説明する。
Embodiment 2. FIG.
In the present embodiment, differences from the first embodiment will be mainly described.
In the present embodiment, a test automation apparatus 201 in which the transmitter 222 and components other than the transmitter 222 are separated will be described.

図9は、本実施の形態に係るテスト自動化装置201の構成を示すブロック図である。実施の形態1で説明した構成部と同様の機能を有する構成部については、同一の符号を付し、その説明を省略する場合がある。   FIG. 9 is a block diagram showing a configuration of the test automation apparatus 201 according to the present embodiment. Components having the same functions as those described in Embodiment 1 may be denoted by the same reference numerals and description thereof may be omitted.

図9に示すように、テスト自動化装置201は、送信機222と、パーソナルコンピュータ61とを備える。実施の形態1において説明した構成部のうち、送信機222以外の構成部はパーソナルコンピュータ61が有している。パーソナルコンピュータ61と送信機1aはRS232Cなどの通信手段62で接続される。
よって、テスト手順書210の記憶や期待動作の判断は、一般的なパーソナルコンピュータ61を利用できる。
本実施の形態において、操作解釈部221は、通信手段62に合わせた送信処理を行う。
As shown in FIG. 9, the test automation apparatus 201 includes a transmitter 222 and a personal computer 61. Of the components described in the first embodiment, the personal computer 61 has components other than the transmitter 222. The personal computer 61 and the transmitter 1a are connected by communication means 62 such as RS232C.
Therefore, the general personal computer 61 can be used for storing the test procedure manual 210 and determining the expected operation.
In the present embodiment, the operation interpretation unit 221 performs transmission processing in accordance with the communication unit 62.

本実施の形態に係るテスト自動化装置201によれば、自動操作部において、テスト手順書の操作解釈を行う操作解釈部と、製品に対して操作を送信する送信機とが分離しているので、一般的なパーソナルコンピュータ61を利用してテスト自動化装置201を構成することができる。   According to the test automation apparatus 201 according to the present embodiment, in the automatic operation unit, the operation interpretation unit that interprets the operation of the test procedure manual and the transmitter that transmits the operation to the product are separated. The test automation apparatus 201 can be configured using a general personal computer 61.

実施の形態3.
本実施の形態では、主に、実施の形態1,2と異なる点について説明する。
図10は、本実施の形態に係るテスト手順書210作成のモデル化の例を示す図である。実施の形態1,2で説明した構成部と同様の機能を有する構成部については、同一の符号を付し、その説明を省略する場合がある。
本実施の形態では、テスト手順書210aの作成を自動化することを目的とし、テスト手順書210aの作成以降は実施の形態1,2と同様である。図10は、テストモデル82からテスト手順書210aの自動生成を行うモデルの一例である。
Embodiment 3 FIG.
In the present embodiment, differences from Embodiments 1 and 2 will be mainly described.
FIG. 10 is a diagram showing an example of modeling for creating the test procedure manual 210 according to the present embodiment. Components having the same functions as those described in the first and second embodiments are denoted by the same reference numerals and description thereof may be omitted.
The present embodiment aims to automate the creation of the test procedure manual 210a, and the steps after the creation of the test procedure manual 210a are the same as in the first and second embodiments. FIG. 10 is an example of a model for automatically generating the test procedure manual 210a from the test model 82.

図4のS100において、テスト自動化装置200の手順書作成部270(図2参照)は、手順書作成処理を実行する。手順書作成部270は、テスト手順書210aを自動的に作成する。
図6に示すテスト手順書210の構成と、図10に示すテスト手順書210aの構成とは異なっているが、自動的作成されたテスト手順書210aの項目のうち、どの項目を用いてテスト手順書210として記憶するかは、適宜変更することが可能であるものとする。
In S100 of FIG. 4, the procedure manual creation unit 270 (see FIG. 2) of the test automation apparatus 200 executes a procedure manual creation process. The procedure manual creation unit 270 automatically creates the test procedure manual 210a.
Although the configuration of the test procedure manual 210 shown in FIG. 6 is different from the configuration of the test procedure manual 210a shown in FIG. 10, which item is used among the items of the automatically created test procedure documentation 210a. It can be appropriately changed as to whether it is stored as the document 210.

まず、手順書作成部270は、テスト手順書210aの元となる設計仕様書のモデル化を実行し、テストモデル82(仕様書モデル)を生成する。設計仕様書は、テスト自動化装置200の備える記憶装置に予め記憶されている。
手順書作成部270は、設計仕様書からテストモデル82の各項目に設定する設定値を抽出し、抽出した設定値をテストモデル82の各項目に設定する。
First, the procedure manual creation unit 270 performs modeling of the design specification that is the basis of the test procedure 210a, and generates a test model 82 (specification model). The design specifications are stored in advance in a storage device included in the test automation apparatus 200.
The procedure manual creation unit 270 extracts setting values to be set for each item of the test model 82 from the design specification, and sets the extracted setting values for each item of the test model 82.

テスト観点83は、要求仕様、設計仕様から生成され、観点のレベルでテストの漏れぬけを防止し、テスト手順書210aのテスト観点に対応させることで、テスト手順書210aとのトレーサビリティーを実現する。   The test viewpoint 83 is generated from the required specifications and design specifications, prevents test leakage at the viewpoint level, and realizes traceability with the test procedure document 210a by corresponding to the test viewpoint of the test procedure document 210a. .

テストの条件84には、環境や起動条件などが含まれる。テストの条件84は、テスト手順を遂行するための準備として、テスト手順書210aの事前準備、テスト環境、起動条件に対応する。
テスト手順85は、テスト手順書210aのテスト手順に対応し、振る舞いが変化する前の先発状態と操作とが設定される。
The test condition 84 includes an environment, a start condition, and the like. The test conditions 84 correspond to the pre-preparation, test environment, and activation conditions of the test procedure document 210a as preparation for performing the test procedure.
The test procedure 85 corresponds to the test procedure in the test procedure manual 210a, and the advance state and the operation before the behavior is changed are set.

振る舞い86は、テスト手順書210aの判定基準(期待値)に対応し、先発状態からの振る舞いの変化が記述される。
結果87は、テスト手順書210aの結果に対応する。
The behavior 86 corresponds to the criterion (expected value) of the test procedure document 210a, and describes the change in behavior from the starting state.
The result 87 corresponds to the result of the test procedure manual 210a.

手順書作成部270は、以上のようにテストモデル82を生成し、生成したテストモデル82からテスト手順書210aへの自動変換を処理装置により実行する。   The procedure manual creation unit 270 generates the test model 82 as described above, and performs automatic conversion from the generated test model 82 to the test procedure manual 210a by the processing device.

以上のように、実施の形態1〜3は、テスト手順書を作成することで、操作の自動化、製品の振る舞いの結果を判断する、テスト自動化装置の例示であり、対象とする装置は、例えば、テレビ、Blu−ray(登録商標)レコーダー、ナビゲーションなどマンマシンインターフェースを持つ製品のシステムテストに適用可能である。   As described above, the first to third embodiments are examples of a test automation device that determines the result of operation automation and product behavior by creating a test procedure manual. It can be applied to a system test of a product having a man-machine interface such as a television, a Blu-ray (registered trademark) recorder, and a navigation.

上記実施の形態の説明では、複数の機能ブロックに分割して製品100、テスト自動化装置200を構成したが、機能ブロックの構成は、上記実施の形態に限らず、他のどのような組み合わせで機能ブロックを構成しても構わない。   In the description of the above embodiment, the product 100 and the test automation apparatus 200 are configured by being divided into a plurality of functional blocks. However, the configuration of the functional blocks is not limited to the above embodiment, and functions in any other combination. A block may be configured.

以上、本発明の実施の形態について説明したが、この実施の形態のうち、1つの部分を実施しても構わない。あるいは、この実施の形態のうち、2つ以上の部分を組み合わせて実施しても構わない。
なお、以上の実施の形態は、本質的に好ましい例示であって、本発明、その適用物や用途の範囲を制限することを意図するものではなく、必要に応じて種々の変更が可能である。
As mentioned above, although embodiment of this invention was described, you may implement one part among this embodiment. Or you may implement combining two or more parts among this embodiment.
The above-described embodiments are essentially preferable examples, and are not intended to limit the scope of the present invention, its application, and uses, and various modifications can be made as necessary. .

1e 操作情報、1f 振る舞い情報、21,22 SWモジュール、23 HWモジュール、24 機能1モジュール、25 操作受信モジュール、51 振る舞い経過時間、61 パーソナルコンピュータ、62 通信手段、82 テストモデル、83 テスト観点、84 テストの条件、85 テスト手順、86 振る舞い、87 結果、100 製品、113 振る舞い情報出力部、114 振る舞い出力インターフェース部、115 操作入力インターフェース部、116 動作実行部、200 テスト自動化装置、210 テスト手順書、220 自動操作部、221 操作解釈部、222 送信機、230 振る舞い入力インターフェース部、240 振る舞い入力判断部、250 期待動作解釈部、251 期待値解釈処理部、252 期待値・振る舞い照合処理部、260 結果出力部、261 OK/NG表示処理部、262 NG時警告処理部、270 手順書作成部、301 NG情報、302 OK情報、500 テスト自動化システム、901 演算装置、902 外部記憶装置、903 主記憶装置、904 通信装置、905 入出力装置、1131 情報収集部、1132 情報出力部、1141 振る舞い情報変換部、1142 振る舞い情報送信部、1151 操作変換部、1152 操作解釈部、2141 テスト手順部、2142 期待値部、2143 テスト結果部、2211 送信OK/NG処理部、2212 解釈結果送信データ変換部、2213 テスト手順解釈部、2221 送信処理部。   1e operation information, 1f behavior information, 21, 22 SW module, 23 HW module, 24 function 1 module, 25 operation reception module, 51 behavior elapsed time, 61 personal computer, 62 communication means, 82 test model, 83 test viewpoint, 84 Test conditions, 85 test procedure, 86 behavior, 87 results, 100 products, 113 behavior information output unit, 114 behavior output interface unit, 115 operation input interface unit, 116 operation execution unit, 200 test automation device, 210 test procedure manual, 220 automatic operation unit, 221 operation interpretation unit, 222 transmitter, 230 behavior input interface unit, 240 behavior input determination unit, 250 expected operation interpretation unit, 251 expected value interpretation processing unit, 252 expected value / Behavior verification processing unit, 260 result output unit, 261 OK / NG display processing unit, 262 NG warning processing unit, 270 procedure manual creation unit, 301 NG information, 302 OK information, 500 test automation system, 901 arithmetic unit, 902 External storage device, 903 main storage device, 904 communication device, 905 input / output device, 1131, information collection unit, 1132, information output unit, 1141, behavior information conversion unit, 1422, behavior information transmission unit, 1151 operation conversion unit, 1152 operation interpretation unit, 2141 Test procedure part, 2142 Expected value part, 2143 Test result part, 2211 Transmission OK / NG processing part, 2212 Interpretation result transmission data conversion part, 2213 Test procedure interpretation part, 2221 Transmission processing part.

Claims (7)

テスト対象である対象機器であって、命令を受信し、受信した前記命令に基づいて動作する対象機器と、前記対象機器に対するテストを実行するテスト実行装置とを備えるテスト実行システムにおいて、
前記テスト実行装置は、
前記対象機器に対する操作と前記操作を継続する時間とを含むテスト手順部と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた場合に期待される前記対象機器の動作を示す期待動作情報と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた際の前記対象機器の動作の結果を設定するテスト結果部とを対応付けて動作対応情報として記憶装置に記憶する動作対応情報記憶部と、
記動作対応情報から前記操作と前記操作を継続する時間とを取り出し、前記操作と前記操作を継続する時間とに基づいて、前記対象機器に対して前記操作を実行する操作情報を生成し、生成した操作情報を前記命令として前記対象機器に送信する命令送信部と
を備え、
前記対象機器は、
前記テスト実行装置の前記命令送信部から受信した前記命令に基づいて動作を実行する動作実行部と、
前記動作実行部が実行した動作を示す動作情報を前記テスト実行装置に送信する動作情報送信部と
を備え、
前記テスト実行装置は、さらに、
前記対象機器の前記動作情報送信部から受信した前記動作情報と、前記動作対応情報に含まれる前記期待動作情報とに基づいて、前記動作情報により示される動作が前記期待動作情報により示される動作であるか否かを処理装置により判定する期待動作判定部と、
前記動作情報により示される動作が前記期待動作情報により示される動作でない場合、警告を出力するとともに前記対象機器に対するテストを中断する警告処理部と
を備えるテスト実行システム。
In a test execution system comprising a target device that is a test target, the target device receiving a command and operating based on the received command, and a test execution device that executes a test on the target device,
The test execution device includes:
A test protocol part including the time and to continue the operation and the operation against the target device, the operation of the subject device in which the operation is expected when performed with respect to the target device included in the test procedures section A storage device that associates the expected operation information to be displayed with the test result unit that sets the operation result of the target device when the operation included in the test procedure unit is performed on the target device. An operation correspondence information storage unit stored in
Removed and time to continue the operation as the operation before Symbol motion correspondence information, based on time and to continue the operation and the operation to generate operation information for executing the operation to the target device, A command transmission unit that transmits the generated operation information to the target device as the command;
The target device is
An operation execution unit that executes the operation based on the instruction that the or instruction transmitting unit et reception of the test execution device,
An operation information transmission unit that transmits operation information indicating the operation executed by the operation execution unit to the test execution device;
The test execution device further includes:
In operation with the operation information received from the operation information transmission unit of the target device, based on said expected operation information included in the operation correspondence information, operation indicated by the operation information indicated by the expected operation information An expected motion determination unit that determines whether or not there is a processing device ; and
Lutein strike execution system comprising when the operation is not an operation indicated by the expected operation information, and suspends warning processing section tests for the target device outputs a warning to <br/> indicated by the operation information.
前記動作情報送信部は、
前記動作実行部が実行した動作に基づいて、前記動作対応情報記憶部に記憶されている前記期待動作情報と同一構成の前記動作情報を生成し、生成した前記動作情報を送信する請求項に記載のテスト実行システム。
The operation information transmitter is
Based on the operation of the operation execution unit executes, and generates the operation information of the expected operation information of the same configuration that is stored in the operation correspondence information storage unit, that sends the generated the operation information Motomeko test execution system according to 1.
前記動作情報送信部は、
前記対象機器の動作状態を示すステータス情報と前記対象機器に設定されている設定情報とを含む前記動作情報を生成する請求項に記載のテスト実行システム。
The operation information transmitter is
Test execution system according to Motomeko 2 that generates the operation information including the setting information set in the target device and status information indicating the operating state of the target device.
前記動作対応情報は、複数の操作および操作を継続する時間から構成されるテスト手順書であり、
前記テスト実行システムは、さらに、
前記対象機器の設計仕様書をモデル化した仕様書モデルを生成し、生成した前記仕様書モデルに基づいて、前記テスト手順書を処理装置により生成する手順書作成部を備える請求項1から3のいずれか1項に記載のテスト実行システム。
The operation correspondence information is a test procedure document composed of a plurality of operations and a time for continuing the operations .
The test execution system further includes:
It generates a specification model that models the design specifications of the target device, based on the generated specification model, from Motomeko 1 Ru comprising the steps drafting unit for generating the processing device said test procedures 3 test execution system according to any one of.
テスト対象である対象機器であって、命令を受信し、受信した前記命令に基づいて動作する対象機器に対するテストを実行するテスト実行装置において、
前記対象機器に対する操作と前記操作を継続する時間とを含むテスト手順部と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた場合に期待される前記対象機器の動作を示す期待動作情報と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた際の前記対象機器の動作の結果を設定するテスト結果部とを対応付けて動作対応情報として記憶装置に記憶する動作対応情報記憶部と、
記動作対応情報から前記操作と前記操作を継続する時間とを取り出し、前記操作と前記操作を継続する時間とに基づいて、前記対象機器に対して前記操作を実行する操作情報を生成し、生成した操作情報を前記命令として前記対象機器に送信する命令送信部と、
前記命令送信部から受信した前記命令に基づいて実行した動作を示す動作情報を前記対象機器から受信する動作情報受信部と、
記動作対応情報に含まれる前記期待動作情報と、前記動作情報受信部が受信した前記動作情報とに基づいて、前記動作情報により示される動作が前記期待動作情報により示される動作であるか否かを処理装置により判定する期待動作判定部と、
前記動作情報により示される動作が前記期待動作情報により示される動作でない場合、警告を出力するとともに前記対象機器に対するテストを中断する警告処理部と
を備えるテスト実行装置。
In a test execution device that is a target device to be tested, receives a command, and executes a test on the target device that operates based on the received command.
A test protocol part including the time and to continue the operation and the operation against the target device, the operation of the subject device in which the operation is expected when performed with respect to the target device included in the test procedures section A storage device that associates the expected operation information to be displayed with the test result unit that sets the operation result of the target device when the operation included in the test procedure unit is performed on the target device. An operation correspondence information storage unit stored in
Removed and time to continue the operation as the operation before Symbol motion correspondence information, based on time and to continue the operation and the operation to generate operation information for executing the operation to the target device, A command transmitting unit that transmits the generated operation information to the target device as the command;
An operation information receiving unit for receiving operation information indicating an operation that is executed on the basis of the instruction that the instruction transmitting unit or we received from the target device,
And the expected operation information included in the prior SL motion correspondence information, based on said operation information the operation information receiving unit receives, whether the operation indicated by the operation information is the operation indicated by the expected operation information An expected action determination unit for determining whether or not by a processing device;
If the operation indicated by the operation information is not operation indicated by the expected operation information, lutein stringent execution unit includes a warning unit and the <br/> interrupt the test for the target device outputs a warning.
テスト対象である対象機器であって、命令を受信し、受信した前記命令に基づいて動作する対象機器と、前記対象機器に対するテストを実行するテスト実行装置とを備えるテスト実行システムのテスト実行方法において、
前記テスト実行装置は、前記対象機器に対する操作と前記操作を継続する時間とを含むテスト手順部と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた場合に期待される前記対象機器の動作を示す期待動作情報と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた際の前記対象機器の動作の結果を設定するテスト結果部とを対応付けて動作対応情報として記憶装置に記憶する動作対応情報記憶部を備え、
前記テスト実行装置は、前記動作対応情報から前記操作と前記操作を継続する時間とを取り出し、前記操作と前記操作を継続する時間とに基づいて、前記対象機器に対して前記操作を実行する操作情報を生成し、生成した操作情報を前記命令として前記対象機器に送信し、
前記対象機器は、前記テスト実行装置から受信した前記命令に基づいて実行した動作を示す動作情報を前記テスト実行装置に送信し、
前記テスト実行装置は、前記対象機器から受信した前記動作情報と、前記動作対応情報に含まれる前記期待動作情報とに基づいて、前記動作情報により示される動作が前記期待動作情報により示される動作であるか否かを処理装置により判定し、前記動作情報により示される動作が前記期待動作情報により示される動作でない場合、警告を出力するとともに前記対象機器に対するテストを中断するテスト実行方法。
In a test execution method of a test execution system, which is a target device that is a test target, and includes a target device that receives a command and operates based on the received command, and a test execution device that executes a test on the target device ,
The test execution device is expected when the operation included in the test procedure unit is performed on the target device, and a test procedure unit including an operation on the target device and a time for continuing the operation. The operation is performed by associating expected operation information indicating the operation of the target device with a test result unit that sets a result of the operation of the target device when the operation included in the test procedure unit is performed on the target device. An operation correspondence information storage unit that stores the correspondence information in the storage device,
The test execution device extracts the operation and the time for which the operation is continued from the operation correspondence information, and performs the operation on the target device based on the operation and the time for which the operation is continued. Information is generated, and the generated operation information is transmitted to the target device as the command,
The target device transmits operation information indicating an operation executed based on the command received from the test execution device to the test execution device,
The test execution device is an operation in which an operation indicated by the operation information is indicated by the expected operation information based on the operation information received from the target device and the expected operation information included in the operation correspondence information. A test execution method that determines whether or not there is a processor and outputs a warning and interrupts the test on the target device when the operation indicated by the operation information is not the operation indicated by the expected operation information.
テスト対象である対象機器であって、命令を受信し、受信した前記命令に基づいて動作する対象機器に対するテストを実行するテスト実行装置であるコンピュータに実行させるテスト実行プログラムにおいて、
前記テスト実行装置は、前記対象機器に対する操作と前記操作を継続する時間とを含むテスト手順部と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた場合に期待される前記対象機器の動作を示す期待動作情報と、前記対象機器に対し前記テスト手順部に含まれる前記操作が行われた際の前記対象機器の動作の結果を設定するテスト結果部とを対応付けて動作対応情報として記憶装置に記憶する動作対応情報記憶部を備え、
記動作対応情報から前記操作と前記操作を継続する時間とを取り出し、前記操作と前記操作を継続する時間とに基づいて、前記対象機器に対して前記操作を実行する操作情報を生成し、生成した操作情報を前記命令として前記対象機器に送信する命令送信処理と、
前記命令送信処理ら受信した前記命令に基づいて実行した動作を示す動作情報を前記対象機器から受信する動作情報受信処理と、
前記動作対応情報に含まれる前記期待動作情報と、前記動作情報受信処理が受信した前記動作情報とに基づいて、前記動作情報により示される動作が前記期待動作情報により示される動作であるか否かを処理装置により判定する期待動作判定処理と、
前記動作情報により示される動作が前記期待動作情報により示される動作でない場合、警告を出力するとともに前記対象機器に対するテストを中断する警告処理と
を備えるテスト実行プログラム。
A target device is tested, receives a command, the test executive program to be executed by a Rute list execution unit to execute the test for the target device computer that operates based on the command received,
The test execution device is expected when the operation included in the test procedure unit is performed on the target device, and a test procedure unit including an operation on the target device and a time for continuing the operation. The operation is performed by associating expected operation information indicating the operation of the target device with a test result unit that sets a result of the operation of the target device when the operation included in the test procedure unit is performed on the target device. An operation correspondence information storage unit that stores the correspondence information in the storage device,
Removed and time to continue the operation as the operation before Symbol motion correspondence information, based on time and to continue the operation and the operation to generate operation information for executing the operation to the target device, A command transmission process for transmitting the generated operation information to the target device as the command;
And operation information reception process of receiving from the target device operation information indicating an operation that is executed on the basis of the instruction that the instruction transmission process or found received,
Whether the operation indicated by the operation information is an operation indicated by the expected operation information based on the expected operation information included in the operation correspondence information and the operation information received by the operation information reception process Expected operation determination processing for determining by the processing device,
A test execution program comprising: a warning process for outputting a warning and interrupting a test for the target device when the operation indicated by the operation information is not the operation indicated by the expected operation information .
JP2013180377A 2013-08-30 2013-08-30 Test execution system, test execution device, test execution method, and test execution program Expired - Fee Related JP6198529B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013180377A JP6198529B2 (en) 2013-08-30 2013-08-30 Test execution system, test execution device, test execution method, and test execution program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013180377A JP6198529B2 (en) 2013-08-30 2013-08-30 Test execution system, test execution device, test execution method, and test execution program

Publications (2)

Publication Number Publication Date
JP2015049659A JP2015049659A (en) 2015-03-16
JP6198529B2 true JP6198529B2 (en) 2017-09-20

Family

ID=52699641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013180377A Expired - Fee Related JP6198529B2 (en) 2013-08-30 2013-08-30 Test execution system, test execution device, test execution method, and test execution program

Country Status (1)

Country Link
JP (1) JP6198529B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018142477A1 (en) 2017-01-31 2018-08-09 三菱電機株式会社 Request analyzer, request analysis method, and request analysis program
WO2018207481A1 (en) * 2017-05-09 2018-11-15 古野電気株式会社 Automated inspection device
JP6914901B2 (en) * 2018-09-21 2021-08-04 Kddi株式会社 Open facility verification equipment, verification methods, and programs
CN114064445A (en) * 2020-08-04 2022-02-18 腾讯科技(深圳)有限公司 Test method, device, equipment and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09244921A (en) * 1996-03-08 1997-09-19 Fujitsu Ltd Automation system for software test
JP2005196672A (en) * 2004-01-09 2005-07-21 Sharp Corp Test device and test method
WO2009105889A1 (en) * 2008-02-27 2009-09-03 Wurldtech Security Technologies Testing framework for control devices
JP5365242B2 (en) * 2009-02-18 2013-12-11 株式会社リコー Information processing apparatus, software operation test system, software operation test method, software operation test program, and recording medium recording the program

Also Published As

Publication number Publication date
JP2015049659A (en) 2015-03-16

Similar Documents

Publication Publication Date Title
CN105607887B (en) Speech recognition system, server, display device and control method thereof
US8074000B2 (en) Hotkey processing method and computer system
US20120054715A1 (en) System and method for use in replaying software application events
JP6198529B2 (en) Test execution system, test execution device, test execution method, and test execution program
US8745727B2 (en) Graphical user interface tester
JP5937245B1 (en) Operation procedure evaluation apparatus and operation procedure evaluation program
JP2010015240A (en) Verification system and verification device
US8434072B2 (en) Automatic retrieval of translated messages for interacting with legacy systems
TW201435527A (en) Programmable logic controller, programmable logic controller system and method for creating execution error information
US20110224939A1 (en) Integrated tool for persisting development environment test scenario information
US20120259591A1 (en) Keyboard testing method
JPWO2015114741A1 (en) Information processing apparatus diagnosis method, information processing apparatus diagnosis program, and information processing apparatus
KR101476536B1 (en) The method and system for inspecting program
JP2005234987A (en) Development source server, software trouble responding system and software trouble responding method
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment
JP2006155047A (en) Verification system and verification method
JP2021009605A (en) Program and method for supporting generation of software operation scenario and device for supporting generation of software operation scenario
WO2024024077A1 (en) Debugging assistance device, control system, debugging assistance method, and program
WO2022249421A1 (en) Code implementation omission detection device, code implementation omission detection method, and program
JP2012059039A (en) Command management device, and method and program thereof
TWI382185B (en) Testing fixture of electronic dictonary and method of motion thereof
US8225141B2 (en) Information processing apparatus, process verification support method, and computer product
JP2008250649A (en) Program, system and method for scenario processing in ui-designing
WO2016117317A1 (en) Software determination device, software determination method, recording medium in which software determination program is stored, software analysis device, and malware diagnosis device
KR102114260B1 (en) Apparatus, method and computer-readable medium for recording script

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160520

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170404

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170620

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170711

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170725

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170822

R150 Certificate of patent or registration of utility model

Ref document number: 6198529

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees