{"id":27862,"date":"2025-10-01T05:42:41","date_gmt":"2025-10-01T05:42:41","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=27862"},"modified":"2025-10-27T16:49:06","modified_gmt":"2025-10-27T07:49:06","slug":"webdriverio","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/test-automation\/automation-frameworks\/webdriverio\/","title":{"rendered":"WebdriverIO \u3068\u306e\u7d71\u5408"},"content":{"rendered":"<p class=\"wysiwyg-text-align-justify\"><a href=\"https:\/\/webdriver.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">WebdriverIO<\/a> \u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3067 Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306e\u5805\u7262\u306a\u81ea\u52d5\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001<a href=\"\/test-automation\/testrail-cli\/overview-and-installation\/\" target=\"_blank\" rel=\"noopener noreferrer\">TestRail CLI<\/a> \u3092\u4f7f\u7528\u3057\u3066\u3001WebdriverIO \u306e\u81ea\u52d5\u30c6\u30b9\u30c8\u5b9f\u884c\u3067\u751f\u6210\u3055\u308c\u305f\u30c6\u30b9\u30c8\u7d50\u679c\u3092 TestRail \u306b\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u7d71\u5408\u306b\u3088\u3063\u3066\u3001\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u3092\u4e2d\u592e\u3067\u7ba1\u7406\u3057\u3001TestRail \u304c\u63d0\u4f9b\u3059\u308b\u3059\u3079\u3066\u306e\u89e3\u6790\u304a\u3088\u3073\u30ec\u30dd\u30fc\u30c8\u6a5f\u80fd\u3092\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 id=\"01G75119Y2NVKTNND00MJ4YKPC\">\u6982\u8981<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001TestRail CLI \u3068\u4e92\u63db\u6027\u304c\u3042\u308bWebdriverIO \u306e\u81ea\u52d5\u30c6\u30b9\u30c8 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001\u751f\u6210\u3055\u308c\u305f\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u624b\u9806\u3092\u6848\u5185\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u901a\u3057\u3066\u8aad\u3080\u3068\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\"list-bullet\">\n<li>\u7c21\u5358\u306a <a href=\"https:\/\/github.com\/gurock\/automation-frameworks-integration\/tree\/main\/samples\/javascript\/webdriverIO\" target=\"_blank\" rel=\"noopener noreferrer\">WebdriverIO \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a>\u304b\u3089\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b<\/li>\n<li>TestRail CLI \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/li>\n<li>TestRail \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8a2d\u5b9a\u3059\u308b<\/li>\n<li>CLI \u3092\u5b9f\u884c\u3059\u308b<\/li>\n<li>TestRail \u3067\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3068\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"01G75119Y2K6SRBV3GVTSMGXHR\">\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>WebdriverIO \u306e\u30c6\u30b9\u30c8 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001npm \u307e\u305f\u306f <a href=\"https:\/\/webdriver.io\/docs\/gettingstarted#initiate-a-webdriverio-setup\" target=\"_blank\" rel=\"noopener noreferrer\">WebdriverIO \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7 \u30ac\u30a4\u30c9<\/a>\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u3044\u305a\u308c\u304b\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f npm \u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u00a0 WebdriverIO \u306f Node.js \u306b\u3088\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u305f\u3081\u3001\u307e\u305a Node.js \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u3092 TestRail \u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u305f\u3081\u306b TestRail CLI \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001Python \u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 21.5714%;\">\u524d\u63d0\u6761\u4ef6<\/th>\n<th style=\"width: 78.2857%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 21.5714%;\"><a href=\"https:\/\/nodejs.org\/en\/\" target=\"_blank\" rel=\"noopener\">Node.js<\/a><\/td>\n<td style=\"width: 78.2857%;\">OS \u306b\u5408\u3063\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u30a6\u30a3\u30b6\u30fc\u30c9\u306e\u6307\u793a\u306b\u5f93\u3044\u307e\u3059\u3002<br \/>\n\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3\u304b\u3089\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 <code class=\"inline-code\">node --version<\/code> \u304a\u3088\u3073 <code class=\"inline-code\">npm --version<\/code> \u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 21.5714%;\"><a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noopener\">Python 3.x<\/a><\/td>\n<td style=\"width: 78.2857%;\">OS \u306b\u5408\u3063\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u30a6\u30a3\u30b6\u30fc\u30c9\u306e\u6307\u793a\u306b\u5f93\u3044\u307e\u3059\u3002\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3\u304b\u3089 <code class=\"inline-code\">python --version<\/code> \u304a\u3088\u3073 <code class=\"inline-code\">pip --version<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"01G75119Y22FTVXMYFB9ZQYJK9\">\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u307e\u305a\u3001\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30b3\u30fc\u30c9\u3092\u53d6\u5f97\u3057\u3001\u5fc5\u8981\u306a\u4f9d\u5b58\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol class=\"list-colored\">\n<li><a href=\"https:\/\/github.com\/gurock\/automation-frameworks-integration\/tree\/main\/samples\/javascript\/webdriverIO\" target=\"_blank\" rel=\"noopener noreferrer\">\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/a>\u3092\u30af\u30ed\u30fc\u30f3\u307e\u305f\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30eb\u30fc\u30c8 \u30d5\u30a9\u30eb\u30c0\u30fc\u3067\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u3044\u3066\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npm install<\/pre>\n<p><span style=\"font-size: 1.5em;\">\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u78ba\u8a8d<\/span><\/p>\n<p>\u4efb\u610f\u306e IDE \u3092\u4f7f\u7528\u3057\u3066\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u958b\u304d\u3001\u30c6\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5b9f\u884c\u7d50\u679c\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u65b9\u6cd5\u306b\u96c6\u4e2d\u3067\u304d\u308b\u3088\u3046\u3001\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u30b3\u30fc\u30c9\u306f\u30b7\u30f3\u30d7\u30eb\u306b\u3057\u3066\u3042\u308a\u307e\u3059\u3002\u30c6\u30b9\u30c8\u306f\u30ed\u30b0\u30a4\u30f3 \u30da\u30fc\u30b8\u306e\u7c21\u5358\u306a\u64cd\u4f5c\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>(\u30b5\u30f3\u30d7\u30eb \u30d5\u30a3\u30fc\u30c1\u30e3\u30fc \u30d5\u30a1\u30a4\u30eb\uff09<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Feature: The Internet Website Access\n\n  Scenario: As a user, I can log into the secure area\n\n    Given I am on the login page\n    When I login with  and \n    Then I should see a flash message saying \n\n    Examples:\n      | username | password             | message                        |\n      | tomsmith | SuperSecretPassword! | You logged into a secure area! |\n\nScenario: As a user, I can't log into the secure area\n\n    Given I am on the login page\n    When I login with  and \n    Then I should see a flash message saying \n\n    Examples:\n      | username | password             | message                        |\n      | tomsmith | barfoo               | Your password invalid!         |<\/pre>\n<p>(\u30b9\u30c6\u30c3\u30d7\u5b9a\u7fa9\u306e\u30b5\u30f3\u30d7\u30eb)<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">import { Given, When, Then } from '@wdio\/cucumber-framework';\nimport { expect, $ } from '@wdio\/globals'\n\nimport LoginPage from '..\/pageobjects\/login.page.js';\nimport SecurePage from '..\/pageobjects\/secure.page.js';\n\nconst pages = {\n    login: LoginPage\n}\n\nGiven(\/^I am on the (\\w+) page$\/, async (page) = {\n    await pages[page].open()\n});\n\nWhen(\/^I login with (\\w+) and (.+)$\/, async (username, password) = {\n    await LoginPage.login(username, password)\n});\n\nThen(\/^I should see a flash message saying (.*)$\/, async (message) = {\n\n    const now = new Date();\n    const timestamp = now.toISOString().replace(\/[^\\w]\/g, '-');\n    const screenshotName = `screenshots-login-${timestamp}.png`;\n    await browser.saveScreenshot(`.\/results\/screenshots\/${screenshotName}`);\n\n    await expect(SecurePage.flashAlert).toBeExisting();\n    await expect(SecurePage.flashAlert).toHaveText(expect.stringContaining(message));\n});<\/pre>\n<h2 id=\"01G75119Y21QRF2N6ZTVDT55SK\">\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5b9f\u884c<\/h2>\n<p>\u540c\u3058\u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067 WebdriverIO \u306e\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3066\u7d50\u679c\u3092 JUnit XML \u5f62\u5f0f\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">npx wdio run wdio.conf.js<\/pre>\n<p>WebdriverIO \u30b3\u30de\u30f3\u30c9\u304c\u6b63\u5e38\u306b\u5b9f\u884c\u3055\u308c\u305f\u3089\u3001<strong>results<\/strong> \u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u30c6\u30b9\u30c8\u7d50\u679c\u304c\u3042\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f 1 \u3064\u306e\u30ec\u30dd\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u3088\u3046\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>wdio.conf.js<\/strong> \u30d5\u30a1\u30a4\u30eb\u3067\u6307\u5b9a\u3057\u305f\u3068\u304a\u308a\u3001JUnit XML \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u542b\u3080 <strong>webdriverIO-test-results.xml<\/strong> \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3082\u3042\u308b\u306f\u305a\u3067\u3059\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092 TestRail CLI \u3067\u89e3\u6790\u3057\u3001\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u4f5c\u6210\u3057\u3066\u30c6\u30b9\u30c8\u7d50\u679c\u3092 TestRail \u3078\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_1-1024x602.png\" alt=\"\" width=\"1024\" height=\"602\" class=\"aligncenter wp-image-28589 size-large\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_1-980x576.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_1-480x282.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/a><\/p>\n<h2 id=\"01G75119Y2H242KNXNAYXHR3G2\">TestRail \u3078\u306e\u7d50\u679c\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h2>\n<h3 id=\"01G74W5ZPF70V4NQ21ETVF32HP\" class=\"\">TestRail CLI \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u3059\u3067\u306b\u30de\u30b7\u30f3\u306b Python \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001TestRail CLI \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ pip install trcli<\/pre>\n<h3>TestRail \u306e\u8a2d\u5b9a<\/h3>\n<p>\u6b21\u306b\u3001\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066 TestRail \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><strong>[\u7ba1\u7406] &gt; [\u30b5\u30a4\u30c8\u8a2d\u5b9a]<\/strong> \u306b\u79fb\u52d5\u3057\u3066 [<strong>API<\/strong>] \u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001[<strong>API \u306e\u6709\u52b9\u5316<\/strong>] \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30aa\u30f3\u306b\u3057\u3066 <a href=\"\/api-manual\/getting-started-with-testrail-api\/introduction-api\/\"><strong>TestRail API<\/strong><\/a> \u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/li>\n<li>\u81ea\u52d5\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30b3\u30fc\u30c9\u3068\u5b9f\u969b\u306e TestRail \u306e\u30b1\u30fc\u30b9\u3092\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e<a href=\"\/user-guide\/administration-and-customizations\/custom-fields\/\"><strong>\u30ab\u30b9\u30bf\u30e0 \u30d5\u30a3\u30fc\u30eb\u30c9<\/strong><\/a>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u308c\u306b\u306f\u3001<strong>[\u7ba1\u7406] &gt; [\u30ab\u30b9\u30bf\u30de\u30a4\u30ba]<\/strong> \u306b\u79fb\u52d5\u3057\u3066 [<strong>\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u8ffd\u52a0<\/strong>] \u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u4f5c\u6210\u753b\u9762\u306b\u79fb\u52d5\u3057\u305f\u3089\u3001\u4e0b\u8a18\u306e 2 \u3064\u306e\u8981\u4ef6\u306b\u5f93\u3063\u3066\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\n<ul>\n<li><strong>\u30b7\u30b9\u30c6\u30e0\u540d<\/strong>\u306f <em>automation_id<\/em><\/li>\n<li>[<strong>\u30bf\u30a4\u30d7<\/strong>] \u306f T<em>ext<\/em> \u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001JUnit \u5f62\u5f0f\u306e\u30ec\u30dd\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u305f\u3089\u3001\u7c21\u5358\u306b\u30c6\u30b9\u30c8\u7d50\u679c (\u304a\u3088\u3073\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9) \u3092 TestRail \u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u5b9f\u884c\u3092\u53ef\u8996\u5316\u3057\u3001\u5b9f\u969b\u306b\u3069\u306e\u3088\u3046\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30c6\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u304b\u306b\u95a2\u3059\u308b\u6982\u8981\u3092\u3059\u3079\u3066 TestRail \u5185\u3067\u53c2\u7167\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3 id=\"01G75135AQK5NE98CCGK0V3X9P\">TestRail \u3078\u306e\u7d50\u679c\u306e\u9001\u4fe1<\/h3>\n<p>TestRail CLI \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001TestRail \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ trcli -y \\\n&gt;  -h https:\/\/INSERT-INSTANCE-NAME.testrail.io \\\n&gt;  --project \"My Project\" \\\n&gt;  --username INSERT-EMAIL \\\n&gt;  --password INSERT-PASSWORD \\\n&gt;  parse_junit \\\n&gt;  --title \"Automation Demo - WebdriverIO\" \\\n&gt;  -f \"results\/test-results.xml\"<\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5834\u6240\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3001<strong>-f<\/strong> \u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u30ec\u30dd\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306b\u4e00\u81f4\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u4ed6\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3059\u3079\u3066 TestRail \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304a\u3088\u3073\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5408\u308f\u305b\u307e\u3059\u3002\u4ed6\u306e\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 \u30ea\u30dd\u30b8\u30c8\u30ea\u306e <a href=\"https:\/\/github.com\/gurock\/trcli\/blob\/main\/README.md\" target=\"_blank\" rel=\"noopener noreferrer\">TestRail CLI README.md<\/a> \u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f TRCLI \u306e\u30de\u30cb\u30e5\u30a2\u30eb \u30da\u30fc\u30b8\u3092\u53c2\u7167\u3059\u308b\u304b\u3001\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066 CLI \u306e\u7d44\u307f\u8fbc\u307f\u30d8\u30eb\u30d7\u3092\u53c2\u7167\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ trcli --help\n$ trcli parse_junit --help<\/pre>\n<h3 id=\"01G7516DH0HBST87T8QBD87RJC\">TestRail \u3067\u306e\u7d50\u679c\u306e\u53ef\u8996\u5316<\/h3>\n<p>TestRail \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e<strong>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9<\/strong> \u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3059\u308b\u3068\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u30ec\u30dd\u30fc\u30c8\u306b\u57fa\u3065\u3044\u3066\u3001TestRail CLI \u306b\u3088\u3063\u3066\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>JUnit \u30ec\u30dd\u30fc\u30c8\u306e <code class=\"inline-code\">classname<\/code> \u304a\u3088\u3073 <code class=\"inline-code\">name<\/code> \u5c5e\u6027\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u5404\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u4e00\u610f\u306e Automation ID \u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e Automation ID \u306b\u3088\u308a\u3001TestRail CLI \u306f\u3001\u5b9f\u884c\u306e\u305f\u3073\u306b\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u7167\u5408\u3067\u304d\u307e\u3059\u3002\u540c\u3058 Automation ID \u3092\u6301\u3064\u30c6\u30b9 \u30c8\u30b1\u30fc\u30b9\u304c\u3059\u3067\u306b\u5b58\u5728\u3059\u308b\u5834\u5408\u3001\u8a72\u5f53\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"callout callout--warning\">\n<p>\u30c6\u30b9\u30c8\u306e\u540d\u524d\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u30ec\u30dd\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u5834\u6240\u3092\u79fb\u52d5\u3057\u305f\u308a\u3059\u308b\u3068\u3001Automation ID \u304c\u5909\u66f4\u3055\u308c\u3001TestRail \u306e\u65e2\u5b58\u306e\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306b\u6b63\u3057\u304f\u30de\u30c3\u30d4\u30f3\u30b0\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_2-1024x147.png\" alt=\"\" width=\"1024\" height=\"147\" class=\"aligncenter wp-image-28590 size-large\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_2-980x141.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_2-480x69.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/a><\/p>\n<\/div>\n<p>[<strong>\u30c6\u30b9\u30c8 \u30e9\u30f3\u3068\u7d50\u679c<\/strong>] \u30da\u30fc\u30b8\u3067\u306f\u3001<strong>Automation Demo &#8211; WebdriverIO<\/strong> \u3068\u3044\u3046\u540d\u524d\u306e\u30c6\u30b9\u30c8 \u30e9\u30f3\u304c\u4f5c\u6210\u3055\u308c\u305f\u306e\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30c6\u30b9\u30c8 \u30e9\u30f3\u3092\u958b\u304d\u3001\u5404\u81ea\u52d5\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u8a73\u7d30\u3092\u30c9\u30ea\u30eb\u30c0\u30a6\u30f3\u3057\u307e\u3059\u3002\u4e0b\u306e\u56f3\u306b\u793a\u3059\u3088\u3046\u306b\u3001\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3057\u305f\u3068\u304d\u306b\u306f\u3001\u753b\u9762\u30b7\u30e7\u30c3\u30c8\u306a\u3069\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3068\u3068\u3082\u306b\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u51fa\u529b\u3057\u305f\u30a8\u30e9\u30fc \u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u30c6\u30b9\u30c8\u7d50\u679c\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3057\u305f\u7406\u7531\u306e\u9ad8\u5ea6\u306a\u89e3\u6790\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_3-1024x366.png\" alt=\"\" width=\"1024\" height=\"366\" class=\"aligncenter wp-image-28591 size-large\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_3-980x350.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/integrating_with_webdriverio_3-480x172.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/a><\/p>\n<h2 id=\"01G74W5ZPGTYQ0PY1K37T54TF0\">\u6b21\u306e\u30b9\u30c6\u30c3\u30d7<\/h2>\n<p>\u30c6\u30b9\u30c8\u7d50\u679c\u304c TestRail \u306b\u96c6\u7d04\u3055\u308c\u305f\u306e\u3067\u3001\u5931\u6557\u3057\u305f\u30c6\u30b9\u30c8\u306e\u30a8\u30e9\u30fc \u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u542b\u3081\u3066\u81ea\u52d5\u30c6\u30b9\u30c8\u5b9f\u884c\u306e\u7d50\u679c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u624b\u52d5\u30c6\u30b9\u30c8\u3068\u81ea\u52d5\u30c6\u30b9\u30c8\u3092\u30ec\u30dd\u30fc\u30c8\u4e0a\u3067\u96c6\u7d04\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u3059\u308b\u5b8c\u5168\u306a\u30c6\u30b9\u30c8 \u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u8868\u793a\u3057\u305f\u308a\u3001\u30c6\u30b9\u30c8\u81ea\u52d5\u5316\u30d7\u30ed\u30bb\u30b9\u3092\u8ffd\u8de1\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u307e\u305f\u3001\u624b\u52d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u3060\u3051\u3067\u306a\u304f\u3001\u81ea\u52d5\u30c6\u30b9\u30c8\u306e\u7d50\u679c\u304b\u3089\u4efb\u610f\u306e\u8ab2\u984c\u30c8\u30e9\u30c3\u30ab\u30fc\u306b\u76f4\u63a5\u30d0\u30b0\u3092\u30ec\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>TestRail \u306e\u30ec\u30dd\u30fc\u30c8\u6a5f\u80fd\u3092\u6d3b\u7528\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.youtube.com\/watch?v=XXygDfOD2MY\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>TestRail \u306e\u30ec\u30dd\u30fc\u30c8\u304a\u3088\u3073\u30c6\u30b9\u30c8 \u30e1\u30c8\u30ea\u30af\u30b9\u306e\u52d5\u753b<\/strong><\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WebdriverIO \u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30a2\u30d7\u30ed\u30fc\u30c1\u3067 Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306e\u5805\u7262\u306a\u81ea\u52d5\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002 \u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001TestRail CLI \u3092\u4f7f\u7528\u3057\u3066\u3001WebdriverIO \u306e [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":24156,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-27862","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/27862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=27862"}],"version-history":[{"count":9,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/27862\/revisions"}],"predecessor-version":[{"id":29667,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/27862\/revisions\/29667"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/24156"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=27862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}