Skip to content

Add Japanese translation of "Legacy Migrating from RC to WebDriver and HTML runner" #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 15 additions & 25 deletions docs_source_files/content/legacy_docs/html-runner.ja.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
---
title: "HTML runner"
title: "HTMLランナー"
weight: 3
---

{{% notice info %}}
<i class="fas fa-language"></i> ページは英語から日本語へ訳されています。
日本語は話せますか?プルリクエストをして翻訳を手伝ってください!
{{% /notice %}}

_Selenium HTML-runner_ allows you to run Test Suites from a
command line. Test Suites are HTML exports from Selenium IDE or
campatible tools.
_Selenium HTMLランナー_ を使用すると、コマンドラインからテストスイートを実行できます。
テストスイートは、Selenium IDEまたは互換性ツールからのHTMLエクスポートです。

## 共通情報

## Common information
* geckodriver / firefox / selenium-html-runnerのリリースの組み合わせが重要です。
どこかにソフトウェア互換性マトリックスがあるかもしれません。
* selenium-html-runnerはテストスイートのみを実行します(テストケースではなく、Monitis Transaction Monitorからのエクスポートなど)。
必ずこれを順守してください。
* DISPLAYのないLinuxユーザーの場合-仮想ディスプレイでhtml-runnerを起動する必要があります(xvfbを検索)。

* Combination of releases of geckodriver / firefox /
selenium-html-runner matters. There might be a software
compatibility matrix somewhere.
* selenium-html-runner runs only Test Suite (not Test Case - what
is for example an export from Monitis Transaction Monitor). Be
sure you comply with this.
* For Linux users with no DISPLAY - you need to start html-runner
with Virtual display (search for xvfb)

## Example Linux environment
Install / download following software packages:
## Linux環境の例
次のソフトウェアパッケージをインストール/ダウンロードします。

```shell
[user@localhost ~]$ cat /etc/redhat-release
Expand All @@ -38,7 +29,7 @@ java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64
java-1.8.0-openjdk-headless-1.8.0.151-1.b12.el7_4.x86_64
```

Test Suite example:
テストスイートの例

```html
[user@localhost ~]$ cat testsuite.html
Expand All @@ -59,11 +50,10 @@ Test Suite example:
```


## How to run selenium-html-runner headless
## selenium-html-runnerをヘッドレスで実行する方法

Now, the most important part, an example of how to run the
selenium-html-runner! Your experience might vary depending on software
combinations - geckodriver/FF/html-runner releases.
さて、最も重要な部分、selenium-html-runnerの実行方法の例!
経験によってソフトウェアの組み合わせ、- geckodriver / FF / html-runnerリリースによって異なる場合があります。

```shell
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
Expand Down
Loading