{"id":24510,"date":"2023-09-15T07:50:15","date_gmt":"2023-09-14T22:50:15","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/?page_id=24510"},"modified":"2023-09-20T18:35:12","modified_gmt":"2023-09-20T09:35:12","slug":"robot-framework","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/test-automation\/automation-frameworks\/robot-framework\/","title":{"rendered":"Robot Framework \u3068\u306e\u7d71\u5408"},"content":{"rendered":"<p>Robot Framework \u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u6c4e\u7528\u7684\u306a\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u3001\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u3068\u30ed\u30dc\u30c6\u30a3\u30c3\u30af \u30d7\u30ed\u30bb\u30b9 \u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3 (RPA) \u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002\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\">TestRail CLI<\/a> \u3092\u4f7f\u7528\u3057\u3066\u3001Robot Framework \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=\"01G74YVK28Q6FNNN0SQ3170R0Y\">\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\u308b Robot Framework \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>Robot Framework \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089 Selenium \u304a\u3088\u3073 Chromedriver \u3092\u4f7f\u7528\u3057\u3066\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=\"01G74YVK29H1SR8MTRP6SK4PYR\">\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>Selenium \u3092\u4f7f\u7528\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u30fc\u3092\u64cd\u4f5c\u3059\u308b Robot Framework \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u5b9f\u884c\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u3082\u306e\u306f\u3001Python \u3068 Chromedriver \u3060\u3051\u3067\u3059\u3002\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u306e\u306b\u4f7f\u7528\u3059\u308b TestRail CLI \u3082 Python \u3067\u958b\u767a\u3055\u308c\u305f\u30c4\u30fc\u30eb\u3067\u3042\u308b\u305f\u3081\u3001Python \u304c\u3042\u308c\u3070 TestRail \u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 24.2857%;\">\u524d\u63d0\u6761\u4ef6<\/th>\n<th style=\"width: 75.5714%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 24.2857%;\"><strong><a href=\"https:\/\/www.python.org\/downloads\/release\/python-3104\/\" target=\"_blank\" rel=\"noopener\">Python 3.10.4<\/a><\/strong><\/td>\n<td style=\"width: 75.5714%;\">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<tr>\n<td style=\"width: 24.2857%;\"><strong><a href=\"https:\/\/chromedriver.chromium.org\/downloads\" target=\"_blank\" rel=\"noopener\">Chromedriver<\/a><\/strong><\/td>\n<td style=\"width: 75.5714%;\">\u4f7f\u7528\u3057\u3066\u3044\u308b Chrome \u30d6\u30e9\u30a6\u30b6\u30fc\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5408\u3063\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3\u304b\u3089\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u30d5\u30a9\u30eb\u30c0\u30fc\u306b Chromedriver \u3092\u914d\u7f6e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u30d5\u30a9\u30eb\u30c0\u30fc\u306f OS \u306b\u3088\u3063\u3066\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\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\">chromedriver --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=\"01G74YVK29W35XHM7H59PHTKHA\">\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\/robotframework\" target=\"_blank\" rel=\"noopener\"><strong>\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/strong><\/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=\"powershell\">$ pip install -r \"requirements.txt\"<\/pre>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th>\u8981\u4ef6<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong><a href=\"https:\/\/robotframework.org\/\" target=\"_blank\" rel=\"noopener\">robotframework<\/a><\/strong><\/td>\n<td>Robot Framework \u2013 \u6c4e\u7528\u7684\u306a\u30ad\u30fc\u30ef\u30fc\u30c9\u99c6\u52d5\u578b\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/td>\n<\/tr>\n<tr>\n<td><strong><a href=\"https:\/\/robotframework.org\/SeleniumLibrary\/SeleniumLibrary.html\" target=\"_blank\" rel=\"noopener\">robotframework-seleniumlibrary<\/a><\/strong><\/td>\n<td>Selenium Library \u2013 \u30d6\u30e9\u30a6\u30b6\u30fc\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e Web \u30c6\u30b9\u30c8 \u30e9\u30a4\u30d6\u30e9\u30ea<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"01G74YVK29H4D59VM6BRHB8P7V\">\u30b5\u30f3\u30d7\u30eb \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u78ba\u8a8d<\/h2>\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\u3053\u308c\u3089\u306e\u30c6\u30b9\u30c8\u306f\u3001\u5358\u306b Selenium \u3092\u4f7f\u7528\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u30da\u30fc\u30b8\u3092\u958b\u304d\u3001\u4e0b\u306e\u4f8b\u306e\u3088\u3046\u306b\u3044\u304f\u3064\u304b\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3068\u691c\u8a3c\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_01.png\" alt=\"\" width=\"713\" height=\"627\" class=\"aligncenter size-full wp-image-24519\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_01.png 713w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_01-480x422.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 713px, 100vw\" \/><\/a><\/p>\n<h2 id=\"01G74YVK293TBY0CYKB7BZ6X48\">\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 Robot Framework \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=\"powershell\">$ robot -d reports -x junit-report.xml \".\/tests\"<\/pre>\n<p>robot \u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u304c\u6b63\u5e38\u306b\u5b9f\u884c\u3055\u308c\u308b\u3068\u3001\u30ec\u30dd\u30fc\u30c8 \u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u30c6\u30b9\u30c8\u7d50\u679c\u304c\u3042\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Robot Framework \u306f 2 \u3064\u306e\u30ec\u30dd\u30fc\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u751f\u6210\u3057\u307e\u3059\u3002<strong>report.html<\/strong> \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3068\u3001\u4e0b\u306e\u56f3\u306e\u3088\u3046\u306a\u898b\u3084\u3059\u3044\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e Robot Framework HTML \u30ec\u30dd\u30fc\u30c8\u3092\u53c2\u7167\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_02.png\" alt=\"\" width=\"884\" height=\"668\" class=\"aligncenter size-full wp-image-24520\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_02.png 884w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_02-480x363.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 884px, 100vw\" \/><\/a><\/p>\n<p>robot \u30b3\u30de\u30f3\u30c9 \u30aa\u30d7\u30b7\u30e7\u30f3\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>junit-report.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<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\">&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;testsuite name=\"Tests\" tests=\"3\" errors=\"0\" failures=\"1\" skipped=\"0\" time=\"18.629\" timestamp=\"2022-05-16T23:47:08.789000\"&gt;\n  &lt;testsuite name=\"Homepage-Links\" tests=\"3\" errors=\"0\" failures=\"1\" skipped=\"0\" time=\"19.961\" timestamp=\"2022-06-13T15:27:14.662000\"&gt;\n    &lt;testcase classname=\"Tests.Homepage-Links\" name=\"Go To My Account Page\" time=\"5.705\"&gt;\n    &lt;\/testcase&gt;\n    &lt;testcase classname=\"Tests.Homepage-Links\" name=\"Go To Demo Request Page\" time=\"6.685\"&gt;\n    &lt;\/testcase&gt;\n    &lt;testcase classname=\"Tests.Homepage-Links\" name=\"Go To Trial Request Page\" time=\"6.059\"&gt;\n      &lt;failure message=\"Page should have contained text Wrong!!!' but did not.\" type=\"AssertionError\"\/&gt;\n    &lt;\/testcase&gt;\n    &lt;properties&gt;\n      &lt;property name=\"Documentation\" value=\"Simple homepage links tests\"\/&gt;\n    &lt;\/properties&gt;\n  &lt;\/testsuite&gt;\n&lt;\/testsuite&gt;<\/pre>\n<h2 id=\"01G74YVK29QJ87T0N2PAHCSCW5\">TestRail \u3078\u306e\u7d50\u679c\u306e\u30a4\u30f3\u30dd\u30fc\u30c8<\/h2>\n<p>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001<strong> junit-report.xml<\/strong> \u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u305f\u3089\u3001TestRail CLI \u3092\u4f7f\u7528\u3057\u3066\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=\"01G74W5ZPF70V4NQ21ETVF32HP\">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=\"powershell\">$ pip install trcli<\/pre>\n<h3 id=\"01G74W5ZPFV5E48FZ7R2K2VKT6\">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\/\" target=\"_blank\" rel=\"noopener\"><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\/\" target=\"_blank\" rel=\"noopener\"><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 <em>String<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3 id=\"01G74YWRAAESZ804HTY5KPEVEQ\">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\u3088\u3046\u306a 1 \u884c\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=\"powershell\">$ 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 \"RF Automated Tests\" \\\n&gt;  -f junit-report.xml\n<\/pre>\n<p><span>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u5834\u6240\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3001<\/span><strong>-f<\/strong><span>\u00a0\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\u00a0<\/span><a href=\"https:\/\/github.com\/gurock\/trcli\/blob\/main\/README.md\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>TestRail CLI README.md<\/strong><\/a><span>\u00a0\u30d5\u30a1\u30a4\u30eb\u3001TRCLI \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<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ trcli --help\n$ trcli parse_junit --help<\/pre>\n<h3 id=\"01G74YXDTS7774QFCWPE50YWW2\">TestRail \u3067\u306e\u7d50\u679c\u306e\u53ef\u8996\u5316<\/h3>\n<p>TestRail \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3059\u308b\u3068\u3001\u30c6\u30b9\u30c8\u7d50\u679c\u30ec\u30dd\u30fc\u30c8\u306b\u542b\u307e\u308c\u3066\u3044\u305f\u30c6\u30b9\u30c8\u306b\u5bfe\u5fdc\u3059\u308b\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u304c TestRail \u306b\u3088\u3063\u3066\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3067\u3057\u3087\u3046\u3002JUnit \u30ec\u30dd\u30fc\u30c8\u306e\u30c6\u30b9\u30c8\u3054\u3068\u306b <code class=\"inline-code\">classname<\/code> \u304a\u3088\u3073 <code class=\"inline-code\">name<\/code> \u5c5e\u6027\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u4e00\u610f\u306e Automation ID \u3092\u8ffd\u52a0\u3057\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e Automation ID \u3092\u4f7f\u7528\u3057\u3066\u81ea\u52d5\u5316\u30b3\u30fc\u30c9\u306e\u30c6\u30b9\u30c8\u3068 TestRail \u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001TestRail CLI \u3092\u5b9f\u884c\u3059\u308b\u305f\u3073\u306b\u3001TestRail \u306e\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3068\u6bd4\u8f03\u3057\u3001\u8a72\u5f53\u3059\u308b Automation ID \u3092\u6301\u3064\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u304c\u306a\u3044\u5834\u5408\u306b\u3060\u3051\u65b0\u3057\u3044\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"callout callout--warning\">\n<p>[et_pb_text admin_label=&#8221;Note&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ffffdd&#8221; hover_enabled=&#8221;0&#8243; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#E1E163&#8243;]<\/p>\n<div class=\"callout callout--warning\">\n<p id=\"01G74YZADVY05ZRP3VHSEJMW5V\" class=\"callout__title callout__icon\">\u30c6\u30b9\u30c8\u306e\u540d\u524d\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3001\u307e\u305f\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3001\u30c6\u30b9\u30c8\u306e Automation ID \u304c\u5909\u308f\u308b\u305f\u3081\u3001 TestRail \u306e\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text]<\/p>\n<\/div>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_03.png\" alt=\"\" width=\"892\" height=\"350\" class=\"aligncenter size-full wp-image-24521\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_03.png 892w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_03-480x188.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 892px, 100vw\" \/><\/a><\/p>\n<p>[\u30c6\u30b9\u30c8 \u30e9\u30f3\u3068\u7d50\u679c] \u30da\u30fc\u30b8\u3067\u306f\u3001<strong>RF Automated Tests<\/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\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\/801\/wp-content\/uploads\/robot-framework_04.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_04.png\" alt=\"\" width=\"1047\" height=\"691\" class=\"aligncenter size-full wp-image-24518\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_04.png 1047w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_04-980x647.png 980w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-content\/uploads\/robot-framework_04-480x317.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1047px, 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>Robot Framework \u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u6c4e\u7528\u7684\u306a\u81ea\u52d5\u5316\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u3053\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u3001\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u3068\u30ed\u30dc\u30c6\u30a3\u30c3\u30af \u30d7\u30ed\u30bb\u30b9 \u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3 (RPA) \u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001T [&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-24510","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/comments?post=24510"}],"version-history":[{"count":20,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24510\/revisions"}],"predecessor-version":[{"id":25518,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24510\/revisions\/25518"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/pages\/24156"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/801\/wp-json\/wp\/v2\/media?parent=24510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}