JP7283569B2 - 操作パターン生成装置、操作パターン生成方法及びプログラム - Google Patents
操作パターン生成装置、操作パターン生成方法及びプログラム Download PDFInfo
- Publication number
- JP7283569B2 JP7283569B2 JP2021554490A JP2021554490A JP7283569B2 JP 7283569 B2 JP7283569 B2 JP 7283569B2 JP 2021554490 A JP2021554490 A JP 2021554490A JP 2021554490 A JP2021554490 A JP 2021554490A JP 7283569 B2 JP7283569 B2 JP 7283569B2
- Authority
- JP
- Japan
- Prior art keywords
- screen
- input
- test
- operation pattern
- data
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 47
- 238000012360 testing method Methods 0.000 claims description 129
- 230000007704 transition Effects 0.000 claims description 43
- 238000013515 script Methods 0.000 claims description 23
- 238000012545 processing Methods 0.000 description 31
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 9
- 239000000463 material Substances 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000011156 evaluation Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000009193 crawling Effects 0.000 description 2
- 238000013479 data entry Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000004931 aggregating effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/368—Test management for test version control, e.g. updating test cases to a new software version
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Description
(1)操作対象画面の画面構造(HTMLのDOM構造)を取得する。
(2)取得したDOM構造からボタン、リンクなどの操作できる対象(以下「操作要素」という。)と入力フォーム、チェックボックス、ラジオボタンなどのデータを投入する対象(以下、入力要素)の情報を取得する。
(3)入力要素に投入するデータについてユーザによる指定(以下「画面入力値補助」という。)が行われている場合は、ユーザによって指定されたデータを画面自動操作時にフォームに入力するデータの候補(以下「入力データ候補」という。)とする。画面入力値補助が行われない場合は、既定のルール(チェックボックスやラジオボタン等であれば個々の選択肢全てなど)に従って入力データ候補を作成する。
(4)生成した入力データ候補と操作要素の組み合わせにより、操作パターンを作成する。
(5)決定した操作パターンを消化するまで、同一画面の自動操作を続け、仕様を復元する。
<リンク>
・説明:リンクが押下すると、Webブラウザは指定されたリソース(URL)にアクセス(リクエスト(HTTPリクエスト)の送信)をする。当該アクセスでは、次の画面を呼び出す処理が行われるのみであり、データの送信はあまり行われない。データ送信を行いたい場合は、URLの末尾にパラメータとして特定の情報が付加される(クエリストリング)。
<ボタン>
・説明:ボタンが押下されると、Webブラウザは関連する入力要素に投入されているデータを指定されたリソース(URL)へリクエスト(HTTPリクエスト)を送信する。
[入力要素]
<テキストボックス、ラジオボタン、プルダウンなど>
・説明:入力要素には、自由記述、リストからの選択などの操作によりデータが入力される。各入力要素にはデフォルト値を設定することができる(チェックボックスが選択された状態やテキストボックスに文字が入力されている状態で画面が表示される)。
本実施の形態では、上記の特徴を用いることで、リバースベーステストにおける仕様復元の精度を落とさずに操作パターン数の削減が行われる。以下に具体的な削減方法を示すため、ステップS103の詳細について説明する。
研究報告ソフトウェア工学
, vol. 2018-SE-199, no. 13, pp.1-7, 2018年7月」では、「事前にテスト対象をクロールすることで入力フォームの情報を収集し、各フォームに対して入力値を指定するためのフォーマットを自動生成する」手法が提案されている。
11 テストシナリオ生成部
12 画面自動操作部
13 画面評価部
14 テスト資材生成部
20 サーバ装置
100 ドライブ装置
101 記録媒体
102 補助記憶装置
103 メモリ装置
104 CPU
105 インタフェース装置
106 表示装置
107 入力装置
131 ノード削除部
132 ノード集約部
133 比較部
B バス
Claims (7)
- Webアプリケーションの画面において遷移を発生させる操作要素と、前記画面においてデータが入力される入力要素に対する入力データの候補との組み合わせに係る操作パターンを、前記Webアプリケーションに対するテストスクリプトに関して生成する生成部を有し、
前記生成部は、前記操作要素のうちクエリストリングが設定されていないリンクについては、いずれの前記候補とも組み合わせない、
ことを特徴とする操作パターン生成装置。 - Webアプリケーションの画面において遷移を発生させる操作要素と、前記画面においてデータが入力される入力要素に対する入力データの候補との組み合わせに係る操作パターンを、前記Webアプリケーションに対するテストスクリプトに関して生成する生成部を有し、
前記生成部は、前記操作要素のうちボタンについては、当該ボタンが属するフォームの内の入力要素を入力データの組み合わせ対象の候補とする、
ことを特徴とする操作パターン生成装置。 - 前記生成部は、予め入力データのデフォルト値が設定されている前記入力要素については、当該デフォルト値のみを前記操作要素と組み合わせる、
ことを特徴とする請求項1又は2記載の操作パターン生成装置。 - Webアプリケーションの画面において遷移を発生させる操作要素と、前記画面においてデータが入力される入力要素に対する入力データの候補との組み合わせに係る操作パターンを、前記Webアプリケーションに対するテストスクリプトに関して生成する生成手順をコンピュータが実行し、
前記生成手順は、前記操作要素のうちクエリストリングが設定されていないリンクについては、いずれの前記候補とも組み合わせない、
ことを特徴とする操作パターン生成方法。 - Webアプリケーションの画面において遷移を発生させる操作要素と、前記画面においてデータが入力される入力要素に対する入力データの候補との組み合わせに係る操作パターンを、前記Webアプリケーションに対するテストスクリプトに関して生成する生成手順をコンピュータが実行し、
前記生成手順は、前記操作要素のうちボタンについては、当該ボタンが属するフォームの内の入力要素を入力データの組み合わせ対象の候補とする、
ことを特徴とする請求項4記載の操作パターン生成方法。 - 前記生成手順は、予め入力データのデフォルト値が設定されている前記入力要素については、当該デフォルト値のみを前記操作要素と組み合わせる、
ことを特徴とする請求項4又は5記載の操作パターン生成方法。 - 請求項1乃至3いずれか一項記載の操作パターン生成装置としてコンピュータを機能させることを特徴とするプログラム。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2019/043607 WO2021090427A1 (ja) | 2019-11-07 | 2019-11-07 | 操作パターン生成装置、操作パターン生成方法及びプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2021090427A1 JPWO2021090427A1 (ja) | 2021-05-14 |
JP7283569B2 true JP7283569B2 (ja) | 2023-05-30 |
Family
ID=75848831
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021554490A Active JP7283569B2 (ja) | 2019-11-07 | 2019-11-07 | 操作パターン生成装置、操作パターン生成方法及びプログラム |
Country Status (3)
Country | Link |
---|---|
US (1) | US20220405196A1 (ja) |
JP (1) | JP7283569B2 (ja) |
WO (1) | WO2021090427A1 (ja) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006099349A (ja) | 2004-09-29 | 2006-04-13 | Mitsubishi Electric Information Systems Corp | Jsp試験システムおよびjsp試験プログラム |
JP2018116497A (ja) | 2017-01-18 | 2018-07-26 | 日本電信電話株式会社 | 画面判定装置及びプログラム |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2245551B1 (en) * | 2008-02-29 | 2018-05-30 | Entit Software LLC | Identification of elements of currently-executing component script |
JP6723976B2 (ja) * | 2017-12-06 | 2020-07-15 | 日本電信電話株式会社 | テスト実行装置及びプログラム |
US10642721B2 (en) * | 2018-01-10 | 2020-05-05 | Accenture Global Solutions Limited | Generation of automated testing scripts by converting manual test cases |
US11409640B2 (en) * | 2019-05-09 | 2022-08-09 | Sap Se | Machine learning based test case prediction and automation leveraging the HTML document object model |
-
2019
- 2019-11-07 WO PCT/JP2019/043607 patent/WO2021090427A1/ja active Application Filing
- 2019-11-07 JP JP2021554490A patent/JP7283569B2/ja active Active
- 2019-11-07 US US17/774,895 patent/US20220405196A1/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006099349A (ja) | 2004-09-29 | 2006-04-13 | Mitsubishi Electric Information Systems Corp | Jsp試験システムおよびjsp試験プログラム |
JP2018116497A (ja) | 2017-01-18 | 2018-07-26 | 日本電信電話株式会社 | 画面判定装置及びプログラム |
Also Published As
Publication number | Publication date |
---|---|
WO2021090427A1 (ja) | 2021-05-14 |
JPWO2021090427A1 (ja) | 2021-05-14 |
US20220405196A1 (en) | 2022-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI670672B (zh) | 雲製造服務的自動建置方法、電腦程式產品、雲製造系統 | |
US8839107B2 (en) | Context based script generation | |
JP4395761B2 (ja) | プログラムテスト支援装置およびその方法 | |
WO2012014284A1 (ja) | テストシナリオ生成方法、テストシナリオ生成システム、及び、テストシナリオ生成プログラム | |
JP2012104108A (ja) | 対話的クライアント‐サーバー・アプリケーションのステートレスな分散式並列クロール技法 | |
JP2016177553A (ja) | 情報処理装置、情報処理システム、情報処理方法、及びプログラム | |
CN112363953A (zh) | 基于爬虫技术和规则引擎的接口测试用例生成方法及系统 | |
JP7259949B2 (ja) | テストスクリプト生成装置、テストスクリプト生成方法及びプログラム | |
JP6535038B2 (ja) | 画面判定装置、画面判定方法及びプログラム | |
JP5968451B2 (ja) | 計算機システム、及びプログラム | |
JP6723976B2 (ja) | テスト実行装置及びプログラム | |
JP7211228B2 (ja) | 解析装置、解析方法、及びプログラム | |
JP7283569B2 (ja) | 操作パターン生成装置、操作パターン生成方法及びプログラム | |
JP2009237749A (ja) | 障害情報収集方式 | |
JP6436705B2 (ja) | テスト実行装置、テスト実行方法およびコンピュータプログラム | |
JP2011034274A (ja) | テスト自動実行システム | |
JP7318704B2 (ja) | テスト装置、テスト方法及びプログラム | |
JP7268759B2 (ja) | テストデータ生成装置、テストデータ生成方法、及びプログラム | |
JP7380851B2 (ja) | テストスクリプト生成装置、テストスクリプト生成方法及びプログラム | |
JP6436704B2 (ja) | テスト実行装置、テスト実行方法およびコンピュータプログラム | |
JP7327471B2 (ja) | テスト装置、テスト方法及びプログラム | |
JP6353759B2 (ja) | テスト実行装置、テスト実行方法およびコンピュータプログラム | |
JP6261244B2 (ja) | Webアプリケーションテスト装置およびそのプログラム | |
JP2019197258A (ja) | 情報処理装置、その制御方法及びプログラム | |
JP2019192134A (ja) | 情報処理装置、その処理方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220214 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230214 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230404 |
|
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: 20230418 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230501 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7283569 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |