1
1
---
2
- title : " HTML runner "
2
+ title : " HTMLランナー "
3
3
weight : 3
4
4
---
5
5
6
- {{% notice info %}}
7
- <i class =" fas fa-language " ></i > ページは英語から日本語へ訳されています。
8
- 日本語は話せますか?プルリクエストをして翻訳を手伝ってください!
9
- {{% /notice %}}
10
6
11
- _ Selenium HTML-runner_ allows you to run Test Suites from a
12
- command line. Test Suites are HTML exports from Selenium IDE or
13
- campatible tools.
7
+ _ Selenium HTMLランナー_ を使用すると、コマンドラインからテストスイートを実行できます。
8
+ テストスイートは、Selenium IDEまたは互換性ツールからのHTMLエクスポートです。
14
9
10
+ ## 共通情報
15
11
16
- ## Common information
12
+ * geckodriver / firefox / selenium-html-runnerのリリースの組み合わせが重要です。
13
+ どこかにソフトウェア互換性マトリックスがあるかもしれません。
14
+ * selenium-html-runnerはテストスイートのみを実行します(テストケースではなく、Monitis Transaction Monitorからのエクスポートなど)。
15
+ 必ずこれを順守してください。
16
+ * DISPLAYのないLinuxユーザーの場合-仮想ディスプレイでhtml-runnerを起動する必要があります(xvfbを検索)。
17
17
18
- * Combination of releases of geckodriver / firefox /
19
- selenium-html-runner matters. There might be a software
20
- compatibility matrix somewhere.
21
- * selenium-html-runner runs only Test Suite (not Test Case - what
22
- is for example an export from Monitis Transaction Monitor). Be
23
- sure you comply with this.
24
- * For Linux users with no DISPLAY - you need to start html-runner
25
- with Virtual display (search for xvfb)
26
-
27
- ## Example Linux environment
28
- Install / download following software packages:
18
+ ## Linux環境の例
19
+ 次のソフトウェアパッケージをインストール/ダウンロードします。
29
20
30
21
``` shell
31
22
[user@localhost ~ ]$ cat /etc/redhat-release
@@ -38,7 +29,7 @@ java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64
38
29
java-1.8.0-openjdk-headless-1.8.0.151-1.b12.el7_4.x86_64
39
30
```
40
31
41
- Test Suite example:
32
+ テストスイートの例
42
33
43
34
``` html
44
35
[user@localhost ~]$ cat testsuite.html
@@ -59,11 +50,10 @@ Test Suite example:
59
50
```
60
51
61
52
62
- ## How to run selenium-html-runner headless
53
+ ## selenium-html-runnerをヘッドレスで実行する方法
63
54
64
- Now, the most important part, an example of how to run the
65
- selenium-html-runner! Your experience might vary depending on software
66
- combinations - geckodriver/FF/html-runner releases.
55
+ さて、最も重要な部分、selenium-html-runnerの実行方法の例!
56
+ 経験によってソフトウェアの組み合わせ、- geckodriver / FF / html-runnerリリースによって異なる場合があります。
67
57
68
58
``` shell
69
59
xvfb-run java -Dwebdriver.gecko.driver=/home/mmasek/geckodriver.0.18.0 -jar selenium-html-runner-3.7.1.jar -htmlSuite " firefox" " https://YOUR-BASE-URL" " $( pwd) /testsuite.html" " results.html" ; grep result: -A1 results.html/firefox.results.html
0 commit comments