{"id":6653,"date":"2021-01-11T10:34:46","date_gmt":"2021-01-11T01:34:46","guid":{"rendered":"http:\/\/54.178.87.26\/csv\/"},"modified":"2021-10-06T20:48:14","modified_gmt":"2021-10-06T11:48:14","slug":"csv","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/admin\/migration\/csv\/","title":{"rendered":"\u79fb\u884c\uff1aCSV \u304a\u3088\u3073 Excel"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.4.2&#8243; custom_padding=&#8221;||5px|||&#8221;][et_pb_row _builder_version=&#8221;4.4.2&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<h1 id=\"migrationcsv_excel\" class=\"sectionedit1\">\u79fb\u884c\uff1aCSV \u304a\u3088\u3073 Excel<\/h1>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Note&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ffffdd&#8221; custom_padding=&#8221;4px|4px|2px|6px|false|false&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#E1E163&#8243;]<\/p>\n<p>TestRail 4.1\u4ee5\u964d\u3001TestRail \u306b\u306f\u3055\u307e\u3056\u307e\u306a Excel\/CSV \u5f62\u5f0f\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b <strong>Excel\/CSV \u306e\u76f4\u63a5\u30a4\u30f3\u30dd\u30fc\u30c8<\/strong>\u6a5f\u80fd\u304c\u542b\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u5358\u7d14\u306a Excel\/CSV \u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u304c\u63a8\u5968\u3055\u308c\u308b\u65b9\u6cd5\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"\/user-guide\/howto\/import-csv\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>TestRail Excel\/CSV \u30a4\u30f3\u30dd\u30fc\u30c8<\/strong><\/a><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221; hover_enabled=&#8221;0&#8243;]<\/p>\n<p id=\"download\">\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001CSV \u30d5\u30a1\u30a4\u30eb\u5185\u306e\u65e2\u5b58\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092 TestRail \u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002Excel \u30d5\u30a1\u30a4\u30eb\u3092\u5909\u63db\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u306b\u306f\u307e\u305a CSV \u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059 (Excel \u3067 <strong>[\u30d5\u30a1\u30a4\u30eb]<\/strong> \u30e1\u30cb\u30e5\u30fc\u306e<strong> [\u540d\u524d\u3092\u4ed8\u3051\u3066\u4fdd\u5b58]<\/strong> \u3092\u9078\u629e\u3057\u307e\u3059)\u3002<\/p>\n<p>\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092 CSV\/Excel \u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u6a19\u6e96\u7684\u306a\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u306a\u3044\u305f\u3081\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u30c7\u30fc\u30bf\u306e\u62bd\u51fa\u65b9\u6cd5\u3092\u6307\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u306b\u306f\u3001 <strong>csv2testrail<\/strong> \u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u547c\u3073\u51fa\u3055\u308c\u308b\u7c21\u5358\u306a\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u3092\u4f5c\u6210\u3057\u3001CSV \u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u3092\u5909\u63db\u3057\u305f\u3089\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3068\u30bb\u30af\u30b7\u30e7\u30f3\u3092 TestRail \u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002\u5909\u63db\u3057\u305f XML \u30d5\u30a1\u30a4\u30eb\u3092 TestRail \u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u306b\u306f\u3001\u7a7a\u306e\u30c6\u30b9\u30c8\u30b9\u30a4\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u3066\u30c4\u30fc\u30eb\u30d0\u30fc\u306e\u30a4\u30f3\u30dd\u30fc\u30c8 \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p id=\"download\">[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_row _builder_version=&#8221;4.4.2&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<h2 id=\"download\" class=\"sectionedit2\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h2>\n<div class=\"level2\">\n<p>CSV \uff06 Excel \u79fb\u884c\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6700\u65b0\u7248\u306f\u3001\u6b21\u306e\u5834\u6240\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/testrail\/docs\/702\/wp-content\/uploads\/highlight-download.png\" \/> \u00a0<strong style=\"font-size: 1.6rem;\"><a href=\"https:\/\/media.gurock.com\/gk-media\/downloads\/testrail-migrate-csv-1.2.zip\">TestRail CSV Migration<\/a><\/strong><\/p>\n<p>CSV\u3068Excel\u30d5\u30a1\u30a4\u30eb\u3092TestRail\u306b\u79fb\u884c\u3059\u308b\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8<\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<h2>\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Code Sample&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ECF6FF&#8221; custom_padding=&#8221;4px|4px|2px|6px|false|false&#8221; hover_enabled=&#8221;0&#8243; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#C7DBEF&#8221;]<\/p>\n<pre class=\"code\">&gt; php csv2testrail.php &lt;filter&gt; &lt;input-file&gt; &lt;output-file&gt; [mode] [delimiter]\n\n&lt;filter-script&gt; a PHP script to extract the CSV data for conversion.\n\n&lt;input-file&gt; should be the filename of a CSV file with test cases\nyou want to convert (for example, an exported Excel file).\n\n&lt;output-file&gt; specifies the filename of the resulting TestRail\nimport\/export file.\n\n[mode] An optional mode. The following modes are available:\n\n  --export  The default behavior; exports the data to the XML file.\n  --csv     For debugging: prints the CSV data as seen by the script\n  --cases   For debugging: prints the cases after the filter script\n            was called\n  --tree    For debugging: prints the section\/case tree after analyzing\n            the cases and sections\n            \n[delimiter] Allows you to override the default comma delimiter.<\/pre>\n<p id=\"custom_filter\">[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_row _builder_version=&#8221;4.4.2&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<h2 id=\"custom_filter\" class=\"sectionedit4\">\u30ab\u30b9\u30bf\u30e0 \u30d5\u30a3\u30eb\u30bf\u30fc<\/h2>\n<div class=\"level2\">\n<p>CSV \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u6a19\u6e96\u7684\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u306a\u3044\u305f\u3081\u3001\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u62bd\u51fa\u3092\u884c\u3046\u306b\u306f\u3001\u7c21\u5358\u306a\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002CSV\/Excel \u30d5\u30a1\u30a4\u30eb\u306f\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u305f\u3081\u3001\u3053\u306e\u3088\u3046\u306a\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4f01\u696d A \u306f\u30b1\u30fc\u30b9\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u5217 1 \u306b\u683c\u7d0d\u3059\u308b\u304c\u3001\u4f01\u696d B \u3067\u306f\u30bf\u30a4\u30c8\u30eb\u3092\u5217 5 \u306b\u683c\u7d0d\u3059\u308b\u3068\u3044\u3063\u305f\u9055\u3044\u304c\u3042\u308a\u3048\u307e\u3059\u3002\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u8907\u6570\u306e\u884c\u3092\u4f7f\u7528\u3059\u308b CSV \u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001<strong>csv2testrail<\/strong> \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u975e\u5e38\u306b\u67d4\u8edf\u306b\u306a\u308a\u3001\u307b\u307c\u3069\u3093\u306a CSV \u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073 Excel \u30d5\u30a1\u30a4\u30eb\u3067\u3082\u6a5f\u80fd\u3057\u307e\u3059\u3002\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u306f PHP \u3067\u66f8\u304b\u308c\u3066\u304a\u308a\u3001<strong>csv2testrail<\/strong> \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3088\u3063\u3066\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<strong>csv2testrail<\/strong> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u304d\u306b\u3001\u6700\u521d\u306e\u5f15\u6570\u3068\u3057\u3066\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u3092\u542b\u3080 PHP \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u30eb\u30fc\u30c1\u30f3\u306f\u975e\u5e38\u306b\u5358\u7d14\u306a\u5f62\u5f0f\u3067\u3059\u3002<strong>custom_filter<\/strong> \u3068\u3044\u3046\u95a2\u6570\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u552f\u4e00\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3068\u3057\u3066 CSV \u30c7\u30fc\u30bf\u304c\u6e21\u3055\u308c\u307e\u3059\u3002<strong>$csv<\/strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306f\u3001CSV \u30d5\u30a1\u30a4\u30eb\u5185\u306e\u884c\u306e\u914d\u5217\u3067\u3059\u3002\u5404\u884c\u306f\u5217\u306e\u914d\u5217\u3067\u3059\u3002\u4e00\u822c\u7684\u306a <strong>custom_filter.php<\/strong> \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.4.2&#8243;]<\/p>\n<pre class=\"language-php\"><code class=\"language-php\"><!-- [et_pb_line_break_holder] -->function custom_filter($csv)<!-- [et_pb_line_break_holder] -->{<!-- [et_pb_line_break_holder] -->\t\/\/ Skip the first line<!-- [et_pb_line_break_holder] -->\tunset($csv[0]);<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->\t\/\/ Iterate rows and build cases<!-- [et_pb_line_break_holder] -->\tforeach ($csv as $row)<!-- [et_pb_line_break_holder] -->\t{<!-- [et_pb_line_break_holder] -->\t\t\/\/ Create a new case and assign the various properties<!-- [et_pb_line_break_holder] -->\t\t$case = array();<!-- [et_pb_line_break_holder] -->\t\t$case['title'] = $row[0];<!-- [et_pb_line_break_holder] -->\t\t$case['type'] = $row[1];<!-- [et_pb_line_break_holder] -->\t\t$case['priority'] = $row[2];<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->\t\t\/\/ Custom fields, such as Preconditions, Steps and<!-- [et_pb_line_break_holder] -->\t\t\/\/ Expected Results<!-- [et_pb_line_break_holder] -->\t\t$custom = array();<!-- [et_pb_line_break_holder] -->\t\t$custom['preconds'] = $row[3];<!-- [et_pb_line_break_holder] -->\t\t$custom['steps'] = $row[4];<!-- [et_pb_line_break_holder] -->\t\t$custom['expected'] = $row[5];<!-- [et_pb_line_break_holder] -->\t\t$case['custom'] = $custom;<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->\t\t\/\/ The export script will automatically create the section<!-- [et_pb_line_break_holder] -->\t\t\/\/ hierarchy for us. All we have to do is to specify the<!-- [et_pb_line_break_holder] -->\t\t\/\/ sections for a test case in this format:<!-- [et_pb_line_break_holder] -->\t\t\/\/<!-- [et_pb_line_break_holder] -->\t\t\/\/ \"Section 1 &gt; Section 2 &gt; Section 3\"<!-- [et_pb_line_break_holder] -->\t\t$case['section'] = $row[6];<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->\t\t\/\/ Add the cases to the list<!-- [et_pb_line_break_holder] -->\t\t$cases[] = $case;<!-- [et_pb_line_break_holder] -->\t}<!-- [et_pb_line_break_holder] --> <!-- [et_pb_line_break_holder] -->\t\/\/ Return all cases<!-- [et_pb_line_break_holder] -->\treturn $cases;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><\/code><\/pre>\n<p>[\/et_pb_code][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<p>custom_filter \u95a2\u6570\u306f\u30b1\u30fc\u30b9\u306e\u914d\u5217\u3092\u8fd4\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5404\u30b1\u30fc\u30b9\u306f\u3001\u30b1\u30fc\u30b9\u306e\u8a73\u7d30\u3092\u6307\u5b9a\u3059\u308b\u9023\u60f3\u914d\u5217\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001 <strong>$case[&#8216;title&#8217;]<\/strong> \u914d\u5217\u8981\u7d20\u306f\u30b1\u30fc\u30b9\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30b1\u30fc\u30b9\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066\u914d\u5217\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u914d\u5217\u3068\u5024\u306f XML \u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001TestRail XML \u30d5\u30a1\u30a4\u30eb\u306e custom \u8981\u7d20\u3092\u6307\u5b9a\u3059\u308b\u306b\u306f\u3001\u914d\u5217\u3092 <strong>$case[&#8216;custom&#8217;]<\/strong> \u306b\u5272\u308a\u5f53\u3066\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30b1\u30fc\u30b9\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.4.2&#8243;]<\/p>\n<pre class=\"language-php\"><code class=\"language-php\"><!-- [et_pb_line_break_holder] -->[35] =&gt; Array<!-- [et_pb_line_break_holder] -->\t(<!-- [et_pb_line_break_holder] -->\t\t[title] =&gt; Verify line spacing on multi-page document<!-- [et_pb_line_break_holder] -->\t\t[type] =&gt; Other<!-- [et_pb_line_break_holder] -->\t\t[priority] =&gt; 2<!-- [et_pb_line_break_holder] -->\t\t[custom] =&gt; Array<!-- [et_pb_line_break_holder] -->\t\t\t(<!-- [et_pb_line_break_holder] -->\t\t\t\t[preconds] =&gt; Suspendisse ..<!-- [et_pb_line_break_holder] -->\t\t\t\t[steps] =&gt; In vulputate ..<!-- [et_pb_line_break_holder] -->\t\t\t\t[expected] =&gt; Massa sodales ..<!-- [et_pb_line_break_holder] -->\t\t\t)<!-- [et_pb_line_break_holder] -->\t\t[section] =&gt; Customization<!-- [et_pb_line_break_holder] -->\t)<!-- [et_pb_line_break_holder] --><\/code><\/pre>\n<p>[\/et_pb_code][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<p><strong>csv2testrail<\/strong> \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u81ea\u52d5\u7684\u306b\u30bb\u30af\u30b7\u30e7\u30f3\u3068\u30b1\u30fc\u30b9\u306e\u968e\u5c64\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u5fc5\u8981\u306a\u51e6\u7406\u306f\u3001\u5404\u30b1\u30fc\u30b9\u306e\u30bb\u30af\u30b7\u30e7\u30f3 \u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3060\u3051\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30bb\u30af\u30b7\u30e7\u30f3 <strong>Foo<\/strong> \u306e\u30b5\u30d6\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3042\u308b\u30bb\u30af\u30b7\u30e7\u30f3 <strong>Bar<\/strong> \u306b\u30b1\u30fc\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b <strong>$case[&#8216;section&#8217;]<\/strong> \u8981\u7d20\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Code Sample&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ECF6FF&#8221; custom_padding=&#8221;4px|4px|2px|6px|false|false&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#C7DBEF&#8221;]<\/p>\n<pre class=\"code\">Foo &gt; Bar<\/pre>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221; hover_enabled=&#8221;0&#8243;]<\/p>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u5fc5\u8981\u306b\u3042\u308f\u305b\u3066\u67d4\u8edf\u306b CSV \u30c7\u30fc\u30bf\u3092\u30b1\u30fc\u30b9\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3067\u304d\u3001\u3042\u3089\u3086\u308b\u30c7\u30fc\u30bf\u578b\u3092\u305d\u306e\u5834\u3067\u7c21\u5358\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001CSV\/Excel\u30d5\u30a1\u30a4\u30eb\u306b\u3001 <strong>MANUAL<\/strong> \u3084 <strong>AUTO<\/strong> \u306a\u3069\u306e\u5024\u3092\u6301\u3064 <strong>Test Type<\/strong> \u3068\u3044\u3046\u540d\u524d\u306e\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u305d\u308c\u3089\u306e\u5024\u3092 <strong>Functional<\/strong> \u3084 <strong>Automated<\/strong> \u306a\u3069\u306e\u5024\u3092\u6301\u3064 TestRail \u306e\u7d44\u307f\u8fbc\u307f\u578b\u306b\u7c21\u5358\u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4e0a\u7d1a\u30b5\u30f3\u30d7\u30eb\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_row _builder_version=&#8221;4.4.2&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<h2 id=\"troubleshooting\" class=\"sectionedit5\">\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\n<div class=\"level2\">\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306b\u5f79\u7acb\u3064\u3044\u304f\u3064\u304b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u306e <strong>[mode]<\/strong> \u5f15\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u306e\u3055\u307e\u3056\u307e\u306a\u6bb5\u968e\u3067\u79fb\u884c\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5185\u90e8\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u51fa\u529b\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.4.2&#8243; hover_enabled=&#8221;0&#8243;]<\/p>\n<table style=\"height: 157px; width: 100%; border-color: silver;\" border=\"1\" cellpadding=\"5\">\n<tbody>\n<tr style=\"height: 24px; background-color: aliceblue;\">\n<td style=\"width: 10px; height: 24px; text-align: center;\"><strong>\u5f15\u6570<\/strong><\/td>\n<td style=\"width: 208px; height: 24px; text-align: center;\"><strong>\u8aac\u660e<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 18.2193px;\">\n<td style=\"width: 10px; height: 18.2193px;\">&#8211;export<\/td>\n<td style=\"width: 208px; height: 18.2193px;\">\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u52d5\u4f5c: \u30c7\u30fc\u30bf\u3092 XML \u30d5\u30a1\u30a4\u30eb\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3001\u8ffd\u52a0\u60c5\u5831\u3092\u51fa\u529b\u3057\u307e\u305b\u3093\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10px; height: 24px;\">&#8211;csv<\/td>\n<td style=\"width: 208px; height: 24px;\">\u305d\u306e\u307e\u307e\u306e CSV \u30c7\u30fc\u30bf\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u51fa\u529b\u30c7\u30fc\u30bf\u306f\u3001\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u306b <strong>$csv<\/strong> \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3068\u3057\u3066\u6e21\u3055\u308c\u308b\u30c7\u30fc\u30bf\u305d\u306e\u307e\u307e\u306a\u306e\u3067\u3001\u3055\u307e\u3056\u307e\u306a\u30c7\u30fc\u30bf\u5217\u306e <strong>$row<\/strong> \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306b\u7279\u306b\u4fbf\u5229\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10px; height: 24px;\">&#8211;cases<\/td>\n<td style=\"width: 208px; height: 24px;\"><span style=\"font-family: inherit; font-size: inherit; font-weight: inherit;\">csv2testrail \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u5f8c\u306e\u30b1\u30fc\u30b9\u3092\u51fa\u529b\u3057\u307e\u3059\u3002csv2testrail \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3088\u3063\u3066\u8fd4\u3055\u308c\u308b\u30c7\u30fc\u30bf\u3067\u3059\u3002<\/span><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10px; height: 24px;\">&#8211;tree<\/td>\n<td style=\"width: 208px; height: 24px;\">\u30b1\u30fc\u30b9\u306e <strong>section<\/strong> \u5024\u3092\u5206\u6790\u3057\u305f\u5f8c\u306e\u30bb\u30af\u30b7\u30e7\u30f3\/\u30b1\u30fc\u30b9\u30c4\u30ea\u30fc\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_row _builder_version=&#8221;4.4.2&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.2&#8243;][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221; hover_enabled=&#8221;0&#8243;]<\/p>\n<h2 id=\"examples\" class=\"sectionedit6\">\u4f8b\uff1a<\/h2>\n<div class=\"level2\">\n<p>\u6b21\u306e\u4f8b\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Simple<\/h3>\n<\/div>\n<div class=\"level3\">\n<p>\u3053\u306e\u4f8b\u306b\u306f\u3001\u7c21\u5358\u306a CSV \u30d5\u30a1\u30a4\u30eb\u3068\u305d\u308c\u306b\u5bfe\u5fdc\u3059\u308b\u30d5\u30a3\u30eb\u30bf\u30fc \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002CSV \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u30bf\u30a4\u30c8\u30eb\u3001\u7a2e\u985e\u3001\u624b\u9806\u306a\u3069\u306e\u3055\u307e\u3056\u307e\u306a\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u30d5\u30a3\u30eb\u30bf\u30fc \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3057\u3001\u6b63\u3057\u3044\u5f62\u5f0f\u3067\u30b1\u30fc\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u306e CSV \u30d5\u30a1\u30a4\u30eb\u3092 TestRail \u306e XML \u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u306b\u306f\u3001 <strong>examples\\simple<\/strong> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Code Sample&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ECF6FF&#8221; custom_padding=&#8221;4px|4px|2px|6px|false|false&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#C7DBEF&#8221;]<\/p>\n<pre class=\"code\">&gt; php ..\/..\/csv2testrail.php custom_filter.php testdata.csv suite.xml<\/pre>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221; hover_enabled=&#8221;0&#8243;]<\/p>\n<h3 id=\"advanced\" class=\"sectionedit8\">Advanced<\/h3>\n<div class=\"level3\">\n<p>\u3053\u306e<strong>advanced<\/strong>\u30b5\u30f3\u30d7\u30eb\u306b\u306f\u3001CSV \u30d5\u30a1\u30a4\u30eb\u3068\u305d\u308c\u306b\u5bfe\u5fdc\u3059\u308b\u30d5\u30a3\u30eb\u30bf\u30fc \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002<strong>simple<\/strong>\u306e\u4f8b\u3068\u540c\u69d8\u306b\u3001CSV \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 \u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u4e00\u90e8\u306e\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306f\u3001\u8907\u6570\u306e\u30c6\u30b9\u30c8 \u30b9\u30c6\u30c3\u30d7\u884c\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306b\u8907\u6570\u306e\u884c\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3055\u3089\u306b\u3001CSV \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001<strong>Priority<\/strong> \u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001TestRail \u306e\u7d44\u307f\u8fbc\u307f\u512a\u5148\u9806\u4f4d\u5f62\u5f0f (\u6570\u5024) \u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30d5\u30a3\u30eb\u30bf\u30fc \u30eb\u30fc\u30c1\u30f3\u306f\u4e21\u65b9\u306e\u554f\u984c\u3092\u51e6\u7406\u3057\u3001CSV \u30d5\u30a1\u30a4\u30eb\u3092 TestRail \u306e XML \u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306b\u6b63\u3057\u304f\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<p>CSV \u30d5\u30a1\u30a4\u30eb\u3092\u5909\u63db\u3059\u308b\u306b\u306f\u3001 <strong>examples\\advanced<\/strong> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Code Sample&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ECF6FF&#8221; custom_padding=&#8221;4px|4px|2px|6px|false|false&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#C7DBEF&#8221;]<\/p>\n<pre class=\"code\">&gt; php ..\/..\/csv2testrail.php custom_filter.php testdata.csv suite.xml<\/pre>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Standard Text&#8221; _builder_version=&#8221;4.4.2&#8243; width=&#8221;100%&#8221;]<\/p>\n<h3 id=\"steps\" class=\"sectionedit9\">Steps<\/h3>\n<div class=\"level3\">\n<p>\u3053\u306e\u4f8b\u306f\u3001\u4e0a\u8a18\u306esimple\u306e\u4f8b\u3068\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e\u30b9\u30c6\u30c3\u30d7\u306b <strong>steps<\/strong> \u30ab\u30b9\u30bf\u30e0 \u30d5\u30a3\u30fc\u30eb\u30c9 \u30bf\u30a4\u30d7\u3092\u4f7f\u7528\u3059\u308b\u70b9\u304c\u7570\u306a\u308a\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u306e CSV \u30d5\u30a1\u30a4\u30eb\u3092 TestRail \u306e XML \u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u306b\u306f\u3001 <strong>examples\\simple<\/strong> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;Code Sample&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ECF6FF&#8221; custom_padding=&#8221;4px|4px|2px|6px|false|false&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#C7DBEF&#8221;]<\/p>\n<pre class=\"code\">&gt; php ..\/..\/csv2testrail.php custom_filter.php testdata.csv suite.xml<\/pre>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.4.2&#8243; custom_padding=&#8221;||5px|||&#038;#8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6643,"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-6653","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/pages\/6653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/comments?post=6653"}],"version-history":[{"count":29,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/pages\/6653\/revisions"}],"predecessor-version":[{"id":13378,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/pages\/6653\/revisions\/13378"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/pages\/6643"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/702\/wp-json\/wp\/v2\/media?parent=6653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}