{"id":16553,"date":"2022-12-26T04:46:09","date_gmt":"2022-12-26T04:46:09","guid":{"rendered":"https:\/\/44.225.35.201\/testrail\/docs\/801\/user-guide\/administration-and-customizations\/ui-scripts\/ui-scripts-introduction\/"},"modified":"2025-11-03T15:41:49","modified_gmt":"2025-11-03T06:41:49","slug":"introduction","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/user-guide\/administration-and-customizations\/ui-scripts\/introduction\/","title":{"rendered":"UI \u30b9\u30af\u30ea\u30d7\u30c8\uff1a\u306f\u3058\u3081\u306b"},"content":{"rendered":"<p>TestRail \u3067\u306f\u3001\u300cUI \u30b9\u30af\u30ea\u30d7\u30c8\u300d\u306b\u3088\u3063\u3066\u30e6\u30fc\u30b6\u30fc \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002UI \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u975e\u5e38\u306b\u67d4\u8edf\u306a\u7ba1\u7406\u8005\u5411\u3051\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001\u6a19\u6e96\u7684\u306a JavaScript \u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3001\u7c21\u5358\u306a\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001TestRail \u306e\u8a2d\u8a08\u3068\u52d5\u4f5c\u306e\u4e00\u90e8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>UI \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u5358\u4e00\u30da\u30fc\u30b8\u3001\u8907\u6570\u30da\u30fc\u30b8\u3001\u3042\u308b\u3044\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u306b\u3082\u9069\u7528\u3067\u304d\u307e\u3059\u3002TestRail \u3067\u76f4\u63a5\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9a\u7fa9\u3057\u3066\u30c6\u30b9\u30c8\u3067\u304d\u308b\u305f\u3081\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u306e\u306b\u7279\u5225\u306a\u958b\u767a\u74b0\u5883\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001\u57fa\u672c\u7684\u306a HTML\u3001CSS\u3001\u304a\u3088\u3073 JavaScript \u306e\u77e5\u8b58\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u521d\u5fc3\u8005\u304c\u7c21\u5358\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u306a\u304c\u3089\u77e5\u8b58\u3092\u5b66\u3076\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<div class=\"callout callout--warning\">\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u9069\u7528\u3055\u308c\u308b\u30da\u30fc\u30b8\u3067\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u306b UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b8c\u5168\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002TestRail \u30e6\u30fc\u30b6\u30fc\u304c\u60c5\u5831\u3092\u53c2\u7167\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u30c8\u30fc\u30af\u30f3\u3084\u8a8d\u8a3c\u60c5\u5831\u3092\u542b\u3081\u308b\u969b\u306f\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<div class=\"callout callout--warning\">\n<p>TestRail \u306e DOM \u307e\u305f\u306f HTML \u69cb\u9020\u306f API \u306e\u4e00\u90e8\u3068\u307f\u306a\u3055\u308c\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001TestRail \u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306e\u5909\u66f4\u306b\u3088\u3063\u3066\u3001\u65e2\u5b58\u306e UI \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u4fdd\u3061\u3001\u5805\u7262\u6027\u306e\u9ad8\u3044\u65b9\u6cd5\u3067\u8a18\u8ff0\u3059\u308b\u307b\u3046\u304c\u3001TestRail \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c UI \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u5c11\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u8907\u96d1\u3067\u91cd\u8981\u306a UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u4e88\u5b9a\u304c\u3042\u308b\u5834\u5408\u3001\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u691c\u8a3c\u3067\u304d\u308b\u3088\u3046\u3001TestRail \u306e\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\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<p><span>\u6ce8\u610f\u2460\uff1a\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u9069\u7528\u3055\u308c\u308b\u30da\u30fc\u30b8\u3067\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u30fc\u306b UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b8c\u5168\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002TestRail \u30e6\u30fc\u30b6\u30fc\u304c\u60c5\u5831\u3092\u53c2\u7167\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u30c8\u30fc\u30af\u30f3\u3084\u8a8d\u8a3c\u60c5\u5831\u3092\u542b\u3081\u308b\u969b\u306f\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><br \/>\n<span>\u6ce8\u610f\u2461\uff1aTestRail \u306e DOM \u307e\u305f\u306f HTML \u69cb\u9020\u306f API \u306e\u4e00\u90e8\u3068\u307f\u306a\u3055\u308c\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001TestRail \u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306e\u5909\u66f4\u306b\u3088\u3063\u3066\u3001\u65e2\u5b58\u306e UI \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u4fdd\u3061\u3001\u5805\u7262\u6027\u306e\u9ad8\u3044\u65b9\u6cd5\u3067\u8a18\u8ff0\u3059\u308b\u307b\u3046\u304c\u3001TestRail \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c UI \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u5c11\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u8907\u96d1\u3067\u91cd\u8981\u306a UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u4e88\u5b9a\u304c\u3042\u308b\u5834\u5408\u3001\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u691c\u8a3c\u3067\u304d\u308b\u3088\u3046\u3001TestRail \u306e\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/span><br \/>\n<span>\u6ce8\u610f\u2462\uff1aUI\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3064\u3044\u3066\u306f\u3001\u4f5c\u6210\u3055\u308c\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u95a2\u3059\u308b\u30a8\u30e9\u30fc\u306e\u8abf\u67fb\u3084\u89e3\u6c7a\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/span><\/p>\n<p>[\/et_pb_text]<\/p>\n<\/div>\n<h2>UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4f5c\u6210<\/h2>\n<div class=\"callout callout--info\">\n<p>\u30d1\u30d6\u30ea\u30c3\u30af\u306a <strong><a href=\"https:\/\/github.com\/gurock\/testrail-custom\/tree\/master\/user-submitted\/ui-scripts\" target=\"_blank\" rel=\"noopener noreferrer\">TestRail \u30ab\u30b9\u30bf\u30de\u30a4\u30ba GitHub \u30ea\u30dd\u30b8\u30c8\u30ea<\/a><\/strong>\u306b UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u307e\u307e\u3067\u3001\u3042\u308b\u3044\u306f\u7c21\u5358\u306a\u5909\u66f4\u3060\u3051\u3067\u304a\u5ba2\u69d8\u306e\u30cb\u30fc\u30ba\u306b\u5408\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u898b\u3064\u304b\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<\/div>\n<p>UI \u30b9\u30af\u30ea\u30d7\u30c8\u306f TestRail \u306e<strong>[\u7ba1\u7406 ]&gt; [\u30ab\u30b9\u30bf\u30de\u30a4\u30ba]<\/strong>\u3067\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u521d\u3081\u3066 UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f\u3001[<strong>UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u8ffd\u52a0<\/strong>] \u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u57fa\u672c\u7684\u306a\u4f8b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/UI-script-intro-ss1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/UI-script-intro-ss1.png\" alt=\"\" width=\"961\" height=\"783\" class=\"aligncenter wp-image-28348 size-full\" srcset=\"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/UI-script-intro-ss1.png 961w, https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-content\/uploads\/UI-script-intro-ss1-480x391.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 961px, 100vw\" \/><\/a><\/p>\n<p>\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u69cb\u6210\u3059\u308b 3 \u3064\u306e\u90e8\u5206\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002\u307e\u305f\u3001<strong><a href=\"\/ui-scripts\/examples\" target=\"_blank\" rel=\"noopener\">UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b5\u30f3\u30d7\u30eb<\/a><\/strong>\u3092\u53c2\u7167\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u30e1\u30bf\u60c5\u5831<\/h3>\n<p>UI \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u5358\u7d14\u306a\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30c3\u30af\u3067\u3042\u308b\u306e\u3067\u3001\u540d\u524d\u3001\u4f5c\u6210\u8005\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u3069\u306e\u3059\u3079\u3066\u306e\u30e1\u30bf\u60c5\u5831\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4e00\u90e8\u3068\u3057\u3066\u76f4\u63a5\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3059\u308b\u3060\u3051\u3067\u3001\u8907\u6570\u306e TestRail \u306e\u9593\u3067 UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7c21\u5358\u306b\u5171\u6709\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5148\u982d\u306e\u30d6\u30ed\u30c3\u30af\u306b\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6a5f\u80fd\u3084\u30b9\u30b3\u30fc\u30d7 (\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9069\u7528\u5148\u30da\u30fc\u30b8) \u3092\u8aac\u660e\u3059\u308b\u30e1\u30bf\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">name: Hello world\ndescription: Shows a 'Hello, world!' message on the dashboard\nauthor: Gurock Software\nversion: 1.0\nincludes: ^dashboard\nexcludes:<\/pre>\n<p><strong>name<\/strong>\u5c5e\u6027\u306f\u3001TestRail \u306e UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30ea\u30b9\u30c8\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u8868\u793a\u540d\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u307e\u3059\u304c\u3001<strong>description<\/strong>\u3001<strong>author<\/strong>\u3001\u304a\u3088\u3073 <strong>version<\/strong> \u306f\u3001\u958b\u767a\u8005\u5411\u3051\u306e\u60c5\u5831\u63d0\u4f9b\u306e\u307f\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>includes<\/strong> \u5c5e\u6027\u3068 <strong>excludes<\/strong> \u5c5e\u6027\u306f\u3001TestRail \u3067 UI \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u9069\u7528\u3055\u308c\u308b\u30da\u30fc\u30b8\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u3053\u308c\u3089\u306e\u5c5e\u6027\u3092\u4f7f\u7528\u3057\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306e\u7bc4\u56f2\u3092\u5236\u9650\u3057\u3001\u7279\u5b9a\u306e\u30da\u30fc\u30b8\u306b\u5bfe\u3057\u3066\u306e\u307f UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u7279\u5b9a\u306e\u30da\u30fc\u30b8\u3060\u3051\u306b\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u4e0a\u306e\u7406\u7531\u304b\u3089\u3001<strong>includes<\/strong> \u304a\u3088\u3073 <strong>excludes<\/strong> \u5c5e\u6027\u3092\u4f7f\u7528\u3057\u3066\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u7bc4\u56f2\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4e0a\u8a18\u306e\u4f8b\u306e <strong>includes<\/strong> \u5c5e\u6027\u306f\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u3060\u3051 UI \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u9069\u7528\u3057\u307e\u3059\u3002<strong>includes<\/strong> \u304a\u3088\u3073 <strong>exclude<\/strong> \u5c5e\u6027\u306f\u6b63\u898f\u8868\u73fe\u3068\u3057\u3066\u89e3\u91c8\u3055\u308c\u3001TestRail \u306e pages \u5f15\u6570 (URL \u306e <strong>index.php?<\/strong> \u306e\u5f8c\u306e\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u5217) \u3068\u7167\u5408\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u9069\u7528\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u3044\u304f\u3064\u304b\u306e\u898f\u5247\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul class=\"list-bullet\">\n<li>exclude \u5c5e\u6027\u306f\u5e38\u306b includes \u5c5e\u6027\u3088\u308a\u3082\u512a\u5148\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>includes \u5c5e\u6027\u3068 exclude \u5c5e\u6027\u306e\u4e21\u65b9\u306b\u7a7a\u306e\u6587\u5b57\u5217\u3092\u6307\u5b9a (\u307e\u305f\u306f\u4e21\u65b9\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u7701\u7565) \u3059\u308b\u3068\u3001\u3059\u3079\u3066\u306e\u30da\u30fc\u30b8\u306b UI \u30b9\u30af\u30ea\u30d7\u30c8\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u898f\u5247\u306b\u306f 1 \u3064\u4f8b\u5916\u304c\u3042\u308a\u307e\u3059\u3002\u5fc5\u8981\u306a\u3068\u304d\u306b\u58ca\u308c\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7121\u52b9\u306b\u3067\u304d\u308b\u3088\u3046\u306b\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8 \u30d5\u30a9\u30fc\u30e0\u81ea\u4f53\u306b UI \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<h3>\u30b9\u30bf\u30a4\u30eb \u30b7\u30fc\u30c8<\/h3>\n<p><strong>css<\/strong> \u5c5e\u6027\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30b9\u30bf\u30a4\u30eb \u30b7\u30fc\u30c8\u3092\u5b9a\u7fa9 (\u307e\u305f\u306f\u4e0a\u66f8\u304d) \u3067\u304d\u307e\u3059\u3002TestRail \u306e\u30d3\u30eb\u30c8\u30a4\u30f3 \u30b9\u30bf\u30a4\u30eb \u30b7\u30fc\u30c8\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u306f\u3001TestRail \u306e\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u8981\u7d20\u306e\u8272\u3092\u5909\u66f4\u3057\u305f\u308a\u3001TestRail \u306e UI \u306e\u4e00\u90e8\u306e\u30c7\u30b6\u30a4\u30f3\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u5fc5\u8981\u3067\u3042\u308c\u3070 TestRail \u306e\u6a5f\u80fd\u306e\u4e00\u90e8\u3092\u5b8c\u5168\u306b\u96a0\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002UI \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u6b21\u306e\u3088\u3046\u306b css \u5c5e\u6027\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"css\">css:\ndiv.some-class {\n  color: red;\n}<\/pre>\n<p>TestRail \u306f\u30b9\u30b3\u30fc\u30d7\u306e\u5b9a\u7fa9\u306b\u5f93\u3063\u3066\u30b9\u30bf\u30a4\u30eb \u30b7\u30fc\u30c8\u3092\u30da\u30fc\u30b8\u306b\u76f4\u63a5\u9069\u7528\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001CSS \u6a5f\u80fd\u306e\u30d5\u30eb\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u3066 TestRail \u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>JavaScript<\/h3>\n<p>\u3088\u308a\u8907\u96d1\u306a\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306e\u5834\u5408\u306f\u3001\u901a\u5e38\u3001\u30b9\u30bf\u30a4\u30eb \u30b7\u30fc\u30c8\u306b\u52a0\u3048\u3066\u3001\u307e\u305f\u306f\u30b9\u30bf\u30a4\u30eb \u30b7\u30fc\u30c8\u306e\u4ee3\u308f\u308a\u306b JavaScript \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002UI \u30b9\u30af\u30ea\u30d7\u30c8\u3067 JavaScript \u30b3\u30fc\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b <strong>js<\/strong> \u5c5e\u6027\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><span>js:<\/span><span> $(document).ready(<\/span><span> <\/span><span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span>(<span class=\"hljs-params\"><\/span>) <\/span><span>{<\/span><span> alert(<\/span><span class=\"hljs-string\">&#8216;Hello, world!&#8217;<\/span><span>);<\/span><span> }<\/span><span> );<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">js:\n$(document).ready(\n  function() {\n    alert('Hello, world!');\n  }\n);<\/pre>\n<p>TestRail \u306b\u306f\u3001\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b JavaScript \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3067\u3042\u308b jQuery \u304c\u4ed8\u5c5e\u3057\u3066\u304a\u308a\u3001 \u5168\u6a5f\u80fd\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4e0a\u306e\u4f8b\u306e\u3088\u3046\u306b\u3001\u73fe\u5728\u306e\u30da\u30fc\u30b8\u304c\u5b8c\u5168\u306b\u30ed\u30fc\u30c9\u3055\u308c\u308b\u307e\u3067\u5f85\u6a5f\u3059\u308b\u306b\u306f\u3001jQuery \u306e <code class=\"inline-code\">$(document).ready()<\/code> \u30a4\u30d9\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u306e\u304c\u304a\u52e7\u3081\u3067\u3059\u3002<\/p>\n<h2>\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u60c5\u5831<\/h2>\n<p>TestRail \u306f\u3001\u73fe\u5728\u306e\u30e6\u30fc\u30b6\u30fc\u307e\u305f\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306a\u3069\u3001JavaScript \u30b3\u30fc\u30c9\u304b\u3089\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u8ffd\u52a0\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u60c5\u5831\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u60c5\u5831\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u3092\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc \u30ed\u30fc\u30eb\u307e\u305f\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u9650\u5b9a\u3057\u305f\u308a\u3001\u5916\u90e8\u30c4\u30fc\u30eb\u3068\u306e\u7d71\u5408\u306b\u3053\u306e\u30c7\u30fc\u30bf\u3092\u6d3b\u7528\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5c5e\u6027\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>uiscripts.context.user<\/strong><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>id<\/li>\n<li>name<\/li>\n<li>email<\/li>\n<li>is_admin<\/li>\n<li>role_id<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>uiscripts.context.project<\/strong><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>id<\/li>\n<li>name<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u60c5\u5831\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">js:\n  alert('Welcome ' + uiscripts.context.user.name);<\/pre>\n<p>TestRail 3.0 \u4ee5\u964d\u3067\u306f\u3001<strong>uiscripts.context<\/strong> \u306b\u73fe\u5728\u306e\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306b\u95a2\u3059\u308b\u8ffd\u52a0\u306e\u8a73\u7d30\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u60c5\u5831\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>uiscripts.context.case<\/li>\n<li>uiscripts.context.milestone<\/li>\n<li>uiscripts.context.plan<\/li>\n<li>uiscripts.context.run<\/li>\n<li>uiscripts.context.suite<\/li>\n<li>uiscripts.context.test<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>TestRail 3.0 \u306e\u3082\u3046 1 \u3064\u306e\u65b0\u6a5f\u80fd\u306f\u3001<strong>uiscripts.env<\/strong> \u3067\u3059\u3002uiscripts.env \u306f\u3001TestRail \u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u74b0\u5883\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<strong>uiscripts.env<\/strong> \u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 27.7143%;\">Name<\/th>\n<th style=\"width: 72.2857%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 27.7143%;\">is_hosted<\/td>\n<td style=\"width: 72.2857%;\">TestRail Cloud \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f true\u3001\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f false<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 27.7143%;\">page_base<\/td>\n<td style=\"width: 72.2857%;\">TestRail\u306eindex.php \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u30d9\u30fc\u30b9\u30a2\u30c9\u30ec\u30b9\u3002(\u4f8b\u3048\u3070 &#8220;index.php?&#8221;)\u3053\u308c\u306b\u3088\u308a\u3001TestRail \u306e\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\u3092\u52d5\u7684\u306b\u751f\u6210\u3067\u304d\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 27.7143%;\">resource_base<\/td>\n<td style=\"width: 72.2857%;\">TestRail \u306e\u9759\u7684\u30ea\u30bd\u30fc\u30b9 (\u753b\u50cf\u3001JS\u30d5\u30a1\u30a4\u30eb\u306a\u3069) \u3092\u53c2\u7167\u3059\u308b\u305f\u3081\u306e\u30d9\u30fc\u30b9 \u30a2\u30c9\u30ec\u30b9\u3002\u4f8b\uff1a &#8220;https:\/\/static.testrail.com\/&lt;version&gt;\/&#8221;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u8003\u616e\u4e8b\u9805<\/h2>\n<p>UI \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u5f37\u529b\u3067\u67d4\u8edf\u6027\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u3082\u305f\u3089\u3059\u5f71\u97ff\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u6c4e\u7528\u7684\u306a JavaScript \u30bb\u30ec\u30af\u30bf\u30fc\u3092\u4f7f\u7528\u3059\u308b (\u4f8b\u3048\u3070\u3001\u30da\u30fc\u30b8\u4e0a\u306e\u3059\u3079\u3066\u306e div \u306b\u30b3\u30fc\u30c9\u3092\u9069\u7528\u3059\u308b) \u3068\u3001JavaScript \u306e\u5b9f\u884c\u304c\u5927\u5e45\u306b\u9045\u304f\u306a\u308a\u3001\u30da\u30fc\u30b8\u306e\u30ed\u30fc\u30c9\u6642\u9593\u304c\u9577\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e00\u822c\u7684\u306a\u7d4c\u9a13\u5247\u3068\u3057\u3066\u3001UI \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u306f\u5b9f\u969b\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u3044\u30da\u30fc\u30b8\u306b\u9650\u5b9a\u3057\u3001JavaScript \u30b3\u30fc\u30c9\u306e\u30bb\u30ec\u30af\u30bf\u30fc\u3092\u3067\u304d\u308b\u3060\u3051\u9650\u5b9a\u7684\u306b\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u822c\u7684\u306a JavaScript \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u95a2\u3057\u3066\u306f\u3053\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u53d6\u308a\u6271\u3044\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TestRail \u3067\u306f\u3001\u300cUI \u30b9\u30af\u30ea\u30d7\u30c8\u300d\u306b\u3088\u3063\u3066\u30e6\u30fc\u30b6\u30fc \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002UI \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u975e\u5e38\u306b\u67d4\u8edf\u306a\u7ba1\u7406\u8005\u5411\u3051\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001\u6a19\u6e96\u7684\u306a JavaScript \u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3001\u7c21\u5358\u306a [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":14738,"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-16553","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/16553","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=16553"}],"version-history":[{"count":17,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/16553\/revisions"}],"predecessor-version":[{"id":30802,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/16553\/revisions\/30802"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/14738"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=16553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}