<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>テスト自動化ツール 『Ranorex』</title>
	<atom:link href="https://ranorex.techmatrix.jp/feed/" rel="self" type="application/rss+xml" />
	<link>https://ranorex.techmatrix.jp</link>
	<description>Windowsデスクトップ・Web・モバイルアプリ対応</description>
	<lastBuildDate>Tue, 17 Nov 2026 04:10:54 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://ranorex.techmatrix.jp/wp-content/uploads/cropped-RNX-new_favicon-32x32.png</url>
	<title>テスト自動化ツール 『Ranorex』</title>
	<link>https://ranorex.techmatrix.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Runtimeライセンスの利用方法</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/11/17/ranorex_runtime_license/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Tue, 17 Nov 2026 04:10:51 +0000</pubDate>
				<category><![CDATA[Ranorex機能]]></category>
		<category><![CDATA[ノウハウ]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32809</guid>

					<description><![CDATA[<p>Ranorexには、StudioライセンスとRuntimeライセンスがあります。Runtimeライセンスは、Ranorex Studioで作成した自動テストを実行するためのライセンスです。 本記事では、Ranorexのラ [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/11/17/ranorex_runtime_license/">Runtimeライセンスの利用方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img fetchpriority="high" decoding="async" width="885" height="395" src="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-Runtimeアイキャッチ.jpg" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-Runtimeアイキャッチ.jpg 885w, https://ranorex.techmatrix.jp/wp-content/uploads/iStock-Runtimeアイキャッチ-300x134.jpg 300w, https://ranorex.techmatrix.jp/wp-content/uploads/iStock-Runtimeアイキャッチ-768x343.jpg 768w" sizes="(max-width: 885px) 100vw, 885px" /></div>
<p class="wp-block-paragraph">Ranorexには、StudioライセンスとRuntimeライセンスがあります。Runtimeライセンスは、Ranorex Studioで作成した自動テストを実行するためのライセンスです。</p>



<p class="wp-block-paragraph">本記事では、Ranorexのライセンス概要や、Runtimeライセンスを利用するための準備やテストの実行方法について説明します。Runtimeライセンスを利用したテスト方法を確認したい方や、Runtimeライセンスの利用を検討している方は、ぜひご参照ください。</p>



<h3 class="wp-block-heading"><strong>目次</strong></h3>



<figure class="wp-block-table is-style-regular"><table class="has-fixed-layout"><tbody><tr><td class="has-text-align-center" data-align="center"></td><td class="has-text-align-center" data-align="center"><strong>年間ライセンスをお使いの方</strong></td><td class="has-text-align-center" data-align="center"><strong>買取ライセンスをお使いの方</strong></td></tr><tr><td class="has-text-align-center" data-align="center"><strong><a href="#difference">Ranorexのライセンスについて</a></strong></td><td class="has-text-align-center" data-align="center">対象</td><td class="has-text-align-center" data-align="center">対象</td></tr><tr><td class="has-text-align-center" data-align="center"><strong><a href="#authentication-method">Runtimeライセンスの認証方法</a></strong></td><td class="has-text-align-center" data-align="center">1. 年間ライセンスの場合</td><td class="has-text-align-center" data-align="center">2. 買取ライセンスの場合</td></tr><tr><td class="has-text-align-center" data-align="center"><strong><a href="#test-preparation" title="">テスト実行環境・テスト実行用ファイルの準備</a></strong></td><td class="has-text-align-center" data-align="center">対象<br><em>※ライセンスファイル（.lic）については、</em><br>「<em>年間ライセンスをご利用の場合」もご確認ください</em></td><td class="has-text-align-center" data-align="center">対象</td></tr><tr><td class="has-text-align-center" data-align="center"><strong><a href="#execution-method" title="">Runtimeライセンスのテスト実行方法</a></strong></td><td class="has-text-align-center" data-align="center">対象</td><td class="has-text-align-center" data-align="center">対象</td></tr><tr><td class="has-text-align-center" data-align="center"><strong><a href="#error">エラーへの対応方法</a></strong></td><td class="has-text-align-center" data-align="center">対象</td><td class="has-text-align-center" data-align="center">対象</td></tr><tr><td class="has-text-align-center" data-align="center"><strong><a href="#inquiry" title="">お問い合わせ</a></strong></td><td class="has-text-align-center" data-align="center">対象</td><td class="has-text-align-center" data-align="center">対象</td></tr></tbody></table></figure>



<h3 id="difference" class="wp-block-heading"><strong>Ranorexのライセンスについて</strong></h3>



<h4 class="wp-block-heading"><strong>1. </strong><strong>StudioライセンスとRuntimeライセンスの違い</strong></h4>



<p class="wp-block-paragraph">Studioライセンスは、テスト作成・実行を含むすべての機能を利用できるライセンスです。Runtimeライセンスは、テスト実行のみ利用できるライセンスのため、Ranorex Studioを使用したテスト作成・編集・実行はできません。</p>



<figure class="wp-block-table is-style-regular"><table class="has-fixed-layout"><tbody><tr><td class="has-text-align-center" data-align="center"></td><td class="has-text-align-center" data-align="center"><strong>Studioライセンス</strong></td><td class="has-text-align-center" data-align="center"><strong>Runtimeライセンス</strong></td></tr><tr><td class="has-text-align-center" data-align="center"><strong>テスト作成</strong></td><td class="has-text-align-center" data-align="center">○</td><td class="has-text-align-center" data-align="center">×</td></tr><tr><td class="has-text-align-center" data-align="center"><strong>テスト実行</strong></td><td class="has-text-align-center" data-align="center">○</td><td class="has-text-align-center" data-align="center">○</td></tr><tr><td class="has-text-align-center" data-align="center"><strong>別マシンによるテスト実行</strong></td><td class="has-text-align-center" data-align="center">○</td><td class="has-text-align-center" data-align="center">○</td></tr><tr><td class="has-text-align-center" data-align="center"><strong>ライセンスの共有</strong></td><td class="has-text-align-center" data-align="center">○</td><td class="has-text-align-center" data-align="center">○</td></tr><tr><td class="has-text-align-center" data-align="center"><strong>仮想環境・ターミナルサーバー環境での利用</strong></td><td class="has-text-align-center" data-align="center">○</td><td class="has-text-align-center" data-align="center">○</td></tr><tr><td class="has-text-align-center" data-align="center"><strong>テストケース数、実行回数</strong></td><td class="has-text-align-center" data-align="center">無制限</td><td class="has-text-align-center" data-align="center">無制限</td></tr></tbody></table></figure>



<h4 class="wp-block-heading"><strong>2. 年間ライセンスと買取ライセンスの違い</strong></h4>



<p class="wp-block-paragraph">Ranorexのライセンスには、年間ライセンスと買取ライセンスの２種類があり、ライセンス形態が異なります。各ライセンスの認証方法については、「<strong><strong><a href="#authentication-method">Runtimeライセンスの認証方法</a></strong></strong>」をご参照ください。</p>



<figure class="wp-block-table is-style-regular"><table class="has-fixed-layout"><tbody><tr><td class="has-text-align-center" data-align="center"></td><td class="has-text-align-center" data-align="center"><strong>年間ライセンス</strong></td><td class="has-text-align-center" data-align="center"><strong>買取ライセンス</strong><br>※現在新規販売は終了しています</td></tr><tr><td class="has-text-align-center" data-align="center"><strong>ライセンス形態</strong></td><td class="has-text-align-center" data-align="center">年間ライセンス</td><td class="has-text-align-center" data-align="center">買取ライセンス</td></tr><tr><td class="has-text-align-center" data-align="center"><strong><strong>ライセンス名称</strong></strong></td><td class="has-text-align-center" data-align="center">Ranorex Studio/Runtime Enterprise ライセンス</td><td class="has-text-align-center" data-align="center">Ranorex Studio/Runtime <br>フローティングライセンス</td></tr></tbody></table></figure>



<h3 id="authentication-method" class="wp-block-heading"><strong>Runtimeライセンスの認証方法</strong></h3>



<p class="wp-block-paragraph">Runtimeライセンスの認証方法は、年間ライセンスと買取ライセンスで異なります。ご利用のライセンスに合わせて、以下をご確認ください。<br>設定手順の詳細は、「<a href="https://www.techmatrix.co.jp/secure/quality/ranorex/support/download/latest.html"><strong>ユーザーサポートページ</strong>」</a>からダウンロード可能な「インストール＆セットアップ資料」に記載されています。サポートページをご利用いただけない方（ご検討中の方など）は担当営業までご連絡ください。</p>



<h4 class="wp-block-heading"><strong>1. 年間ライセンスの場合</strong></h4>



<p class="wp-block-paragraph">テスト実行環境のライセンス設定ツールにRuntimeライセンスキーを登録し、ライセンス認証をおこないます。<br><em>※設定手順の詳細は、「年間ライセンス インストール＆セットアップ資料」P.14（オンライン認証ライセンス）またはP.27（セルフホスト認証ライセンス）をご確認ください。</em></p>



<h4 class="wp-block-heading"><strong>2. 買取ライセンスの場合</strong></h4>



<p class="wp-block-paragraph">ライセンスマネージャーにRuntimeライセンスキーを登録し、テスト実行環境のライセンス設定ツールでライセンスサーバーへの接続設定をおこないます。<br><em>※設定手順の詳細は、「買取ライセンス <em>インストール＆セットアップ資料</em>」P.12をご確認ください。</em></p>



<h3 id="test-preparation" class="wp-block-heading"><strong>テスト実行環境・テスト実行用ファイルの準備</strong></h3>



<p class="wp-block-paragraph">テスト実行環境・テスト実行用ファイルの準備は、年間ライセンスと買取ライセンスで共通です。<br><em>※年間ライセンスをご利用の場合、ライセンスファイル（.lic）の注意事項をご確認ください。</em></p>



<h4 class="wp-block-heading"><strong>1. テスト実行環境の準備</strong></h4>



<p class="wp-block-paragraph">テスト実行には、以下のソフトウェアが必要です。テスト実行環境にインストールされていることをご確認ください。</p>



<ul class="wp-block-list">
<li>Microsoft Visual C++ Redistributable 2015–2022 x86</li>



<li>Microsoft Visual C++ Redistributable 2015–2022 x64</li>



<li>Microsoft .NET Framework 4.8</li>
</ul>



<h4 class="wp-block-heading"><strong>2. テスト実行用ファイルの準備</strong></h4>



<p class="wp-block-paragraph">Ranorex Studioがインストールされていないテスト実行環境（Runtime環境）でRuntimeライセンスを使用してテストを実行する場合、Ranorex Studioでビルドして生成されたテスト実行に必要なテスト実行用ファイル一式を、テスト実行環境に配置する必要があります。</p>



<p class="has-text-align-center wp-block-paragraph"><em>※利用イメージ</em></p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img decoding="async" width="1024" height="230" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-190-1024x230.png" alt="" class="wp-image-32814" style="width:730px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-190-1024x230.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-190-300x67.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-190-768x172.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-190.png 1314w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<div style="height:27px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">テスト実行用ファイル一式は、それぞれ以下の手順で作成します。</p>



<ul class="wp-block-list">
<li>実行ファイル（.exe）</li>
</ul>



<p class="wp-block-paragraph">Ranorex Studioでテスト実行やソリューション・プロジェクトをビルドした際に、デフォルトで、以下の出力フォルダーへビルド成果物が生成されます。ビルド成果物の中に実行ファイル（.exe）が含まれます。<br><strong>C:\Users\ユーザー名\Documents\Ranorex\RanorexStudio Projects\ソリューション名\プロジェクト名\bin\Debug</strong></p>



<ul class="wp-block-list">
<li>ランタイムライブラリ（.dllなど）</li>
</ul>



<p class="wp-block-paragraph">Ranorex Studioの設定画面で、「ライブラリを出力フォルダーにコピーする」のオプションを有効にします。設定後、Ranorex Studioでテスト実行やソリューション・プロジェクトをビルドした際に、出力フォルダーへランタイムライブラリが生成されます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" width="952" height="979" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-197.png" alt="" class="wp-image-32830" style="width:392px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-197.png 952w, https://ranorex.techmatrix.jp/wp-content/uploads/image-197-292x300.png 292w, https://ranorex.techmatrix.jp/wp-content/uploads/image-197-768x790.png 768w" sizes="(max-width: 952px) 100vw, 952px" /></figure>
</div>


<ul class="wp-block-list">
<li>ライセンスファイル（.lic）</li>
</ul>



<p class="wp-block-paragraph">ライセンスファイルはテスト実行時に使用するライセンスキー情報が含まれるファイルです。テスト実行時に使用するライセンスを指定できます。</p>



<p class="wp-block-paragraph">Ranorex Studioの設定画面で、「ライセンス設定情報を格納」をクリックします。設定後、Ranorex Studioでテスト実行やソリューション・プロジェクトをビルドした際に、出力フォルダーへライセンスファイルが生成されます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="746" height="773" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-198.png" alt="" class="wp-image-32831" style="width:402px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-198.png 746w, https://ranorex.techmatrix.jp/wp-content/uploads/image-198-290x300.png 290w" sizes="(max-width: 746px) 100vw, 746px" /></figure>
</div>


<div style="height:27px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph"><em><strong>※年間ライセンスをご利用の場合</strong></em><br>Ranorex Studioの設定画面からライセンスファイルを作成する場合は、Studioライセンス情報が含まれるため、テスト実行環境でRuntimeライセンスを利用する際はRuntimeライセンスに書き換える必要があります。以下のライセンスファイルを開き、&lt;<strong>studio-license-key</strong>>をRuntimeライセンスキーに変更します。ライセンス情報をRuntimeライセンスに書き換えずにテスト実行した場合、Studioライセンスが使用されます。<br><strong>C:\Users\ユーザー名\Documents\Ranorex\RanorexStudio Projects\ソリューション名\プロジェクト名\bin\Debug\RanorexLicenseManager.lic</strong></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="383" height="73" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-215.png" alt="" class="wp-image-33250" style="width:257px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-215.png 383w, https://ranorex.techmatrix.jp/wp-content/uploads/image-215-300x57.png 300w" sizes="(max-width: 383px) 100vw, 383px" /></figure>
</div>


<ul class="wp-block-list">
<li>外部ファイル</li>
</ul>



<p class="wp-block-paragraph">テスト実行用ファイルに外部ファイル（例：テスト対象アプリケーションや必要なライブラリ、データ駆動型テストのためのデータソースなど）を含める場合は、以下の手順で設定をおこないます。</p>



<p class="wp-block-paragraph">【設定手順】</p>



<p class="wp-block-paragraph">(1) 対象の外部ファイルを、以下のプロジェクトフォルダーに格納します。（例：テスト対象アプリケーション（RxDemoApp.exe））<br><em>C:\Users\ユーザー名\Documents\Ranorex\RanorexStudio Projects\ソリューション名\プロジェクト名</em></p>



<p class="wp-block-paragraph">(2) Ranorex Studioのプロジェクトビューで、「更新」ボタンと「すべてのファイルの表示」ボタンをクリックして、追加した外部ファイルを表示します。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="586" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-203-1024x586.png" alt="" class="wp-image-32859" style="width:601px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-203-1024x586.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-203-300x172.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-203-768x439.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-203.png 1142w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<div style="height:27px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">(3) 追加した外部ファイルを右クリックし、プロジェクトに追加を選択します。</p>



<p class="wp-block-paragraph">(4) 追加した外部ファイルを右クリックし、プロパティを選択します。</p>



<p class="wp-block-paragraph">(5) Copy to output directoryを、&#8221;Always&#8221;（テスト実行用ファイルを作成するたびに外部ファイルをコピー）または&#8221;PreserveNewest&#8221;（最後のビルド以降に外部ファイルが変更された場合のみコピー）に設定します。</p>



<h3 id="execution-method" class="wp-block-heading"><strong>Runtimeライセンスのテスト実行方法</strong></h3>



<p class="wp-block-paragraph">Runtimeライセンスを使用したテスト実行は、以下の4つの方法があります。年間ライセンスと買取ライセンスで共通です。</p>



<figure class="wp-block-table is-style-regular"><table class="has-fixed-layout"><tbody><tr><td class="has-text-align-center" data-align="center"></td><td class="has-text-align-center" data-align="center"><strong>Ranorex Studioの</strong><br><strong>インストール</strong></td><td class="has-text-align-center" data-align="center"><strong>テスト実行環境への<br>テスト実行用ファイルの配置</strong></td><td class="has-text-align-center" data-align="center"><strong>利用場面</strong></td></tr><tr><td class="has-text-align-center" data-align="center"><a href="#manual-execution"><strong>1. 実行ファイルの</strong><br><strong>手動実行</strong></a></td><td class="has-text-align-center" data-align="center">不要</td><td class="has-text-align-center" data-align="center">必要</td><td class="has-text-align-center" data-align="center">手動でテスト実行したい場合</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="#command-line-execution"><strong>2. 実行ファイルの</strong><br><strong>コマンドライン実行</strong></a></td><td class="has-text-align-center" data-align="center">不要</td><td class="has-text-align-center" data-align="center">必要</td><td class="has-text-align-center" data-align="center">定期実行やCIツールとの連携でテスト実行したい場合</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="#ranorex-agent"><strong>3. Ranorex Agentを</strong><br><strong>使用した実行</strong></a></td><td class="has-text-align-center" data-align="center">不要</td><td class="has-text-align-center" data-align="center">不要（自動コピー）</td><td class="has-text-align-center" data-align="center">テスト作成マシンとは別のリモートマシンなどでテスト実行したい場合</td></tr><tr><td class="has-text-align-center" data-align="center"><a href="#test-suite-runner"><strong><strong>4. Test Suite Runnerを</strong></strong><br><strong><strong>使用した実行</strong></strong></a></td><td class="has-text-align-center" data-align="center">必要</td><td class="has-text-align-center" data-align="center">必要</td><td class="has-text-align-center" data-align="center">Ranorex Studioを起動せずに、GUI上でテストスイートを選択してテスト実行したい場合</td></tr></tbody></table></figure>



<h4 id="manual-execution" class="wp-block-heading"><strong>1. 実行ファイルの手動実行</strong></h4>



<p class="wp-block-paragraph">テスト実行環境に配置した実行ファイル（.exe）をダブルクリックしてテストを実行する方法です。</p>



<p class="wp-block-paragraph">【実行手順】</p>



<p class="wp-block-paragraph">(1) テスト作成環境の以下の出力フォルダーにある各ファイルを、1つのファイルにまとめて圧縮します。<br><strong>C:\Users\ユーザー名\Documents\Ranorex\RanorexStudio Projects\<strong>ソリューション名\プロジェクト名</strong>\bin\Debug</strong></p>



<p class="wp-block-paragraph">(2) 手順(1)で作成したテスト実行用ファイル（例：.zipファイル）を、テスト実行環境に配置・展開します。</p>



<p class="wp-block-paragraph">※<strong>年間ライセンスをご利用の場合</strong><br>テスト実行用ファイルにライセンスファイル（.lic）が含まれている場合は、StudioライセンスキーをRuntimeライセンスキーに書き換える必要があります。修正方法は、「<strong><a href="#test-preparation" title="">テスト実行環境・テスト実行用ファイルの準備</a></strong>」のライセンスファイル（.lic）をご参照ください。</p>



<p class="wp-block-paragraph">(3) 展開したテスト実行用ファイル内にある実行ファイル（.exe）をダブルクリックして、テストを実行します。</p>



<h4 id="command-line-execution" class="wp-block-heading"><strong>2. <strong>実行ファイルの</strong>コマンドライン実行</strong></h4>



<p class="wp-block-paragraph">コマンドラインインターフェース（CLI）から実行ファイル（.exe）を指定してテストを実行する方法です。コマンドライン引数を使用することで、実行するテストスイートやテストケースを指定することもできます。</p>



<p class="wp-block-paragraph">【実行手順】</p>



<p class="wp-block-paragraph">(1) テスト作成環境の以下の出力フォルダーにある各ファイルを、1つのファイルにまとめて圧縮します。<br><strong>C:\Users\ユーザー名\Documents\Ranorex\RanorexStudio Projects\ソリューション名\プロジェクト名\bin\Debug</strong></p>



<p class="wp-block-paragraph">(2) 手順(1)で作成したテスト実行用ファイルを、テスト実行環境に配置・展開します。</p>



<p class="wp-block-paragraph">※<strong>年間ライセンスをご利用の場合</strong><br>テスト実行用ファイルにライセンスファイル（.lic）が含まれている場合は、StudioライセンスキーをRuntimeライセンスキーに書き換える必要があります。修正方法は、「<strong><a href="#test-preparation" title="">テスト実行環境・テスト実行用ファイルの準備</a></strong>」のライセンスファイル（.lic）をご参照ください。</p>



<p class="wp-block-paragraph">(3) テスト実行環境でコマンドプロンプトなどのコマンドラインインターフェースを起動し、実行ファイルが配置されているフォルダーに移動します。</p>



<p class="wp-block-paragraph">(4) 以下のコマンドを実行して、テストを実行します。<em>※MyTest.exeは実際の実行ファイル名に置き換えて実施ください。</em></p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>MyTest.exe</code></pre></div>



<p class="wp-block-paragraph"><em>※コマンドライン引数の詳細は、以下のBlog記事<strong>「テストの自動実行におけるコマンドラインの活用」</strong>をご参照ください。</em></p>



<figure class="wp-block-embed is-type-wp-embed is-provider-ranorex wp-block-embed-ranorex"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="UMcsYTUIqx"><a href="https://ranorex.techmatrix.jp/blog/2022/03/04/commandline-execute/">テストの自動実行におけるコマンドラインの活用</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;テストの自動実行におけるコマンドラインの活用&#8221; &#8212; テスト自動化ツール 『Ranorex』" src="https://ranorex.techmatrix.jp/blog/2022/03/04/commandline-execute/embed/#?secret=CVlH0u2fQC#?secret=UMcsYTUIqx" data-secret="UMcsYTUIqx" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h4 id="ranorex-agent" class="wp-block-heading"><strong>3. <strong>Ranorex Agent</strong>を使用した実行</strong></h4>



<p class="wp-block-paragraph">Ranorex Agentは、テスト作成環境で作成したテストシナリオを、リモート先などのテスト実行環境上で実⾏させるためのスタンドアローンツールです。Ranorex StudioまたはコマンドラインからRanorex Agentにテスト実行の指示をすることで、Ranorex Agentがインストールされている環境でテストをおこなうことができます。<br>インストール方法および接続設定、実行指示の具体的な手順は、ユーザーガイドの「<a href="https://support2.ranorex.com/ja/userguide/ranorex-studio-expert/runtime-and-remote-execution/ranorex-agents/"><strong>Ranorex Agent</strong></a>」、「<a href="https://support2.ranorex.com/ja/userguide/ranorex-studio-expert/runtime-and-remote-execution/agent-based-remote-execution/" title=""><strong>Ranorex Agent を使ったリモート実行</strong></a>」をご参照ください。</p>



<p class="wp-block-paragraph">【実行の流れ】</p>



<p class="wp-block-paragraph">(1) テスト実行環境にRanorex Agentをインストールしてサービスとして常駐させます。</p>



<p class="wp-block-paragraph">(2) Ranorex Studioまたはコマンドラインから、テスト実行環境にあるRanorex Agentに対してテスト実⾏を指⽰します。</p>



<p class="wp-block-paragraph">(3) テスト実⾏用ファイル⼀式がテスト実行環境に自動でコピーされ、テストが実行されます。</p>



<h4 id="test-suite-runner" class="wp-block-heading"><strong>4. <strong>Test Suite Runner</strong>を使用した実行</strong></h4>



<p class="wp-block-paragraph">Test Suite Runnerは、Ranorex Studioで作成したテストスイートをGUI上から実行するためのツールです。Runtimeライセンスを使用し、Ranorex Studioを起動することなく、対象のテストスイートを選択してテストを実行する方法です。<br><em>※Test Suite Runnerを使用するためには、Ranorex Studioがテスト実行環境にインストールされている必要があります。</em></p>



<p class="wp-block-paragraph">【実行手順】</p>



<p class="wp-block-paragraph">(1) テスト実行環境で、テストスイートファイル（.rxtst）をダブルクリックします。</p>



<p class="wp-block-paragraph">(2) Test Suite Runner画面の「RUN」ボタンをクリックして、テストを実行します。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="730" height="207" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-200.png" alt="" class="wp-image-32846" style="width:603px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-200.png 730w, https://ranorex.techmatrix.jp/wp-content/uploads/image-200-300x85.png 300w" sizes="(max-width: 730px) 100vw, 730px" /></figure>
</div>


<h3 id="error" class="wp-block-heading"><strong>エラーへの対応方法</strong></h3>



<p class="wp-block-paragraph">Runtimeライセンスのみ利用可能な環境でRanorex Studioを起動しようとした場合、以下のエラーが発生します。Ranorex Studioからテストを実行する場合は、&#8221;はい&#8221;を選択のうえ、Studioライセンスを設定してください。Runtimeライセンスでのテスト実行方法は、「<strong><a href="#execution-method" title="">Runtimeライセンスのテスト実行方法</a></strong>」でテストを実行ください。</p>



<p class="has-text-align-center wp-block-paragraph"><em>※年間ライセンスの場合</em></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="629" height="323" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-212.png" alt="" class="wp-image-33245" style="width:568px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-212.png 629w, https://ranorex.techmatrix.jp/wp-content/uploads/image-212-300x154.png 300w" sizes="(max-width: 629px) 100vw, 629px" /></figure>
</div>


<div style="height:27px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-text-align-center wp-block-paragraph"><em>※買取ライセンスの場合</em></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="858" height="361" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-201.png" alt="" class="wp-image-32849" style="width:573px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-201.png 858w, https://ranorex.techmatrix.jp/wp-content/uploads/image-201-300x126.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-201-768x323.png 768w" sizes="(max-width: 858px) 100vw, 858px" /></figure>
</div>


<h3 id="inquiry" class="wp-block-heading"><strong>お問い合わせ</strong></h3>



<p class="wp-block-paragraph">Runtimeライセンスに関してご不明点などございましたら、担当営業にご連絡ください。<br>保守サポートにご加入のお客様は、Ranorexテクニカルサポートまでご連絡ください。</p>



<p class="wp-block-paragraph"></p><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/11/17/ranorex_runtime_license/">Runtimeライセンスの利用方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PHP脆弱性騒動に学ぶテスト自動化の重要性</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/11/11/php-vulnerability-test-automation/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Wed, 11 Nov 2026 08:11:59 +0000</pubDate>
				<category><![CDATA[ニュース]]></category>
		<category><![CDATA[事例・ソリューション]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32888</guid>

					<description><![CDATA[<p>2026年10月21日、プログラミング言語「PHP」において、認証不要でリモートコード実行（RCE）を許す重大な脆弱性（CVE-2026-109618／CVE-2026-109619）の修正版が緊急公開されました[1][ [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/11/11/php-vulnerability-test-automation/">PHP脆弱性騒動に学ぶテスト自動化の重要性</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="724" height="483" src="https://ranorex.techmatrix.jp/wp-content/uploads/PHP脆弱性アイキャッチ.jpg" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/PHP脆弱性アイキャッチ.jpg 724w, https://ranorex.techmatrix.jp/wp-content/uploads/PHP脆弱性アイキャッチ-300x200.jpg 300w" sizes="(max-width: 724px) 100vw, 724px" /></div>
<p class="wp-block-paragraph">2026年10月21日、プログラミング言語「PHP」において、認証不要でリモートコード実行（RCE）を許す重大な脆弱性（CVE-2026-109618／CVE-2026-109619）の修正版が緊急公開されました<sup>[1][2]</sup>。この脆弱性は「PHP2Shell」と呼ばれ、攻撃者が第三者のシステムで任意のコードを実行できてしまう深刻な問題です。</p>



<p class="wp-block-paragraph">本記事では、「PHP2Shell」脆弱性への対応として、PHP環境を迅速に修正し不正侵入を防ぐための公開直後のパッチ適用や最新版へのアップデートの重要性を解説します。また、この対応に伴う<strong>リグレッションテスト</strong>(回帰テスト)の役割と課題、テスト自動化の有効性も紹介します。</p>



<div class="toc-001">
    <div>
        目次
        <label><input type="checkbox" checked=""></label>
    </div>
    <ol>
        <li><a href="#php-security">なぜPHPの脆弱性は重大なのか</a></li>
        <li><a href="#php-fix">PHPバージョンの確認と速やかな修正プログラムの適用</a></li>
        <li><a href="#support-risk">サポート終了バージョンのリスク</a></li>
        <li><a href="#automate-regression-test">バージョンアップ後やパッチ適用後のリグレッションテストを自動化で効率化</a></li>
        <li><a href="#frontier-ai-vulnerability-regression">フロンティアAIで発見された脆弱性への攻撃対策！セキュリティパッチ適用後のリグレッションテストを自動化する手法</a></li>
        <li><a href="#samarry">まとめ</a></li>
    </ol>
</div>



<h2 id="php-security" class="wp-block-heading h2-blog"><strong><strong>なぜ今回の『PHP2Shell』脆弱性は重大なのか</strong></strong></h2>



<p class="wp-block-paragraph">PHPは、W3Techsの調査（2026年10月27日時点）で、サーバーサイド言語が判明しているWebサイトの69%で使われており<sup>[7]</sup>、インターネットに公開されたPHPホストは約510万にのぼります<sup>[3]</sup>。</p>



<p class="wp-block-paragraph">今回の脆弱性は、PHP自体の問題であり、PHP-FPMやApacheのmod_phpなど、多くのPHP環境に影響があります<sup>[3]</sup>。この脆弱性を使われると、第三者がIDやパスワードを持たずに外部からサーバー上で任意の命令を実行できるため、サイトの改ざん、ウイルス配布の踏み台などの被害が想定されます。また、他のリクエストのパスワード・認証トークン・APIキー・証明書などが盗まれる可能性もあります<sup>[4]</sup>。</p>



<p class="wp-block-paragraph">IPAは、速やかなPHPの更新を呼びかけ、更新できない場合はアクセス制限や外部からの遮断なども検討するよう案内しています<sup>[2]</sup>。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="515" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-208-1024x515.png" alt="" class="wp-image-32946" style="aspect-ratio:1.9883726338309846;width:766px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-208-1024x515.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-208-300x151.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-208-767x386.png 767w, https://ranorex.techmatrix.jp/wp-content/uploads/image-208.png 1342w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">PHP2Shellによる攻撃の流れ</figcaption></figure>
</div>


<p class="has-text-align-center has-small-font-size wp-block-paragraph">出典：PHP公式アドバイザリ[1]、IPA[2]、BleepingComputer[3]、Recorded Future[4]をもとに弊社TMXにて作成</p>



<h2 id="php-fix" class="wp-block-heading h2-blog"><strong>PHPバージョンの確認と速やかな修正プログラムの適用</strong></h2>



<p class="wp-block-paragraph">現時点での修正版は以下のバージョンです<sup>[1][2]</sup>。</p>



<ul class="wp-block-list">
<li><strong>PHP 8.5.12&nbsp;</strong></li>



<li><strong>PHP 8.4.27&nbsp;</strong></li>



<li><strong>PHP 8.3.36&nbsp;</strong></li>



<li><strong>PHP 8.2.35</strong></li>
</ul>



<p class="wp-block-paragraph">レンタルサーバーをご利用の場合は、管理画面でPHPのバージョン確認や切り替えができることが多いです。サーバーの管理をホスティング会社に任せている場合は、修正版への更新を依頼する必要があります<sup>[6]</sup>。なお、通常サポートが終了しているPHP 7.4／8.0／8.1向けにも今回は例外的にパッチが公開されていますが、今後もパッチが公開される保証はないため、この機会に最新サポートバージョンへの検討が必要になるかもしれません。</p>



<h2 id="support-risk" class="wp-block-heading h2-blog"><strong>サポート終了バージョンのリスク</strong></h2>



<p class="wp-block-paragraph">今回は、サポートが終了しているPHPのバージョン7.4、8.0、8.1向けにも、例外的に修正パッチが公開されました<sup>[3][5]</sup>。PHP 8.1以前は公式のサポート対象外で、通常は修正パッチも公開されません。その場合、パッチの適用だけでなくバージョンアップが必要になり、対応に時間がかかります。そのため、普段から最新バージョンのPHPにアップデートすることを心がけ、セキュリティリスクを抑えることが重要です。</p>



<p class="wp-block-paragraph">現在も、サポート終了のPHPバージョンが大量に稼働しているため、バージョンアップの作業から実施する必要があるサイトがほとんどです。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="362" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-210-1024x362.png" alt="" class="wp-image-32955" style="aspect-ratio:2.828810259933585;width:772px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-210-1024x362.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-210-300x106.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-210-766x271.png 766w, https://ranorex.techmatrix.jp/wp-content/uploads/image-210.png 1312w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">サポート終了バージョンのPHPの割合</figcaption></figure>
</div>


<p class="has-text-align-center has-small-font-size wp-block-paragraph">出典：W3Techs[7][8]（2026年10月27日時点）をもとに弊社TMXにて算出・作成</p>



<h2 id="automate-regression-test" class="wp-block-heading h2-blog"><strong>バージョンアップ後やパッチ適用後のリグレッションテストを自動化で効率化</strong></h2>



<p class="wp-block-paragraph">PHPのバージョンアップやパッチ適用をおこなったあと、必ず実施したいのが「<strong>リグレッションテスト(回帰テスト)</strong>」です。これは、変更によって既存のシステムやWebサイトの動作に影響が出ていないかを確認するためのものです。</p>



<p class="wp-block-paragraph">たとえば、Webサイトであれば、ログイン、フォーム入力・送信、検索、決済、管理画面の操作といった主要な画面や機能が、更新前と同じように動くかを確認します。</p>



<p class="wp-block-paragraph">今回の「PHP2Shell」脆弱性のように、パッチが公開されると同時に攻撃が急増するケースでは、パッチ適用やバージョンアップといった作業を後回しにする余裕がありません。しかし手動でテストをおこなう場合、多くのテスト工数と時間が必要になります。確認作業の重さが、パッチ適用やバージョンアップを遅らせる要因になりかねません。</p>



<p class="wp-block-paragraph">そこで、あらかじめテスト自動化を導入しておくことで、以下のようなメリットが得られます。</p>



<ul style="background-color:#e0e0e0" class="wp-block-list has-background">
<li>システムテストを少ない工数で、人為的ミスや漏れを防ぎながら実施できる</li>



<li>バージョンアップ後のリグレッションテストの工数を削減することで、アップデート対応を後回しにするのを防げる</li>



<li>パッチ修正後すぐに本番へ公開できるため、ダウンタイムを短縮できる</li>



<li>利用者がサービスを利用できない時間を短縮できる</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="764" height="439" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-207-e1793758524138.png" alt="" class="wp-image-32908" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-207-e1793758524138.png 764w, https://ranorex.techmatrix.jp/wp-content/uploads/image-207-e1793758524138-300x172.png 300w" sizes="(max-width: 764px) 100vw, 764px" /><figcaption class="wp-element-caption">パッチ適用後のリグレッションテスト：手動と自動の違い</figcaption></figure>
</div>


<h2 id="frontier-ai-vulnerability-regression" class="wp-block-heading h2-blog"><strong>フロンティアAIで発見された脆弱性への攻撃対策！セキュリティパッチ適用後のリグレッションテストを自動化する手法</strong></h2>



<p class="wp-block-paragraph">今回のPHP2Shellは、フロンティアAIの活用が背景にあります。従来は、長年存在していた欠陥を発見して悪用するには極めて複雑な手順が必要でしたが、フロンティアAIにより簡単におこなうことができてしまいます。今後、他のテクノロジーやライブラリーでも脆弱性が発見され、修正パッチが高頻度にリリースされる可能性は十分にあります。</p>



<p class="wp-block-paragraph">今回の対策だけでなく、今後も見据えて、リグレッションテストを自動化することを検討してみてはいかがでしょうか。パッチ適用後のリグレッションテストを自動化する具体的な手法は、以下のブログ記事で解説しています。</p>



<figure class="wp-block-embed is-type-wp-embed is-provider-ranorex wp-block-embed-ranorex"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="TfRGfG7uEd"><a href="https://ranorex.techmatrix.jp/blog/2026/06/26/frontier-ai/">フロンティアAIで発見された脆弱性への攻撃対策！セキュリティパッチ適用後の無影響確認テストを自動化する手法を解説</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;フロンティアAIで発見された脆弱性への攻撃対策！セキュリティパッチ適用後の無影響確認テストを自動化する手法を解説&#8221; &#8212; テスト自動化ツール 『Ranorex』" src="https://ranorex.techmatrix.jp/blog/2026/06/26/frontier-ai/embed/#?secret=WmENkSuFwO#?secret=TfRGfG7uEd" data-secret="TfRGfG7uEd" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<p class="has-small-font-size wp-block-paragraph">※無影響確認テストは、ソフトウェアの変更や修正が他の部分に影響を与えていないかを確認するためのテストで、リグレッションテストと同義です。</p>



<h2 id="summary" class="wp-block-heading h2-blog"><strong>まとめ</strong></h2>



<p class="wp-block-paragraph">今回のPHP脆弱性のような緊急事態に迅速に対応するには、単にパッチを適用するだけでなく、日頃からの最新バージョンへのアップデートや、変更後のシステムのリグレッションテストを自動化することが非常に重要です。</p>



<p class="wp-block-paragraph">セキュリティリスクの高い現代のWeb環境において、テスト自動化はパッチ適用やバージョンアップの円滑な運用を支える不可欠なツールと言えるでしょう。 弊社で取り扱っている<strong>UIテスト自動化ツール</strong>「<strong>Ranorex</strong>」では、Webアプリのテストだけでなく、デスクトップアプリ・モバイルアプリに対応しています。UIテスト自動化ツールを使用することで、一連のユーザー操作の自動化だけでなく、値や画像の検証、結果レポートの出力まで自動化できます。</p>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Ranorexの特長などの製品紹介資料は以下からダウンロードいただけます。</p>



<div id=rx-banner_gray>
<a href="https://s.techmatrix.co.jp/form/RXdoc0003IND?k3ad=rx-blog_php-vulnerability" target="_blank" rel="noopener noreferrer">
  <img decoding="async" src="https://ranorex.techmatrix.jp/wp-content/uploads/Ranorex_popup-2504_930x100_html.png">
</a>
</div>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-background" style="background-color:#f0f0f0"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<div style="height:9px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-text-align-center wp-block-paragraph">Ranorexは、14日間の体験版を無償でご利用いただけます。<br>体験版をダウンロードしてご評価ください。</p>



<div style="width: 500px; margin: 0 auto; text-align: center;"><a href="https://s.techmatrix.co.jp/form/RXtry0001IND?k3ad=rx-blog_php-vulnerability" class="btn btn_commonpages" target="_blank">Ranorex体験版のダウンロードはこちら<a></div>



<div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div>
</div></div>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>参考情報</strong></h3>



<p class="wp-block-paragraph">本文中の数値・事実は、以下の情報源（2026年10月27日に確認）に基づいています。[ ]の番号は本文の注記番号に対応します。</p>



<p class="wp-block-paragraph">[1] The PHP Group, “Critical remote code execution vulnerabilities, update now”, PHP.net, <a href="https://www.php.net/index.php#2026-10-21-5" target="_blank" rel="noopener">https://www.php.net/index.php#2026-10-21-5</a>, (閲覧日: 2026-10-27)</p>



<p class="wp-block-paragraph">[2] IPA（情報処理推進機構）, “PHPの脆弱性対策について（CVE-2026-109618、CVE-2026-109619：PHP2shell）”, IPA 独立行政法人 情報処理推進機構, <a href="https://www.ipa.go.jp/security/security-alert/2026/alert20261022.html" target="_blank" rel="noopener">https://www.ipa.go.jp/security/security-alert/2026/alert20261022.html</a>, (閲覧日: 2026-10-27)</p>



<p class="wp-block-paragraph">[3] BleepingComputer, “PHP ships emergency patches for critical PHP2Shell flaws”, BleepingComputer, <a href="https://bleepingcomputer.com/news/security/php-ships-emergency-patches-for-critical-php2shell-flaws" target="_blank" rel="noopener">https://bleepingcomputer.com/news/security/php-ships-emergency-patches-for-critical-php2shell-flaws</a>, (閲覧日: 2026-10-27)</p>



<p class="wp-block-paragraph">[4] Recorded Future (Insikt Group), “PHP2Shell Exploitation: Two Critical PHP Flaws Explained”, Recorded Future, <a href="https://www.recordedfuture.com/blog/php2shell-vulnerability-exploitation" target="_blank" rel="noopener">https://www.recordedfuture.com/blog/php2shell-vulnerability-exploitation</a>, (閲覧日: 2026-10-27)</p>



<p class="wp-block-paragraph">[5] Help Net Security, “PHP2Shell: PHP vulnerabilities patched (CVE-2026-109618, CVE-2026-109619)”, Help Net Security, <a href="https://www.helpnetsecurity.com/2026/10/21/php2shell-php-vulnerabilities-patched-cve-2026-109618-cve-2026-109619" target="_blank" rel="noopener">https://www.helpnetsecurity.com/2026/10/21/php2shell-php-vulnerabilities-patched-cve-2026-109618-cve-2026-109619</a>, (閲覧日: 2026-10-27)</p>



<p class="wp-block-paragraph">[6] Kaspersky, “CVE-2026-109618, CVE-2026-109619 PHP vulnerabilities”, Kaspersky, <a href="https://www.kaspersky.com/blog/cve-2026-109618-109619-php-vulnerabilities/56583/" target="_blank" rel="noopener">https://www.kaspersky.com/blog/cve-2026-109618-109619-php-vulnerabilities/56583/</a>, (閲覧日: 2026-10-27)</p>



<p class="wp-block-paragraph">[7] W3Techs, “Usage statistics of PHP as server-side programming language”, W3Techs, <a href="https://w3techs.com/technologies/details/pl-php" target="_blank" rel="noopener">https://w3techs.com/technologies/details/pl-php</a>, (閲覧日: 2026-10-27)</p>



<p class="wp-block-paragraph">[8] W3Techs, &#8220;Usage statistics of PHP version 8&#8221;, W3Techs, <a href="https://w3techs.com/technologies/details/pl-php/8">https://w3techs.com/technologies/details/pl-php/8</a>, (閲覧日: 2026-10-27)</p>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/11/11/php-vulnerability-test-automation/">PHP脆弱性騒動に学ぶテスト自動化の重要性</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>複数のプラットフォームで画像比較を成功させるための方法</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/11/06/multi-platform-image-validate/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Fri, 06 Nov 2026 02:36:42 +0000</pubDate>
				<category><![CDATA[Ranorex機能]]></category>
		<category><![CDATA[ノウハウ]]></category>
		<category><![CDATA[事例・ソリューション]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=33065</guid>

					<description><![CDATA[<p>※本記事は、Ranorexの画像検証に関する基礎知識をお持ちの方を対象としています。※Ranorex ハンズオンセミナー(初級・中級)を受講することで、Ranorexの画像検証について学習いただけます。 Ranorexの [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/11/06/multi-platform-image-validate/">複数のプラットフォームで画像比較を成功させるための方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="693" height="504" src="https://ranorex.techmatrix.jp/wp-content/uploads/画像を成功させるための方法アイキャッチ1.jpg" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/画像を成功させるための方法アイキャッチ1.jpg 693w, https://ranorex.techmatrix.jp/wp-content/uploads/画像を成功させるための方法アイキャッチ1-300x218.jpg 300w" sizes="(max-width: 693px) 100vw, 693px" /></div>
<p class="has-small-font-size wp-block-paragraph"><em>※本記事は、Ranorexの画像検証に関する基礎知識をお持ちの方を対象としています。</em><br><em>※Ranorex ハンズオンセミナー(<a href="https://ranorex.techmatrix.jp/handson-details/" target="_blank" rel="noopener">初級</a>・<a href="https://ranorex.techmatrix.jp/handson-intermediate-details/" target="_blank" rel="noopener">中級</a>)を受講することで、Ranorexの画像検証について学習いただけます。</em></p>



<p class="wp-block-paragraph">Ranorexの画像比較は、ピクセル単位でRGB値(赤・緑・青の色を組み合わせた数値)を参照した厳密で高精度な検証です。そのため、複数のテスト実行環境でテストする場合に、期待画像との微細な色の違いや文字・グラフィックの位置の微妙なズレなどが発生すると、規定の設定では失敗しやすくなります。</p>



<p class="wp-block-paragraph">本記事では、テスト実行環境の違いにより、人の目で認識できない微細な差分で失敗する画像比較を成功させるための設定方法について説明します。</p>



<p class="wp-block-paragraph">本記事の最後に、詳細資料を公開しておりますので、ダウンロードください。</p>



<div class="toc-001">
    <div>
        目次
        <label><input type="checkbox" checked=""></label>
    </div>
    <ol>
        <li><a href="#validation">Ranorexの画像比較</a></li>
        <li><a href="#factor">画像比較が失敗する主な要因</a></li>
        <li><a href="#solution">画像比較が失敗する主な要因の解決策</a></li>
        <li><a href="#download">資料ダウンロードのご案内</a></li>
    </ol>
</div>



<h3 id="validation" class="wp-block-heading"><strong><a>Ranorex</a>の画像比較</strong></h3>



<p class="wp-block-paragraph">テスト実行時に表示された画像が期待画像と一致しているかを判断する指標として、類似度 (Similarity)が使用されます。類似度は0.0から1.0の範囲で表され、1.0は100%の一致を意味します。具体的には、比較対象の画像のすべてのピクセルにおいて、赤（R）、緑（G）、青（B）の各色の値が完全に一致している状態を指します。このため、類似度が1.0の場合、完全一致となり、画像検証の結果は成功と判断されます。</p>



<p class="wp-block-paragraph">詳しくは、以下のイメージバリデーションのブログをご確認ください。</p>



<ul class="wp-block-list">
<li><a href="https://ranorex.techmatrix.jp/blog/2020/02/21/image-validation-summary/" target="_blank" rel="noopener"><strong>イメージ バリデーション（概要）#1</strong></a></li>
</ul>



<h3 id="factor" class="wp-block-heading"><strong>画像比較が失敗する主な要因</strong></h3>



<p class="wp-block-paragraph">Ranorexの画像比較が失敗する主な要因は、以下の通りです。</p>



<ul class="wp-block-list">
<li><strong>マシンの解像度やウィンドウサイズが統一されていない複数環境でのテスト</strong></li>



<li><strong>Windows OSの異なるバージョンでのテスト</strong></li>



<li><strong>クラウド環境でのテスト</strong></li>



<li><strong>リモートデスクトップ接続によるリモートテスト</strong></li>



<li><strong>検証対象の画像内に動的なコンテンツが含まれるテスト</strong></li>
</ul>



<h3 id="solution" class="wp-block-heading"><strong>画像比較が失敗する主な要因の解決策</strong></h3>



<p class="wp-block-paragraph">「画像比較が失敗する主な要因」であげた内容は、大きく分けて次の3パターンに分類できます。それぞれの要因に対応する解決策をお試しください。</p>



<ul class="wp-block-list">
<li><strong>解像度・ウィンドウサイズの違いが原因の場合</strong>
<ul class="wp-block-list">
<li>マシンの解像度やテスト対象アプリケーションのウィンドウサイズを統一する</li>
</ul>
</li>
</ul>



<ul class="wp-block-list">
<li><strong>Windows OSバージョン・クラウド環境・リモートデスクトップ環境の違いが原因の場合</strong>
<ul class="wp-block-list">
<li>Ranorexの標準機能（<a href="https://ranorex.techmatrix.jp/blog/2023/03/31/image-validation-application/" target="_blank" rel="noopener">プリプロセスフィルター・類似度</a>）で差分を許容する</li>



<li>他ツール連携により、文字・画像の位置ズレを自動検出して検証する (例：<a href="https://ranorex.techmatrix.jp/blog/2026/08/17/opencv-imagevalidation/" target="_blank" rel="noopener">OpenCV利用</a>)</li>



<li>環境ごとに期待画像を切り替えて、テストを実行する (<a href="https://ranorex.techmatrix.jp/blog/2020/10/16/user-code-reference_image_validation/" target="_blank" rel="noopener">ユーザーコード利用</a>)</li>
</ul>
</li>
</ul>



<ul class="wp-block-list">
<li><strong>動的なコンテンツやテスト環境によって変化するコンテンツが含まれる場合</strong>
<ul class="wp-block-list">
<li>差分が発生しやすい箇所や動的に変わる箇所を<a href="https://ranorex.techmatrix.jp/blog/2020/07/03/v9-3_image-validation/" target="_blank" rel="noopener">マスキング</a>して検証する</li>
</ul>
</li>
</ul>



<h3 id="download" class="wp-block-heading anchor"><strong>資料ダウンロードのご案内</strong></h3>



<p class="wp-block-paragraph">複数のプラットフォームでの画像比較を成功させるための方法に関する詳細資料は、以下のリンクからダウンロード可能です。<br>※ファイルをダウンロードできない場合は、ブラウザーのセキュリティ設定をご確認ください。</p>



<div style="width: 500px; margin: 0 auto; text-align: center;"><a href="https://ranorex.techmatrix.jp/wp-content/uploads/複数のプラットフォームで画像比較を成功させるための方法.zip" class="btn btn_commonpages" target="_blank">資料のダウンロードはこちら</a><a></a></div>



<p class="wp-block-paragraph"></p><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/11/06/multi-platform-image-validate/">複数のプラットフォームで画像比較を成功させるための方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PHP の脆弱性（CVE-2026-109618、CVE-2026-109619）に関するご案内</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/10/23/ranorex-cve-2026-109618-109619/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Fri, 23 Oct 2026 00:56:44 +0000</pubDate>
				<category><![CDATA[ニュース]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32880</guid>

					<description><![CDATA[<p>日頃から、Ranorexをご利用いただきありがとうございます。 現在報告されている PHP に関する脆弱性（CVE-2026-109618、CVE-2026-109619）において、Ranorex製品への影響についてご報 [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/10/23/ranorex-cve-2026-109618-109619/">PHP の脆弱性（CVE-2026-109618、CVE-2026-109619）に関するご案内</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="1024" height="626" src="https://ranorex.techmatrix.jp/wp-content/uploads/20211217_アイソメトリックベクター図で個人データのセキュリティ。-1024x626.png" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/20211217_アイソメトリックベクター図で個人データのセキュリティ。-1024x626.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/20211217_アイソメトリックベクター図で個人データのセキュリティ。-300x183.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/20211217_アイソメトリックベクター図で個人データのセキュリティ。-768x469.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/20211217_アイソメトリックベクター図で個人データのセキュリティ。-1536x939.png 1536w, https://ranorex.techmatrix.jp/wp-content/uploads/20211217_アイソメトリックベクター図で個人データのセキュリティ。-2048x1252.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></div>
<p class="wp-block-paragraph">日頃から、Ranorexをご利用いただきありがとうございます。</p>



<p class="wp-block-paragraph">現在報告されている PHP に関する脆弱性（CVE-2026-109618、CVE-2026-109619）において、<br>Ranorex製品への影響についてご報告させていただきます。</p>



<p class="wp-block-paragraph">IPA: PHPの脆弱性対策について(CVE-2026-109618、CVE-2026-109619：PHP2shell)<br><a href="https://www.ipa.go.jp/security/security-alert/2026/alert20261022.html" title="">https://www.ipa.go.jp/security/security-alert/2026/alert20261022.html</a></p>



<p class="wp-block-paragraph">Ranorex Studioおよびライセンスサーバーでは、PHP を使用していないため、本脆弱性に関する影響はございません。</p>



<p class="wp-block-paragraph">Ranorexをご利用中の方は、引き続きご安心してRanorexをご利用ください。</p>



<p class="wp-block-paragraph"></p><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/10/23/ranorex-cve-2026-109618-109619/">PHP の脆弱性（CVE-2026-109618、CVE-2026-109619）に関するご案内</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>MESCIUS(旧GrapeCity)コンポーネントを使用したデスクトップアプリのテスト自動化</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/10/05/mescius/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Mon, 05 Oct 2026 06:24:04 +0000</pubDate>
				<category><![CDATA[Ranorex機能]]></category>
		<category><![CDATA[ニュース]]></category>
		<category><![CDATA[事例・ソリューション]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32505</guid>

					<description><![CDATA[<p>MESCIUS（メシウス）社のコンポーネントは、多くのデスクトップおよびWebアプリケーションで採用されています。アプリケーションの品質維持にはUIテストが不可欠であり、その自動化には、利用するツールが対象のコンポーネン [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/10/05/mescius/">MESCIUS(旧GrapeCity)コンポーネントを使用したデスクトップアプリのテスト自動化</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="724" height="483" src="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-MESCIUS_アイキャッチ.jpg" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-MESCIUS_アイキャッチ.jpg 724w, https://ranorex.techmatrix.jp/wp-content/uploads/iStock-MESCIUS_アイキャッチ-300x200.jpg 300w" sizes="(max-width: 724px) 100vw, 724px" /></div>
<p class="wp-block-paragraph"><a href="https://developer.mescius.jp/" title="">MESCIUS</a>（メシウス）社のコンポーネントは、多くのデスクトップおよびWebアプリケーションで採用されています。アプリケーションの品質維持にはUIテストが不可欠であり、その自動化には、利用するツールが対象のコンポーネントに対応していることが重要です。</p>



<p class="wp-block-paragraph">これまでRanorexは、一部のMESCIUS社コンポーネントの自動化に対応していましたが、このたびデスクトップアプリケーション向けの主要コンポーネントについても正式にサポートを開始しました。</p>



<p class="wp-block-paragraph">本記事では、新たにRanorexが対応した「SPREAD for Windows Forms」、「SPREAD for WPF」、「MultiRowPlus for Windows Forms」のテスト自動化についてご紹介します。</p>



<h2 class="wp-block-heading h2-blog"><strong>MESCIUSコンポーネントとは</strong></h2>



<p class="wp-block-paragraph">MESCIUSコンポーネントは、ソフトウェア開発者向けの高品質なUIコンポーネントおよびツール群で、特にスプレッドシート機能や明細書作成機能で広く利用されています。ここでは、Ranorexが新たにサポートした3つのデスクトップアプリ用のコンポーネントについて紹介します ※そのほかのコンポーネントや詳細情報については、MESCIUS社の<a href="https://developer.mescius.jp/products">Webサイト</a>をご参照ください。</p>



<h3 class="wp-block-heading"><strong>SPREAD for Windows Forms</strong></h3>



<p class="wp-block-paragraph">SPREAD for Windows Formsは、Windows Formsアプリ向けのスプレッドシートコンポーネントです。Windows Formsアプリに組み込むだけで、使いやすい表計算機能を簡単に実装できます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="546" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-183-1024x546.png" alt="" class="wp-image-32727" style="width:614px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-183-1024x546.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-183-300x160.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-183-768x410.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-183.png 1042w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><strong>SPREAD for Windows Formsのサンプルイメージ</strong></figcaption></figure>
</div>


<h3 class="wp-block-heading"><strong>SPREAD for WPF</strong></h3>



<p class="wp-block-paragraph">SPREAD for WPFは、WPFアプリ向けのスプレッドシートコンポーネントで、WPF技術を活用した豊かな表現力と柔軟なカスタマイズ性を備えています。Windows Forms版に比べ、より細かなUI調整が可能です。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1013" height="408" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-184.png" alt="" class="wp-image-32731" style="width:629px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-184.png 1013w, https://ranorex.techmatrix.jp/wp-content/uploads/image-184-300x121.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-184-768x309.png 768w" sizes="(max-width: 1013px) 100vw, 1013px" /><figcaption class="wp-element-caption"><strong>SPREAD for WPFのサンプルイメージ</strong></figcaption></figure>
</div>


<h3 class="wp-block-heading"><strong>MultiRowPlus for Windows Forms</strong></h3>



<p class="wp-block-paragraph">MultiRowPlus for Windows Formsは、Windows Formsアプリ向けのデータグリッドコンポーネントで、複数行にまたがるセル構成や複雑なレイアウトを自由に表現できる点が特徴です。Windows Forms標準のDataGridViewよりも柔軟で多彩なセルテンプレートを使うことができます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="1017" height="597" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-185.png" alt="" class="wp-image-32734" style="width:628px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-185.png 1017w, https://ranorex.techmatrix.jp/wp-content/uploads/image-185-300x176.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-185-768x451.png 768w" sizes="(max-width: 1017px) 100vw, 1017px" /><figcaption class="wp-element-caption"><strong>MultiRowPlus for Windows Formsのサンプルイメージ</strong></figcaption></figure>
</div>


<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">そのほか、帳票・レポート開発コンポーネント「<strong>ActiveReports</strong>」や入力支援コンポーネント「<strong>InputMan</strong>」、コンポーネントセット「<strong>ComponentOne</strong>」などがあります。デスクトップアプリだけでなく、Webアプリ用のコンポーネントもあります。</p>



<h2 class="wp-block-heading h2-blog"><strong>テスト自動化ツール「Ranorex」とは</strong></h2>



<p class="wp-block-paragraph">Ranorexで、MESCIUSコンポーネントを使用した<a href="https://ranorex.techmatrix.jp/desktop/" title="">デスクトップアプリ</a>のUIテストを自動化できます。アプリ改修時などにリグレッションテストを自動化することで、テスト工数を削減できます。また、人為的ミスも回避できるためシステムの品質も維持できます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="709" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-187-1024x709.png" alt="" class="wp-image-32773" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-187-1024x709.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-187-300x208.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-187-768x532.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-187.png 1364w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><strong>RanorexによるMESCIUSコンポーネントのテスト自動化</strong></figcaption></figure>
</div>


<p class="wp-block-paragraph">テスト操作をレコーディングすることで、簡単に自動化するための<a href="https://ranorex.techmatrix.jp/test-create/" title="">テストを作成</a>できます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="902" height="571" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-186.png" alt="" class="wp-image-32759" style="width:657px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-186.png 902w, https://ranorex.techmatrix.jp/wp-content/uploads/image-186-300x190.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-186-768x486.png 768w" sizes="(max-width: 902px) 100vw, 902px" /><figcaption class="wp-element-caption"><strong>Ranorexのレコーディングによる自動テストの作成</strong></figcaption></figure>
</div>


<p class="wp-block-paragraph">Ranorexの特長などの製品紹介資料は以下からダウンロードいただけます。</p>



<div id=rx-banner_gray>
<a href="https://s.techmatrix.co.jp/form/RXdoc0003IND?k3ad=rx-blog_mescius" target="_blank" rel="noopener noreferrer">
  <img decoding="async" src="https://ranorex.techmatrix.jp/wp-content/uploads/Ranorex_popup-2504_930x100_html.png">
</a>
</div>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Ranorexは、14日間の体験版を無償でご利用いただけます。MESCIUSコンポーネントを使用したデスクトップアプリのUIテスト自動化を検討のお客様は、体験版をダウンロードしてご評価ください。</p>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-group has-background" style="background-color:#f0f0f0"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<div style="height:9px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-text-align-center wp-block-paragraph">Ranorexは、14日間の体験版を無償でご利用いただけます。<br>体験版をダウンロードしてご評価ください。</p>



<div style="width: 500px; margin: 0 auto; text-align: center;"><a href="https://s.techmatrix.co.jp/form/RXtry0001IND?k3ad=rx-blog_mescius" class="btn btn_commonpages" target="_blank">Ranorex体験版のダウンロードはこちら<a></div>



<div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div>
</div></div>



<div style="height:13px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading h2-blog"><strong>「Ranorex」によるMESCIUSコンポーネントを使用したデスクトップアプリのテスト自動化</strong></h2>



<p class="wp-block-paragraph">RanorexによるMESCIUSコンポーネントを使用したデスクトップアプリのテスト自動化については、ホワイトペーパーをご用意しています。ぜひ資料をダウンロードしてご確認ください。</p>



<div class="wp-block-group has-background" style="background-color:#f0f0f0"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<div style="height:9px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-text-align-center has-medium-font-size wp-block-paragraph"><strong>ホワイトペーパーは</strong><br><strong>以下からダウンロードください。</strong></p>



<p class="has-text-align-center wp-block-paragraph">※過去のホワイトペーパーもすべてダウンロードいただけます。</p>



<div style="width: 500px; margin: 0 auto; text-align: center;"><a href="https://s.techmatrix.co.jp/form/RXdoc0022TMX?k3ad=rx-blog_mescius" class="btn btn_commonpages" target="_blank">ホワイトペーパーのダウンロードはこちら<a></div>



<div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div>
</div></div>



<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/10/05/mescius/">MESCIUS(旧GrapeCity)コンポーネントを使用したデスクトップアプリのテスト自動化</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>変更に強いRanoreXPathの設計方法</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/09/09/ranorexpath_generate/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Wed, 09 Sep 2026 08:03:48 +0000</pubDate>
				<category><![CDATA[Ranorex機能]]></category>
		<category><![CDATA[ノウハウ]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32577</guid>

					<description><![CDATA[<p>※本記事は、RanoreXPathに関する基礎知識をお持ちの方向けの内容となります。※Ranorex ハンズオンセミナーを受講することで、RanoreXPathについて学習いただけます。 ブラウザー/Window OS/ [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/09/09/ranorexpath_generate/">変更に強いRanoreXPathの設計方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="678" height="515" src="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-自動テスト.jpg" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-自動テスト.jpg 678w, https://ranorex.techmatrix.jp/wp-content/uploads/iStock-自動テスト-300x228.jpg 300w" sizes="(max-width: 678px) 100vw, 678px" /></div>
<p class="has-small-font-size wp-block-paragraph"><em>※本記事は、RanoreXPathに関する基礎知識をお持ちの方向けの内容となります。</em><br><em>※Ranorex <a href="https://ranorex.techmatrix.jp/handson-details/" title="">ハンズオンセミナー</a>を受講することで、RanoreXPathについて学習いただけます。</em></p>



<p class="wp-block-paragraph">ブラウザー/Window OS/テスト対象アプリケーションのアップデートや、テスト対象アプリケーションの特性などにより、オブジェクト情報が意図せず変化しRanoreXPathの修正が必要となることで、メンテナンス工数が発生する場合があります。</p>



<p class="wp-block-paragraph">本記事では、RanoreXPathの変化にともなうメンテナンス工数を抑えるための、RanoreXPathの設計方法について説明します。</p>



<p class="wp-block-paragraph">本記事の最後に、RanoreXPathの設計方法に関する詳細資料を公開しておりますので、ダウンロードください。</p>



<div class="toc-001">
    <div>
        目次
        <label><input type="checkbox" checked=""></label>
    </div>
    <ol>
        <li><a href="#factor">RanoreXPathに影響を与える主な要因</a></li>
        <li><a href="#point">変更に強いRanoreXPath設計のポイント</a></li>
        <li><a href="#method">メンテナンス工数を抑えるための方法</a></li>
        <li><a href="#setting">RanoreXPath設計の進め方と推奨設定</a></li>
        <li><a href="#download">資料ダウンロードのご案内</a></li>
    </ol>
</div>



<h3 id="factor" class="wp-block-heading anchor"><strong>RanoreXPathに影響を与える主な要因</strong></h3>



<p class="wp-block-paragraph">RanoreXPathは主に以下の要因で変化します。これらの要因をあらかじめ理解し、堅牢なRanoreXPathを設計することが重要です。</p>



<ul class="wp-block-list">
<li>ブラウザーのアップデート</li>



<li>Windows OSのアップデート</li>



<li>テスト対象アプリケーションのアップデート</li>



<li>動的な属性の使用</li>
</ul>



<h3 id="point" class="wp-block-heading anchor"><strong>変更に強いRanoreXPath設計のポイント</strong></h3>



<p class="wp-block-paragraph">RanoreXPathのメンテナンス工数を抑えるためには、さまざまな変更要因の影響を受けにくいパス設計をおこなうことが重要です。その対応として、以下の方法があります。</p>



<h4 class="wp-block-heading"><strong>1. 変更されにくい属性を使用する</strong></h4>



<p class="wp-block-paragraph">テスト対象アプリケーションのユーザーインターフェース（UI）は操作や開発によって変化しやすく、それにともない、RanoreXPath内の属性情報も変化する場合があります。RanoreXPath内の属性情報に、UI変化の影響を受けにくいものを使用することで、RanoreXPathの耐久性を向上させ、テストの安定性とメンテナンス効率の改善が期待されます。</p>



<p class="wp-block-paragraph">例として、以下のようなRanoreXPathにおいて、text属性に動的な値（<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">img_w3bnz2p1t58q2xi0</mark>）が使用されている場合、変更されにくい他の属性を使用することで、RanoreXPathを堅牢にすることができます。</p>



<ul style="background-color:#f0f0f0" class="wp-block-list has-background">
<li><strong>変更前のRanoreXPath例：</strong><br><strong><strong><strong>/form[@controlname=&#8217;RxMainFrame&#8217;]/?/?/tabpage[@controlname=&#8217;RxTabDynamic&#8217;]/text[<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">@text=&#8217;img_w3bnz2p1t58q2xi0&#8242;</mark>]</strong></strong></strong></li>
</ul>



<p class="wp-block-paragraph">対象のリポジトリアイテムのパスエディター画面のツリー要素から、対象の要素（<strong>text</strong>要素）を選択し、属性の編集画面の<strong>text</strong>属性のチェックを無効にし<strong>、controlname</strong>属性などの他の属性を有効にします。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="580" height="275" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-176.png" alt="" class="wp-image-32581" style="width:515px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-176.png 580w, https://ranorex.techmatrix.jp/wp-content/uploads/image-176-300x142.png 300w" sizes="(max-width: 580px) 100vw, 580px" /></figure>
</div>


<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<ul style="background-color:#f0f0f0" class="wp-block-list has-background">
<li><strong>変更後のRanoreXPath例：</strong><br><strong><strong>/form[@controlname=&#8217;RxMainFrame&#8217;]/?/?/tabpage[@controlname=&#8217;RxTabDynamic&#8217;]/text[<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">@controlname=&#8217;txtBoxID&#8217;</mark>]</strong></strong></li>
</ul>
</div></div>



<h4 class="wp-block-heading"><strong>2. 属性値を正規表現で指定する</strong></h4>



<p class="wp-block-paragraph">自動生成されたRanoreXPathの中に、特定の形式の動的な属性値が存在する場合は、その形式に合わせて属性値を正規表現で指定することが可能です。属性値が変わった場合も、設定した正規表現に一致することにより、対象の要素を認識することができます。</p>



<p class="wp-block-paragraph">例として、以下のようなRanoreXPathにおいて、text属性に特定の形式で変化する値（<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">img_w3bnz2p1t58q2xi0</mark>）が使用されている場合、正規表現で指定することで、RanoreXPathを堅牢にすることができます。</p>



<ul style="background-color:#f0f0f0" class="wp-block-list has-background">
<li><strong>変更前のRanoreXPath例：</strong><br><strong>/form[@controlname=&#8217;RxMainFrame&#8217;]/?/?/tabpage[@controlname=&#8217;RxTabDynamic&#8217;]/text[<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">@text=&#8217;img_w3bnz2p1t58q2xi0&#8242;</mark>]</strong></li>
</ul>



<p class="wp-block-paragraph">対象のリポジトリアイテムのパスエディター画面のツリーの要素から、対象の要素（<strong>text</strong>要素）を選択し、属性の編集画面の<strong>text</strong>属性の演算子を、<strong>～（Regex Match）</strong>に変更し、属性値を指定する入力フォームに正規表現を使用した値を（<strong>img_.*</strong>）を設定します。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="568" height="92" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-177.png" alt="" class="wp-image-32583" style="width:519px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-177.png 568w, https://ranorex.techmatrix.jp/wp-content/uploads/image-177-300x49.png 300w" sizes="(max-width: 568px) 100vw, 568px" /></figure>
</div>


<ul style="background-color:#f0f0f0" class="wp-block-list has-background">
<li><strong>変更後のRanoreXPath例：</strong><br><strong><strong>/form[@controlname=&#8217;RxMainFrame&#8217;]/?/?/tabpage[@controlname=&#8217;RxTabDynamic&#8217;]/text[<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">@text=&#8217;img_.*&#8217;</mark>]</strong></strong></li>
</ul>



<h4 class="wp-block-heading"><strong>3. パス構造を簡略化する</strong></h4>



<p class="wp-block-paragraph">アプリケーションのアップデートにより画面に変更が加えられることで、ツリー構造が変わり、既存のRanoreXPathでオブジェクトを認識できなくなる場合があります。このような場合、ワイルドカード演算子を使用してパス構造を簡略化することで、パス構造の変更に柔軟に対応できます。</p>



<p class="wp-block-paragraph">例として、以下のようなRanoreXPathにおいて、Tabpage内の画面構成が今後変更される可能性がある場合は、<strong>//（any descendants）</strong>を使用することで、画面変更の影響を受けないRanoreXPathにすることができます。</p>



<ul class="wp-block-list">
<li><strong>アップデート前のアプリケーションとツリー構造例：</strong></li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="525" height="256" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-181.png" alt="" class="wp-image-32620" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-181.png 525w, https://ranorex.techmatrix.jp/wp-content/uploads/image-181-300x146.png 300w" sizes="(max-width: 525px) 100vw, 525px" /></figure>
</div>


<ul style="background-color:#f0f0f0" class="wp-block-list has-background">
<li><strong>変更前のRanoreXPath例：</strong><br><strong><strong>/form[@title=&#8217;〇〇アプリ&#8217;]/tabpage[@controlname=&#8217;HOME&#8217;]<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">/</mark>button[@controltext=&#8217;ログイン&#8217;]</strong></strong></li>
</ul>



<ul class="wp-block-list">
<li><strong>アップデート後のアプリケーションとツリー構造例：</strong></li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="574" height="292" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-182.png" alt="" class="wp-image-32621" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-182.png 574w, https://ranorex.techmatrix.jp/wp-content/uploads/image-182-300x153.png 300w" sizes="(max-width: 574px) 100vw, 574px" /></figure>
</div>


<ul style="background-color:#f0f0f0" class="wp-block-list has-background">
<li><strong>変更後のRanoreXPath例：</strong><br><strong><strong><strong>/form[@title=&#8217;〇〇アプリ&#8217;]/tabpage[@controlname=&#8217;HOME&#8217;]<mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">//</mark>button[@controltext=&#8217;ログイン&#8217;]</strong></strong></strong></li>
</ul>



<h3 id="method" class="wp-block-heading anchor"><strong>メンテナンス工数を抑えるための方法</strong></h3>



<p class="wp-block-paragraph">RanoreXPathの自動生成に関する設定として、<strong>「速度と堅牢性の設定」</strong>と<strong>「重み付けルールの設定」</strong>があります。これらの設定は、RanoreXPathを生成する前に、テスト対象アプリケーションの特性や運用方針に応じてあらかじめ設定しておくことで、変更に強いRanoreXPathを生成しやすくなり、後から修正する工数を抑えることができます。</p>



<h4 class="wp-block-heading"><strong>1. 速度と堅牢性の設定</strong></h4>



<p class="wp-block-paragraph">テスト実行時におけるオブジェクトの認識の速さや、アプリケーションの画面の変更にともなうオブジェクトの認識の強さは、RanoreXPathの構造に大きく依存しますが、RanoreXPathは<strong>「速度」</strong>と<strong>「堅牢性（壊れにくさ）」</strong>の２つの軸を基にバランスを見て生成されます。</p>



<p class="wp-block-paragraph">どちらの設定に重点を置くかは、テスト対象アプリケーションの内部構造や改修頻度に合わせて調整する必要がありますが、テスト実行時にオブジェクト認識の速さに影響しない場合は、将来発生する可能性のあるメンテナンス工数を抑えるために、原則として<strong>「堅牢性」</strong>重視の設定をおこなうことを推奨します。</p>



<h4 class="wp-block-heading"><strong>2. 重み付けルールの設定</strong></h4>



<p class="wp-block-paragraph">Ranorexで自動生成されたRanoreXPathに使用される属性には、動的な情報が含まれる場合がありますが、テスト実行の度に属性値が変わることでオブジェクトが検出できずに失敗する場合があります。そのため、対象のオブジェクトのRanoreXPathを修正し、他のユニークな属性に変更するなどの修正が必要となります。</p>



<p class="wp-block-paragraph">RanoreXPathの生成時に、どの属性を使用するかは <strong>「重み付けルール」</strong>の設定で管理されます。重み付けルールでは、各属性に数値が設定されており、数値が高い属性から優先的に使用されます。</p>



<p class="wp-block-paragraph"><em>※各設定方法の詳細は、以下Blog記事の<strong>「<a href="https://ranorex.techmatrix.jp/blog/2021/11/05/ranorexpath_basic/" title="">RanoreXPathの生成条件</a>」</strong>または本記事でダウンロード可能な<strong>「<a href="https://ranorex.techmatrix.jp/wp-content/uploads/変更に強いRanoreXPathの設計方法.zip" target="_blank" rel="noopener" title="">RanoreXPathの設計方法に関する詳細資料</a>」</strong>をご参照ください。</em></p>



<figure class="wp-block-embed is-type-wp-embed is-provider-ranorex wp-block-embed-ranorex"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="YWoZfqUVrj"><a href="https://ranorex.techmatrix.jp/blog/2021/11/05/ranorexpath_basic/">RanoreXPathの基本構造</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="“RanoreXPathの基本構造” — テスト自動化ツール 『Ranorex』" src="https://ranorex.techmatrix.jp/blog/2021/11/05/ranorexpath_basic/embed/#?secret=H1UuiHiLNC#?secret=YWoZfqUVrj" data-secret="YWoZfqUVrj" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<h3 id="setting" class="wp-block-heading anchor"><strong>RanoreXPath設計の進め方と推奨設定</strong></h3>



<p class="wp-block-paragraph">RanoreXPathのメンテナンス工数を抑えるためには、変更に強いパス構造を理解したうえで、目的や状態に応じて適切な設計方法を選択することが重要です。以下では、RanoreXPath設計における基本的な進め方と、代表的なケースごとに推奨される設定について説明します。</p>



<h4 class="wp-block-heading"><strong>1. 基本的な進め方</strong></h4>



<h5 class="wp-block-heading"><strong>Step1. 変更に強いRanoreXPath構造を理解する</strong></h5>



<ul class="wp-block-list">
<li>RanoreXPathに影響を与える主な要因を理解する</li>



<li>変更に強い（メンテナンス工数を抑える）RanoreXPathの考え方を理解する</li>
</ul>



<h5 class="wp-block-heading"><strong>Step2. 変更に強いRanoreXPathを作成する</strong></h5>



<ul class="wp-block-list">
<li>変更されにくい属性を使用する</li>



<li>属性値を正規表現で指定する</li>



<li>パス構造を簡略化する</li>
</ul>



<h5 class="wp-block-heading"><strong>Step3. ケースに応じたRanoreXPathの生成設定をおこなう</strong></h5>



<ul class="wp-block-list">
<li>速度と堅牢性の設定をおこなう</li>



<li>重み付けルールの設定をおこなう</li>
</ul>



<h4 class="wp-block-heading"><strong>2. ケース別の推奨設定</strong></h4>



<figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td class="has-text-align-center" data-align="center"><strong>ケース</strong></td><td class="has-text-align-center" data-align="center"><strong>推奨される設定</strong></td></tr><tr><td class="has-text-align-center" data-align="center">一部のテスト対象オブジェクトのRanoreXPathに動的な属性が使用されている場合</td><td class="has-text-align-center" data-align="center">変更されにくい属性をパスエディターから指定</td></tr><tr><td class="has-text-align-center" data-align="center">属性値の一部が特定の形式で変化する場合</td><td class="has-text-align-center" data-align="center">属性値を正規表現で指定</td></tr><tr><td class="has-text-align-center" data-align="center">一部のオブジェクトの階層構造が変更された/今後変更される可能性のある場合</td><td class="has-text-align-center" data-align="center">パス構造の簡略化</td></tr><tr><td class="has-text-align-center" data-align="center">テスト対象アプリケーションのアップデートにより、内部構造に変更が発生する可能性がある場合</td><td class="has-text-align-center" data-align="center">速度と堅牢性の設定（堅牢性重視型）</td></tr><tr><td class="has-text-align-center" data-align="center">ブラウザーやWindows OSのアップデート後に、テスト対象オブジェクトの認識が安定しない場合</td><td class="has-text-align-center" data-align="center">速度と堅牢性の設定（堅牢性重視型）</td></tr><tr><td class="has-text-align-center" data-align="center">オブジェクト認識速度の向上を優先したい場合</td><td class="has-text-align-center" data-align="center">速度と堅牢性の設定（速度重視型）</td></tr><tr><td class="has-text-align-center" data-align="center">複数のテスト対象オブジェクトのRanoreXPathに動的な属性が使用されている場合</td><td class="has-text-align-center" data-align="center">重み付けルールの設定</td></tr><tr><td class="has-text-align-center" data-align="center">テスト対象アプリケーションの特徴に応じて、特定の属性を優先的に使用したい場合</td><td class="has-text-align-center" data-align="center">特定の属性をパスエディターから指定<br>重み付けルールの設定</td></tr></tbody></table></figure>



<h4 class="wp-block-heading"><strong>3. まとめ</strong></h4>



<p class="wp-block-paragraph">メンテナンス工数を抑えるためには、アプリケーションの内部構造や生成されるRanoreXPathの特性を理解したうえで、どのような設定をおこなうかを検討することが重要です。</p>



<p class="wp-block-paragraph">すべてのテストケースを作成した後にRanoreXPathの設定やパスの修正をしようとすると、本来修正しなくても良いパスも修正することになり、メンテナンス工数が掛かります。初期段階で適切な設定をおこなうことで、将来的にパスを修正する工数も軽減されます。</p>



<h3 id="download" class="wp-block-heading anchor"><strong>資料ダウンロードのご案内</strong></h3>



<p class="wp-block-paragraph">RanoreXPathの設計方法に関する詳細資料は、以下のリンクからダウンロード可能です。<br>※ファイルをダウンロードできない場合は、ブラウザーのセキュリティ設定をご確認ください。</p>



<div style="width: 500px; margin: 0 auto; text-align: center;"><a href="https://ranorex.techmatrix.jp/wp-content/uploads/変更に強いRanoreXPathの設計方法.zip" class="btn btn_commonpages" target="_blank">資料のダウンロードはこちら</a><a></a></div>



<p class="wp-block-paragraph"></p><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/09/09/ranorexpath_generate/">変更に強いRanoreXPathの設計方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>環境差に対応した柔軟な画像比較 (Ranorex + OpenCV連携)</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/08/17/opencv-imagevalidation/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Mon, 17 Aug 2026 00:00:00 +0000</pubDate>
				<category><![CDATA[Ranorex機能]]></category>
		<category><![CDATA[ツール連携]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32187</guid>

					<description><![CDATA[<p>テスト環境の違いにより、人の目では判別しにくい微細な差異が原因で画像検証が失敗するケースがあります。OSSツールであるOpenCVとRanorexを連携し、OpenCVの高度な画像検証アルゴリズムを活用することで、微細な [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/08/17/opencv-imagevalidation/">環境差に対応した柔軟な画像比較 (Ranorex + OpenCV連携)</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="788" height="443" src="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-OpenCV連携.jpg" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/iStock-OpenCV連携.jpg 788w, https://ranorex.techmatrix.jp/wp-content/uploads/iStock-OpenCV連携-300x169.jpg 300w, https://ranorex.techmatrix.jp/wp-content/uploads/iStock-OpenCV連携-768x432.jpg 768w, https://ranorex.techmatrix.jp/wp-content/uploads/iStock-OpenCV連携-320x180.jpg 320w" sizes="(max-width: 788px) 100vw, 788px" /></div>
<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">テスト環境の違いにより、人の目では判別しにくい微細な差異が原因で画像検証が失敗するケースがあります。OSSツールであるOpenCVとRanorexを連携し、OpenCVの高度な画像検証アルゴリズムを活用することで、微細な差分を自動的に許容して検証成功と判定できることを確認しました。</p>



<p class="wp-block-paragraph">今回の記事では、RanorexとOpenCVを組み合わせた画像検証手法についてご紹介します。</p>



<h3 class="wp-block-heading"><strong>OpenCVとは</strong></h3>



<p class="wp-block-paragraph">OpenCV（Open Source Computer Vision Library）は、Intelが開発した画像処理・画像解析・コンピュータビジョン向けのオープンソースライブラリです。</p>



<p class="wp-block-paragraph">2,500以上の最適化されたアルゴリズムが含まれており、<strong>画像の読み込み</strong>、<strong>保存</strong>、<strong>リサイズ</strong>、<strong>回転</strong>、<strong>グレースケール化</strong>、<strong>ノイズ除去</strong>などの基本的な処理に加え、画像比較に使われる<strong>構造類似度指標</strong>（<strong>SSIM</strong>: Structural Similarity Index Measure）などの高度なアルゴリズムも備えています。</p>



<p class="wp-block-paragraph">SSIMは単純なピクセル差分ではなく、画像の明るさ、コントラスト、構造の類似性を評価し、<strong>人間の視覚に近い形で画像の差異を検出</strong>することができます。OpenCVはこのように幅広い画像処理機能に加え、高度な画像比較技術も提供しており、幅広い分野で利用されています。</p>



<p class="wp-block-paragraph">OpenCVの公式サイトは以下です。(2026年8月時点)<br><a href="https://opencv.org/" title="">https://opencv.org/</a></p>



<h3 class="wp-block-heading"><strong>RanorexとOpenCVの連携でできること</strong></h3>



<p class="wp-block-paragraph">Ranorexの画像検証機能は、ピクセル単位での厳密な比較で高精度な画像比較ができます。さらに、OpenCVと連携することで、OpenCVの<strong>構造類似度指標（SSIM）</strong>を用いたより高度な画像比較を利用できるようになります。この連携により、<strong>表示環境の違いによる微細な差分を柔軟に許容した画像検証が可能</strong>になります。</p>



<p class="wp-block-paragraph">たとえば、<strong>ブラウザーや実行環境の違いにより発生する文字やグラフィックのわずかなズレや揺れを自動検知・調整</strong>することで、<strong>人間の目では認識できない微細な差分を許容</strong>し<strong>、</strong>より実用的な判定をおこなうことができます。※画像の複雑さなどで対応できないケースもあります。</p>



<h3 class="wp-block-heading"><strong>RanorexとOpenCVの連携</strong></h3>



<p class="wp-block-paragraph">Ranorexは <strong>C# / .NET Framework</strong> ベースで動作するツールのため、C#用のオープンソースラッパーである OpenCvSharp を利用します。ここでは、弊社環境で検証した画像比較の設定をご紹介します。※2026年8月時点の情報です。</p>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size wp-block-paragraph"><strong>1.RanorexプロジェクトにOpenCvSarpを追加する</strong></p>



<p class="wp-block-paragraph">1.Ranorexのプロジェクトで、NuGet パッケージ マネージャーを開く。<br>メニューバー「プロジェクト」&gt;「パッケージの管理」</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="397" height="350" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-147.png" alt="" class="wp-image-32195" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-147.png 397w, https://ranorex.techmatrix.jp/wp-content/uploads/image-147-300x264.png 300w" sizes="(max-width: 397px) 100vw, 397px" /></figure>



<p class="wp-block-paragraph">2.検索ボックスに「OpenCvSharp」を入力し、<strong>OpenCvSharp core library</strong> と <strong>OpenCvSharp4 native bindings for Windows x64</strong> をプロジェクトにインストールする。</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="324" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-148-1024x324.png" alt="" class="wp-image-32197" style="width:848px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-148-1024x324.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-148-300x95.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-148-768x243.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-148.png 1376w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">※今回、ご紹介するユーザーコードでは <strong>StronglyTyped.PixelMatch.net</strong> のパッケージも利用しますので、追加が必要です。</p>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size wp-block-paragraph"><strong>2.ビルド対象（プラットフォームターゲット）を統一する</strong></p>



<p class="wp-block-paragraph">1.Ranorexのプロジェクトで、プロジェクトオプションを開く。<br>メニューバー <strong>プロジェクト</strong> &gt; <strong>パッケージの管理 </strong></p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="442" height="545" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-149.png" alt="" class="wp-image-32201" style="width:301px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-149.png 442w, https://ranorex.techmatrix.jp/wp-content/uploads/image-149-243x300.png 243w" sizes="(max-width: 442px) 100vw, 442px" /></figure>



<p class="wp-block-paragraph">2.ターゲットCPUをインストールしたOpenCsSharpのビット数に合わせる。上記でインストールしたパッケージは64bitのため、<strong>64-bit Intel-compatible processor</strong> に設定する。</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="972" height="533" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-150.png" alt="" class="wp-image-32204" style="width:777px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-150.png 972w, https://ranorex.techmatrix.jp/wp-content/uploads/image-150-300x165.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-150-768x421.png 768w" sizes="(max-width: 972px) 100vw, 972px" /></figure>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size wp-block-paragraph"><strong>3.期待画像のスクリーンショットを用意する</strong></p>



<p class="wp-block-paragraph">今回、ご紹介するユーザーコードでは、手動で取得したスクリーンショットを期待画像として設定できますので、期待画像をローカルマシンに保存ください。また、今回の画像形式はPNGにしています。</p>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size wp-block-paragraph"><strong>4.TMX提供のオートメーションヘルパーの「ReportPageScreenshot」でスクリーンショットの取得アクションを追加する</strong></p>



<p class="wp-block-paragraph"><strong><a href="https://ranorex.techmatrix.jp/blog/2026/06/12/tmx_automation_helpers_reportpagescreenshot/" title="">TMX Automation Helpers リファレンス６：スクリーンショットの出力</a></strong>をご参照ください。<br>アクションを追加すると以下のような設定ができます。画像ファイルは <strong>モジュール名_yyyyMMdd_HHmm_出力画像ファイル名.png</strong> の名前で出力されます。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="908" height="54" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-162.png" alt="" class="wp-image-32277" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-162.png 908w, https://ranorex.techmatrix.jp/wp-content/uploads/image-162-300x18.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-162-768x46.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size wp-block-paragraph"><strong>5.OpenCVを利用して、期待画像と実行時に取得した画像を比較するコードを記述する</strong></p>



<p class="wp-block-paragraph">1.ユーザーコードコレクションをプロジェクトに追加する</p>



<p class="wp-block-paragraph">追加方法やメソッドの作成についての詳細は<strong><a href="https://ranorex.techmatrix.jp/blog/2020/06/19/creating-tests-using-source-code_user-code-collection/" title="">ソースコードを使用したテスト作成 / ユーザーコードコレクション</a></strong>をご参照ください。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="376" height="117" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-163.png" alt="" class="wp-image-32282" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-163.png 376w, https://ranorex.techmatrix.jp/wp-content/uploads/image-163-300x93.png 300w" sizes="(max-width: 376px) 100vw, 376px" /></figure>



<p class="wp-block-paragraph">2.作成されたユーザーコードコレクションファイルに使用するパッケージを追加する</p>



<pre class="wp-block-code"><code>using System.IO;
using OpenCvSharp;         
using OpenCvSharp.Quality; </code></pre>



<p class="wp-block-paragraph">3.クラスに以下のメソッドを記述する</p>



<div style="background-color: #272822; color: #f8f8f2; padding: 15px; border-radius: 8px;
            max-height: 500px; overflow-x: auto; overflow-y: auto; white-space: pre; font-size: 14px; line-height: 1.5;">
  <code style="color: #f8f8f2;">
//取得したスクリーンショットの検索メソッド
private static string FindExistingImagePath(string currentImgDirPath, string mdName, string currentImgName, System.DateTime baseTime)
{
    int[] offsets = { -1, 0, 1 };  // ここでoffsetsを定義

    foreach (int offset in offsets)
    {
        System.DateTime checkTime = baseTime.AddMinutes(offset);
        string nowTimeStr = checkTime.ToString("yyyyMMdd_HHmm");
        string candidateFileName = $"{mdName}_{nowTimeStr}_{currentImgName}.png";
        string candidatePath = Path.Combine(currentImgDirPath, candidateFileName);

        if (File.Exists(candidatePath))
        {
            Report.Info($"存在する画像ファイルを発見: {candidatePath}");
            return candidatePath;
        }
    }
    return null;
}

//OpenCVを利用したSSIMによる画像検証メソッド
public static bool CompareImageBySSIM(string baseImgPath, string currentImgDirPath, string currentImgName, double ssimThreshold = 0.95)
{
    var curModule = TestModuleLeaf.Current;
    string mdName = curModule.Name;
    System.DateTime datetime = System.DateTime.Now;

    string currentImgPath = FindExistingImagePath(currentImgDirPath, mdName, currentImgName, datetime);
    if (currentImgPath == null)
    {
        Report.Error("±1分差のファイルが見つかりませんでした。ファイル名やディレクトリを確認してください。");
        return false;
    }

    using (Mat mat1Gray = Cv2.ImRead(baseImgPath, ImreadModes.Grayscale))
    using (Mat mat2Gray = Cv2.ImRead(currentImgPath, ImreadModes.Grayscale))
    {
        if (mat1Gray.Empty() || mat2Gray.Empty())
        {
            Report.Error("画像の読み込みに失敗しました。ファイルパスを確認してください。");
            return false;
        }

        // 背景（白）ではない「文字が存在する最小の四角枠」を自動検出
        Rect textRegion;
        using (Mat inverted = new Mat())
        {
            Cv2.Threshold(mat1Gray, inverted, 250, 255, ThresholdTypes.BinaryInv);
            textRegion = Cv2.BoundingRect(inverted);
        }

        if (textRegion.Width == 0 || textRegion.Height == 0)
        {
            textRegion = new Rect(0, 0, mat1Gray.Width, mat1Gray.Height);
        }
        else
        {
            textRegion.X = Math.Max(0, textRegion.X - 20);
            textRegion.Y = Math.Max(0, textRegion.Y - 20);
            textRegion.Width = Math.Min(mat1Gray.Width - textRegion.X, textRegion.Width + 40);
            textRegion.Height = Math.Min(mat1Gray.Height - textRegion.Y, textRegion.Height + 40);
        }

        // 割り出した「文字エリア」をテンプレート画像として切り出す
        using (Mat templateMat = new Mat(mat1Gray, textRegion))
        using (Mat matchResult = new Mat())
        {
            Cv2.MatchTemplate(mat2Gray, templateMat, matchResult, TemplateMatchModes.CCoeffNormed);
            Cv2.MinMaxLoc(matchResult, out _, out _, out _, out OpenCvSharp.Point maxLoc);

            float shiftX = textRegion.X - maxLoc.X;
            float shiftY = textRegion.Y - maxLoc.Y;

            Report.Info($"[位置補正自動計算] 検出された文字エリアのズレ -&gt; X方向: {shiftX}px, Y方向: {shiftY}px");

            // アフィン変換行列を作成してテスト対象画像を全体シフト
            using (Mat translationMatrix = new Mat(2, 3, MatType.CV_32FC1))
            {
                translationMatrix.Set&lt;float&gt;(0, 0, 1.0f);
                translationMatrix.Set&lt;float&gt;(0, 1, 0.0f);
                translationMatrix.Set&lt;float&gt;(0, 2, shiftX);
                translationMatrix.Set&lt;float&gt;(1, 0, 0.0f);
                translationMatrix.Set&lt;float&gt;(1, 1, 1.0f);
                translationMatrix.Set&lt;float&gt;(1, 2, shiftY);

                using (Mat resizedMat2AlignedAll = new Mat())
                {
                    OpenCvSharp.Size baseSize = mat1Gray.Size();
                    Cv2.WarpAffine(mat2Gray, resizedMat2AlignedAll, translationMatrix, baseSize);

                    // 文字エリア（ROI）を切り出す
                    using (Mat roiBaseRaw = new Mat(mat1Gray, textRegion))
                    using (Mat roiTargetAlignedRaw = new Mat(resizedMat2AlignedAll, textRegion))
                    {
                        // --- 【修正】二値化＋モルフォロジー演算でエッジのガタつきを平滑化 ---
                        using (Mat binBase = new Mat())
                        using (Mat binTarget = new Mat())
                        using (Mat roiBase = new Mat())
                        using (Mat roiTargetAligned = new Mat())
                        {
                            // 固定値（200）で一律二値化し、判定基準のブレを無くす
                            Cv2.Threshold(roiBaseRaw, binBase, 200, 255, ThresholdTypes.Binary);
                            Cv2.Threshold(roiTargetAlignedRaw, binTarget, 200, 255, ThresholdTypes.Binary);

                            // 3x3の構造要素（カーネル）を作成
                            using (Mat kernel = Cv2.GetStructuringElement(MorphShapes.Rect, new OpenCvSharp.Size(3, 3)))
                            {
                                // クロージング処理（文字のフチの微細なギザギザ・ノイズを埋めて滑らかにする）
                                Cv2.MorphologyEx(binBase, roiBase, MorphTypes.Close, kernel);
                                Cv2.MorphologyEx(binTarget, roiTargetAligned, MorphTypes.Close, kernel);
                            }

                            // 平滑化された画像同士でSSIMを計算
                            using (var ssimCalc = QualitySSIM.Create(roiBase))
                            {
                                Scalar score = ssimCalc.Compute(roiTargetAligned);
                                double meanSSIM = score.Val0;

                                Report.Info($"[SSIM判定] エッジ平滑化後のスコア: {meanSSIM:F4} (閾値: {ssimThreshold})");

                                // 差分画像の保存処理
                                try
                                {
                                    using (Mat diffMat = new Mat())
                                    {
                                        Cv2.Absdiff(roiBase, roiTargetAligned, diffMat);
                                        using (Mat threshDiff = new Mat())
                                        {
                                            Cv2.Threshold(diffMat, threshDiff, 1, 255, ThresholdTypes.Binary);
                                            using (Mat highlightMat = new Mat())
                                            {
                                                Cv2.CvtColor(roiTargetAlignedRaw, highlightMat, ColorConversionCodes.GRAY2BGR);
                                                highlightMat.SetTo(new Scalar(0, 0, 255), threshDiff);

                                                string directory = Path.GetDirectoryName(currentImgPath);
                                                string filename = Path.GetFileNameWithoutExtension(currentImgPath);
                                                string diffImgPath = Path.Combine(directory, filename + "_diff.png");

                                                Cv2.ImWrite(diffImgPath, highlightMat);
                                                Report.Info($"差分画像を保存しました: {diffImgPath}");
                                            }
                                        }
                                    }
                                }
                                catch (Exception ex)
                                {
                                    Report.Warn($"差分画像の生成中にエラーが発生しました: {ex.Message}");
                                }

                                if (meanSSIM &gt;= ssimThreshold)
                                {
                                    Report.Success("文字の位置ズレ、滲み、微細なガタつきはすべて許容されました。");
                                    return true;
                                }
                                else
                                {
                                    Report.Failure("形状平滑化後もスコアが低いため、文字の欠落やレイアウト崩れが発生しています。");
                                    return false;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
  </code>
</div>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">記述内容：</p>



<ul class="wp-block-list">
<li>文字が存在する領域（最小の四角枠）を自動検出</li>



<li>文字領域をテンプレートして、文字領域の位置ズレを補正</li>



<li>文字領域のクロージング処理で文字の輪郭の微細なギザギザやノイズを滑らかに補正</li>



<li>SSIM（構造類似度指数）を用いた画像比較</li>



<li>2つの画像の異なる箇所を赤色でハイライトした差分画像を保存</li>
</ul>



<p class="wp-block-paragraph">4.手順3で作成したメソッドを使ったユーザーコードアクションを「ReportPageScreenshot」メソッドのユーザーコードアクションの次に追加する</p>



<ul class="wp-block-list">
<li>レコーディングモジュールの <strong>新しいアクションの追加</strong> のプルダウンメニューから、<strong>ユーザーコード（User code）</strong>‐<strong>ライブラリから選択</strong>を選択します。</li>
</ul>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="792" height="246" src="https://ranorex.techmatrix.jp/wp-content/uploads/2020/04/図6.png" alt="" class="wp-image-4073" style="width:512px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/2020/04/図6.png 792w, https://ranorex.techmatrix.jp/wp-content/uploads/2020/04/図6-300x93.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/2020/04/図6-768x239.png 768w" sizes="(max-width: 792px) 100vw, 792px" /></figure>



<ul class="wp-block-list">
<li>以下の <strong>CompareImageBySSIM</strong> メソッドを選択します。</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="834" height="170" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-166.png" alt="" class="wp-image-32319" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-166.png 834w, https://ranorex.techmatrix.jp/wp-content/uploads/image-166-300x61.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-166-768x157.png 768w" sizes="(max-width: 834px) 100vw, 834px" /></figure>



<p class="wp-block-paragraph">アクションを追加すると以下のような設定ができます。閾値は1に近い数値を設定することで、人の目では分からない微差のみを成功とできます。<br>※0.98以下になると人の目でも認識できる差分が成功となるケースがあります。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="921" height="83" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-165.png" alt="" class="wp-image-32316" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-165.png 921w, https://ranorex.techmatrix.jp/wp-content/uploads/image-165-300x27.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-165-768x69.png 768w" sizes="(max-width: 921px) 100vw, 921px" /></figure>



<h3 class="wp-block-heading"><strong>検証結果</strong></h3>



<p class="has-medium-font-size wp-block-paragraph"><strong>検証対象の画像</strong></p>



<p class="wp-block-paragraph">環境の違いにより、全体的な文字ズレと文字の滲み・ギザギザ感が発生している画像を検証対象とします。たとえば、Chromeブラウザーで取得した期待画像を設定しており、テスト実行環境ではEdge Chromiumブラウザーでテストするケースなど。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="421" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-167-1024x421.png" alt="" class="wp-image-32340" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-167-1024x421.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-167-300x123.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-167-768x315.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-167-1536x631.png 1536w, https://ranorex.techmatrix.jp/wp-content/uploads/image-167.png 1709w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="792" height="725" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-168.png" alt="" class="wp-image-32423" style="width:416px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-168.png 792w, https://ranorex.techmatrix.jp/wp-content/uploads/image-168-300x275.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-168-768x703.png 768w" sizes="(max-width: 792px) 100vw, 792px" /></figure>
</div>


<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size wp-block-paragraph"><strong>検証結果レポート</strong></p>



<p class="wp-block-paragraph">文字の位置ズレや微細なガタつきを自動検出して、画像検証された結果、スコアは1で完全に一致と判定され、画像検証は成功しました。</p>



<p class="wp-block-paragraph"><strong>成功パターン</strong></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="538" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-172-1024x538.png" alt="" class="wp-image-32418" style="width:930px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-172-1024x538.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-172-300x158.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-172-768x404.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-172.png 1499w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">人の目でも認識できる差分がある場合は、画像検証が失敗します。</p>



<p class="wp-block-paragraph"><strong>失敗パターン</strong></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="681" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-171-1024x681.png" alt="" class="wp-image-32415" style="width:935px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-171-1024x681.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-171-300x199.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-171-768x511.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-171.png 1382w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">差分画像は出力先(currentImgDirPath)に保存されます。</p>



<p class="wp-block-paragraph"><strong>差分画像</strong></p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="760" height="453" src="https://ranorex.techmatrix.jp/wp-content/uploads/Recording1_20260813_1558_実際の画像_diff.png" alt="" class="wp-image-32412" style="width:589px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/Recording1_20260813_1558_実際の画像_diff.png 760w, https://ranorex.techmatrix.jp/wp-content/uploads/Recording1_20260813_1558_実際の画像_diff-300x179.png 300w" sizes="(max-width: 760px) 100vw, 760px" /></figure>



<div style="height:19px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size wp-block-paragraph"><strong>サンプルソリューション</strong></p>



<p class="wp-block-paragraph">本検証ができるサンプルソリューションは、以下のボタンからダウンロードできます。<br>※ダウンロードが始まらない場合は、Edgeブラウザーでお試しください。</p>



<div class="wp-block-file"><a id="wp-block-file--media-160afd91-6602-4015-8483-dc2ad511bcbb" href="https://ranorex.techmatrix.jp/wp-content/uploads/画像検証_OpenCV連携.zip">画像検証_OpenCV連携ソリューション</a><a href="https://ranorex.techmatrix.jp/wp-content/uploads/画像検証_OpenCV連携.zip" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-160afd91-6602-4015-8483-dc2ad511bcbb">ダウンロード</a></div>



<h3 class="wp-block-heading"><strong>まとめ</strong></h3>



<p class="wp-block-paragraph">Ranorexの画像検証機能は、ピクセル単位での厳密な比較で高精度な画像比較ができます。さらに、OpenCVと連携することで、OpenCVの<strong>構造類似度指標（SSIM）</strong>を用いたより高度な画像比較を利用できるようになり、人の目では判別しづらい微細な文字のズレやガタつきを補正し、許容範囲として正確に判定できます。</p>



<p class="wp-block-paragraph">今回ご紹介したコードのように、お客様ご自身でOpenCVと連携したカスタム画像検証を実装することで、より実用的で柔軟な画像比較が可能になります。ぜひOpenCVの強力なアルゴリズムを活用し、お客様のニーズに合った画像検証環境を構築ください。</p><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/08/17/opencv-imagevalidation/">環境差に対応した柔軟な画像比較 (Ranorex + OpenCV連携)</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Visual Studio Build Tools 2022のインストール手順</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/08/14/buildtoolsforvisualstudio2022/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Fri, 14 Aug 2026 08:04:06 +0000</pubDate>
				<category><![CDATA[不具合・制限事項]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32309</guid>

					<description><![CDATA[<p>現在の最新版であるRanorex 12.7では、Ranorexの動作に必要なソフトウェア要件の一つである、Visual Studio Build Tools 2022および2026が新たにサポートされました。それにともな [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/08/14/buildtoolsforvisualstudio2022/">Visual Studio Build Tools 2022のインストール手順</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="1024" height="512" src="https://ranorex.techmatrix.jp/wp-content/uploads/install_buildtools2019-1024x512.png" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/install_buildtools2019-1024x512.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/install_buildtools2019-300x150.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/install_buildtools2019-768x384.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/install_buildtools2019-1536x768.png 1536w, https://ranorex.techmatrix.jp/wp-content/uploads/install_buildtools2019-2048x1024.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></div>
<p class="wp-block-paragraph">現在の最新版であるRanorex 12.7では、Ranorexの動作に必要なソフトウェア要件の一つである、Visual Studio Build Tools 2022および2026が新たにサポートされました。<br>それにともない、Visual Studio Build Tools 2019、2022、2026のいずれかのバージョンのインストールが必要となります。</p>



<p class="wp-block-paragraph">このソフトウェアは、オンライン環境ではRanorexのインストール時に自動でインストールされますが、現在、Ranorexと互換性のない製品バージョンであるVisual Studio Build Tools 2022（MSBuild 17.14.36以降）がインストールされます。<em>※Visual Studio Build Tools 2022（MSBuild 17.14.35以前）の製品バージョンについては、Ranorexと互換性があります。</em></p>



<p class="wp-block-paragraph">オンライン環境・オフライン環境ともに、Ranorexと互換性のない製品バージョンであるVisual Studio Build Tools 2022（MSBuild 17.14.36以降）がインストールされている場合、Ranorex 12.7においてソリューションを開くことができず、テスト作成および実行をおこなうことができません。</p>



<p class="wp-block-paragraph">本事象の対応策として、以下の手順にしたがい、手動でVisual Studio Build Tools 2022をインストールください。</p>



<h3 class="wp-block-heading"><strong>目次</strong></h3>



<ol class="wp-block-list">
<li>マシンが外部ネットワークに接続可能な場合の手順</li>



<li>マシンが外部ネットワークに接続できない場合</li>



<li>お問い合わせ</li>
</ol>



<p class="wp-block-paragraph">※以下の内容については、2026/8/12時点での情報を掲載しております。時期によりURLや画面レイアウトなどが変更されている可能性がございますが、ご了承ください。</p>



<h3 class="wp-block-heading anchor" id="connected"><strong>マシンが外部ネットワークに接続可能な場合の手順</strong></h3>



<p class="wp-block-paragraph">1. Ranorexをインストールしているマシンで、以下からvs_BuildTools.exe（MSBuild 17.14.35）をダウンロードします。</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://download.visualstudio.microsoft.com/download/pr/2ae938ff-cbb6-4e4d-990c-7794a7a03745/650517f804f6b1fc7d1e274202ee43e2d027cbdbf9376a8e94c7c5bb32abfd99/vs_BuildTools.exe">vs_BuildTools.exe</a></div>
</div>



<p class="wp-block-paragraph"><a href=""></a>2. 手順1でダウンロードしたインストーラーをダブルクリックで起動し、表示された以下の画面で[続行]をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="464" height="277" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png" alt="" class="wp-image-32218" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png 464w, https://ranorex.techmatrix.jp/wp-content/uploads/image-152-300x179.png 300w" sizes="(max-width: 464px) 100vw, 464px" /></figure>



<p class="wp-block-paragraph">3. [C++ によるデスクトップ開発]を選択し、[インストール]をクリックします。</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="510" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-151-1024x510.png" alt="" class="wp-image-32221" style="width:783px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-151-1024x510.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151-300x150.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151-768x383.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151.png 1228w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">4. インストール完了後、マシンを再起動し、Ranorex Studioのソリューションが正常に開けることをご確認ください。</p>



<h3 class="wp-block-heading anchor" id="unconnected"><strong>マシンが外部ネットワークに接続できない場合</strong></h3>



<p class="wp-block-paragraph">この場合、ネットワーク接続が可能な別のマシンで必要なファイルをダウンロードのうえ、Ranorexをインストールしているマシンにそのファイルを配置し、コマンドライン経由でのインストールが必要となります。以下の手順にてお試しください。<br><em>※以降のすべての作業は、管理者権限で実施ください。</em></p>



<ul class="wp-block-list">
<li><strong>参考サイト</strong><br><a href="https://learn.microsoft.com/ja-jp/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022#use-the-command-line-to-create-a-local-cache">https://learn.microsoft.com/ja-jp/visualstudio/install/create-an-offline-installation-of-visual-studio?</a><a href="https://learn.microsoft.com/ja-jp/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022#use-the-command-line-to-create-a-local-cache" title="">v</a><a href="https://learn.microsoft.com/ja-jp/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022#use-the-command-line-to-create-a-local-cache">iew=vs-2022#use-the-command-line-to-create-a-local-cache</a></li>
</ul>



<h5 class="wp-block-heading"><strong>(1) 外部ネットワークが繋がる環境での作業</strong></h5>



<p class="wp-block-paragraph">1. 以下からvs_BuildTools.exe（MSBuild 17.14.35）をダウンロードします。</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://download.visualstudio.microsoft.com/download/pr/2ae938ff-cbb6-4e4d-990c-7794a7a03745/650517f804f6b1fc7d1e274202ee43e2d027cbdbf9376a8e94c7c5bb32abfd99/vs_BuildTools.exe">vs_BuildTools.exe</a></div>
</div>



<p class="wp-block-paragraph">2. Windows PowerShellを起動します。</p>



<p class="wp-block-paragraph">3. Windows PowerShellにて、手順1でダウンロードした、vs_BuildTools.exeを置いたフォルダに移動します。</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>cd c:\tmp</code></pre></div>



<p class="wp-block-paragraph">4. 以下のコマンドを実行し、ローカルレイアウトを作成します。<br>　 実行後、コマンドを実行したフォルダに、vslayoutフォルダが生成されます。<br>　 <em>※コマンドプロンプトの場合、vs_buildtools.exeの起動コマンドの冒頭の./を削除すると実行が可能です</em></p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>./vs_buildtools.exe --layout ./vslayout --add Microsoft.VisualStudio.Workload.VCTools --includeOptional --lang ja-JP　</code></pre></div>



<h5 class="wp-block-heading"><strong>(2) Visual Studio <strong>Build Tools</strong></strong> <strong>2022のインストール先での作業</strong></h5>



<p class="wp-block-paragraph">1. 「(1) ネットワークが繋がる環境」で生成されたvslayoutフォルダを、Visual Studio Build Tools 2022をインストールしたいマシンの任意のフォルダに配置します。</p>



<p class="wp-block-paragraph">2. Windows PowerShellを起動します。</p>



<p class="wp-block-paragraph">3. Windows PowerShellにて、「(1) ネットワークが繋がる環境」の手順4で作成したvslayoutフォルダに移動します。</p>



<p class="wp-block-paragraph">4. 以下のコマンドを実行します。<br> 　<em>※コマンドプロンプトの場合、vs_buildtools.exeの起動コマンドの冒頭の./を削除すると実行が可能です</em></p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-plain"><code>./vs_buildtools.exe --noweb --add Microsoft.VisualStudio.Workload.VCTools --includeOptional</code></pre></div>



<p class="wp-block-paragraph">5. 表示されるVisual Studio Installerにて「続行」をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="464" height="277" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png" alt="" class="wp-image-32218" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png 464w, https://ranorex.techmatrix.jp/wp-content/uploads/image-152-300x179.png 300w" sizes="(max-width: 464px) 100vw, 464px" /></figure>



<p class="wp-block-paragraph">6. [C++ によるデスクトップ開発]を選択し、[インストール]をクリックします。</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="510" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-151-1024x510.png" alt="" class="wp-image-32221" style="width:783px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-151-1024x510.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151-300x150.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151-768x383.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151.png 1228w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">7. インストール完了後、マシンを再起動し、Ranorex Studioのソリューションが正常に開けることをご確認ください。</p>



<h3 class="wp-block-heading">お問い合わせ</h3>



<p class="wp-block-paragraph">上記手順にてインストールがおこなえないなど、その他不明点がございましたら、担当営業にご連絡ください。<br>保守サポートにご加入のお客様はRanorexテクニカルサポートまでご連絡ください。</p>



<p class="wp-block-paragraph"></p><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/08/14/buildtoolsforvisualstudio2022/">Visual Studio Build Tools 2022のインストール手順</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Microsoft MSBuildのアップデートによるRanorex Studio エラーの対応方法</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/08/07/msbuild_update_error/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Fri, 07 Aug 2026 00:22:23 +0000</pubDate>
				<category><![CDATA[不具合・制限事項]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=32210</guid>

					<description><![CDATA[<p>最新のWindowsおよびVisual Studioのアップデートにより、Ranorex Studioと互換性のないMicrosoft MSBuildのバージョンがインストールされる場合があります。このMicrosoft [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/08/07/msbuild_update_error/">Microsoft MSBuildのアップデートによるRanorex Studio エラーの対応方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="1024" height="656" src="https://ranorex.techmatrix.jp/wp-content/uploads/report_analysis_eyecatch-1024x656.png" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/report_analysis_eyecatch-1024x656.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/report_analysis_eyecatch-300x192.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/report_analysis_eyecatch-768x492.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/report_analysis_eyecatch-1536x983.png 1536w, https://ranorex.techmatrix.jp/wp-content/uploads/report_analysis_eyecatch.png 1757w" sizes="(max-width: 1024px) 100vw, 1024px" /></div>
<p class="wp-block-paragraph">最新のWindowsおよびVisual Studioのアップデートにより、Ranorex Studioと互換性のないMicrosoft MSBuildのバージョンがインストールされる場合があります。<br>このMicrosoft MSBuildのインストールにより、Ranorex Studio 12.7.1以降のバージョン（2026年7月31日時点）でソリューションファイルを読み込む際に、エラーが発生して正しく開くことができない事象が確認されています。</p>



<p class="has-background wp-block-paragraph" style="background-color:#f0f0f0">MSBuildはソリューションやプロジェクトの読み込み・ビルドをおこなうためのツールです。Ranorex Studioとの互換性に問題がある場合、ソリューションファイルの読み込みの時点でエラーが発生する場合があります。</p>



<p class="wp-block-paragraph">本記事では、新しいバージョンのMicrosoft MSBuildと、Ranorex Studioの互換性の問題が解消するまでの、エラーの対応方法について説明します。<br><em>※本事象が解消したRanorex Studioバージョンについては、開発元よりリリースがあり次第</em>、<em>順次公開予定です</em></p>



<h3 class="wp-block-heading"><strong>目次</strong></h3>



<ol class="wp-block-list">
<li>エラー内容</li>



<li>互換性のあるMSBuildバージョン</li>



<li>エラーの対応方法</li>



<li>お問い合わせ</li>
</ol>



<h3 class="wp-block-heading"><strong>エラー内容</strong></h3>



<p class="wp-block-paragraph">Ranorex 12.7.1以降のバージョンのインストールまたはバージョンアップ後、Ranorex Studioと互換性のないMSBuildのバージョンがインストールされることにより、新規ソリューションファイルおよび既存ソリューションファイルを開く際に、以下のエラーが発生する場合があります。</p>



<ul class="wp-block-list">
<li>新規ソリューションファイルのオープン時</li>
</ul>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="455" height="190" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-159.png" alt="" class="wp-image-32230" style="width:378px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-159.png 455w, https://ranorex.techmatrix.jp/wp-content/uploads/image-159-300x125.png 300w" sizes="(max-width: 455px) 100vw, 455px" /></figure>



<ul class="wp-block-list">
<li>既存ソリューションファイルのオープン時</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="375" height="147" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-158.png" alt="" class="wp-image-32229" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-158.png 375w, https://ranorex.techmatrix.jp/wp-content/uploads/image-158-300x118.png 300w" sizes="(max-width: 375px) 100vw, 375px" /></figure>



<h3 class="wp-block-heading"><strong>互換性のあるMSBuildバージョン</strong></h3>



<p class="wp-block-paragraph">以下のMSBuildバージョンが、Ranorex Studio 12.7.1以降のバージョン（2026年7月31日時点）と互換性があります。<br><em>※MSBuild 17.14.36以降およびMSBuild 18.3.4以降のバージョンは、この互換性の問題の影響を受けます。</em></p>



<figure class="wp-block-table is-style-regular"><table class="has-fixed-layout"><tbody><tr><td class="has-text-align-center" data-align="center"><strong>MSBuildバージョン</strong></td><td class="has-text-align-center" data-align="center"><strong>Ranorex Studio 12.7.1以降のバージョンと</strong><br><strong>互換性のあるバージョン詳細</strong></td></tr><tr><td class="has-text-align-center" data-align="center">MSBuild 16（Visual Studio Build Tools 2019）</td><td class="has-text-align-center" data-align="center">全バージョン</td></tr><tr><td class="has-text-align-center" data-align="center">MSBuild 17（Visual Studio Build Tools 2022）</td><td class="has-text-align-center" data-align="center">17.14.35以前のバージョン</td></tr><tr><td class="has-text-align-center" data-align="center">MSBuild 18（Visual Studio Build Tools 2026）</td><td class="has-text-align-center" data-align="center">18.3.3以前のバージョン</td></tr></tbody></table></figure>



<h3 class="wp-block-heading"><strong>エラーの対応方法</strong></h3>



<p class="wp-block-paragraph">本エラーの対応方法は、対象のマシンにインストール済みのMSBuildのバージョンによって異なります。<br>Visual Studio Installerまたはコントロールパネル &gt; プログラム &gt; プログラムと機能より、Visual Studuio Build Toolsのインストール状況およびバージョンを参照のうえ、該当する対応方法を確認ください。</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td class="has-text-align-center" data-align="center"><strong>インストール状況</strong></td><td class="has-text-align-center" data-align="center"><strong>影響の有無</strong></td><td class="has-text-align-center" data-align="center"><strong>対応方法</strong></td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2019</td><td class="has-text-align-center" data-align="center">無し</td><td class="has-text-align-center" data-align="center">&#8211;</td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2022（17.14.35以前）</td><td class="has-text-align-center" data-align="center">無し</td><td class="has-text-align-center" data-align="center">&#8211;</td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2022（17.14.36以降）</td><td class="has-text-align-center" data-align="center">有り</td><td class="has-text-align-center" data-align="center">対応方法２</td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2026（18.3.3以前）</td><td class="has-text-align-center" data-align="center">無し</td><td class="has-text-align-center" data-align="center">&#8211;</td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2026（18.3.4以降）</td><td class="has-text-align-center" data-align="center">有り</td><td class="has-text-align-center" data-align="center">対応方法３</td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2019<br>Visual Studio Build Tools 2022（17.14.36以降）<br><em>※上記２つのバージョンがインストールされている場合</em></td><td class="has-text-align-center" data-align="center">有り</td><td class="has-text-align-center" data-align="center">対応方法１<br>または<br>対応方法２<br><br><em>※対応方法１の場合、既存のVisual Studio Build Tools 2022のアンインストールが事前に必要となります</em></td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2019<br>Visual Studio Build Tools 2026（18.3.4以降）<br><em>※上記２つのバージョンがインストールされている場合</em></td><td class="has-text-align-center" data-align="center">有り</td><td class="has-text-align-center" data-align="center">対応方法１<br>または<br>対応方法３<br><br><em>※対応方法１の場合、既存のVisual Studio Build Tools 2026のアンインストールが事前に必要となります</em></td></tr><tr><td class="has-text-align-center" data-align="center">Visual Studio Build Tools 2022（17.14.36以降）<br>Visual Studio Build Tools 2026（18.3.4以降）<br><em>※上記２つのバージョンがインストールされている場合</em></td><td class="has-text-align-center" data-align="center">有り</td><td class="has-text-align-center" data-align="center">対応方法２<br>または<br>対応方法３<br><br><em>※対応方法２の場合、既存のVisual Studio Build Tools 2026のアンインストールが事前に必要となります</em></td></tr></tbody></table></figure>



<h4 class="wp-block-heading">対応方法１：MSBuild 16を使用する</h4>



<p class="wp-block-paragraph">Ranorex Studioと互換性のあるMSBuild 16を使用（参照）するように、Ranorex Studioの設定ファイルの値を変更します。</p>



<p class="wp-block-paragraph">[手順]</p>



<p class="wp-block-paragraph">1. 以下のRanorex Studioの設定ファイルを、それぞれ任意の場所にコピーして開きます。<br> 　C:\Program Files (x86)\Ranorex\Studio\Bin\RanorexStudio.exe.config<br> 　C:\Program Files (x86)\Ranorex\Studio\Bin\x64\RanorexStudio.exe.config</p>



<p class="wp-block-paragraph">2. 両ファイル内の以下の行の値を、&#8221;17&#8243;から&#8221;16&#8243;に書き換えます。<br><em>    ※書き換え前に、必ずConfigファイルのバックアップを取得いただくようお願いいたします。</em><br>　 &lt;add key=&#8221;MSBuildVersion&#8221; value=&#8221;16&#8243; /&gt;</p>



<p class="wp-block-paragraph">3. 更新した両ファイルを、以下のパスに再度格納します。<br><em>    ※管理者権限が必要となります</em><br>　 C:\Program Files (x86)\Ranorex\Studio\Bin<br>　 C:\Program Files (x86)\Ranorex\Studio\Bin\x64</p>



<p class="wp-block-paragraph">4. Ranorex Studioを起動している場合は、再起動します。</p>



<p class="wp-block-paragraph">5. 手順１-４実施後、再度エラーが発生する場合は、他のVisual Studio Build Tools バージョン（2022または2026）のアンインストールを実施ください。</p>



<h4 class="wp-block-heading">対応方法２：MSBuild 17を使用する</h4>



<p class="wp-block-paragraph">Ranorex Studioと互換性のあるMSBuild 17.14.35以前のバージョンを使用（参照）するように、MSBuild 17.14.35以前のバージョンをインストールします。<br><em>※以下の手順では、MSBuild 17.14.35を対象としています。</em></p>



<p class="wp-block-paragraph">[手順]</p>



<p class="wp-block-paragraph">1. Visual Studio Installerまたはコントロールパネル &gt; プログラム &gt; プログラムと機能より、既存のVisual Studio Build Tools 2022をアンインストールします。</p>



<p class="wp-block-paragraph">2. 以下からvs_BuildTools.exe（MSBuild 17.14.35）をダウンロードします。</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://download.visualstudio.microsoft.com/download/pr/2ae938ff-cbb6-4e4d-990c-7794a7a03745/650517f804f6b1fc7d1e274202ee43e2d027cbdbf9376a8e94c7c5bb32abfd99/vs_BuildTools.exe">vs_BuildTools.exe</a></div>
</div>



<p class="wp-block-paragraph">3. 手順２でダウンロードしたインストーラーをダブルクリックで起動し、表示された以下の画面で[続行]をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="464" height="277" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png" alt="" class="wp-image-32218" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png 464w, https://ranorex.techmatrix.jp/wp-content/uploads/image-152-300x179.png 300w" sizes="(max-width: 464px) 100vw, 464px" /></figure>



<p class="wp-block-paragraph">4. [C++ によるデスクトップ開発]を選択し、[インストール]をクリックします。</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="510" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-151-1024x510.png" alt="" class="wp-image-32221" style="width:783px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-151-1024x510.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151-300x150.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151-768x383.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-151.png 1228w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading">対応方法３：MSBuild 18を使用する</h4>



<p class="wp-block-paragraph">Ranorex Studioと互換性のあるMSBuild 18.3.3以前のバージョンを使用（参照）するように、MSBuild 18.3.3以前のバージョンをインストールします。<br><em>※以下の手順では、MSBuild 18.3.3を対象としています。</em><br>また、Ranorex Studioの設定ファイルの値を変更します。</p>



<p class="wp-block-paragraph">[MSBuild 18 インストール手順]</p>



<p class="wp-block-paragraph">1. Visual Studio Installerまたはコントロールパネル &gt; プログラム &gt; プログラムと機能より、既存のVisual Studio Build Tools 2026をアンインストールします。</p>



<p class="wp-block-paragraph">2. 以下からvs_BuildTools.exe（MSBuild 18.3.3）をダウンロードします。</p>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="https://download.visualstudio.microsoft.com/download/pr/c7f9c40d-5956-4fa0-bd04-b866c2461198/f1642d6ddfac7706064c59004b9fb2beb949609344c9c8e90c391dad138aed40/vs_BuildTools.exe">vs_BuildTools.exe</a></div>
</div>



<p class="wp-block-paragraph">3. 手順２でダウンロードしたインストーラーをダブルクリックで起動し、表示された以下の画面で[続行]をクリックします。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="464" height="277" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png" alt="" class="wp-image-32218" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-152.png 464w, https://ranorex.techmatrix.jp/wp-content/uploads/image-152-300x179.png 300w" sizes="(max-width: 464px) 100vw, 464px" /></figure>



<p class="wp-block-paragraph">4. [C++ によるデスクトップ開発]を選択し、[インストール]をクリックします。</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="512" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-161-1024x512.png" alt="" class="wp-image-32248" style="width:784px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-161-1024x512.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-161-300x150.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-161-768x384.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-161.png 1223w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">[Ranorex Studio 設定ファイルの変更手順]</p>



<p class="wp-block-paragraph">1. 以下のRanorex Studioの設定ファイルを、それぞれ任意の場所にコピーして開きます。<br> 　C:\Program Files (x86)\Ranorex\Studio\Bin\RanorexStudio.exe.config<br> 　C:\Program Files (x86)\Ranorex\Studio\Bin\x64\RanorexStudio.exe.config</p>



<p class="wp-block-paragraph">2. 両ファイル内の以下の行の値を、&#8221;17&#8243;から&#8221;18&#8243;に書き換えます。<br><em>    ※書き換え前に、必ずConfigファイルのバックアップを取得いただくようお願いいたします。</em><br>　 &lt;add key=&#8221;MSBuildVersion&#8221; value=&#8221;18&#8243; /&gt;</p>



<p class="wp-block-paragraph">3. 更新した両ファイルを、以下のパスに再度格納します。<br><em>    ※管理者権限が必要となります</em><br>　 C:\Program Files (x86)\Ranorex\Studio\Bin<br>　 C:\Program Files (x86)\Ranorex\Studio\Bin\x64</p>



<p class="wp-block-paragraph">4. Ranorex Studioを起動している場合は、再起動します。</p>



<h3 class="wp-block-heading">お問い合わせ</h3>



<p class="wp-block-paragraph">上記手順にてエラーが解消されない場合、その他不明点がございましたら、担当営業にご連絡ください。<br>保守サポートにご加入のお客様はRanorexテクニカルサポートまでご連絡ください。</p>



<p class="wp-block-paragraph"></p><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/08/07/msbuild_update_error/">Microsoft MSBuildのアップデートによるRanorex Studio エラーの対応方法</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Java Swingアプリのテスト自動化</title>
		<link>https://ranorex.techmatrix.jp/blog/2026/07/16/java-swing/</link>
		
		<dc:creator><![CDATA[Ranorex編集部]]></dc:creator>
		<pubDate>Thu, 16 Jul 2026 00:18:07 +0000</pubDate>
				<category><![CDATA[事例・ソリューション]]></category>
		<guid isPermaLink="false">https://ranorex.techmatrix.jp/?p=31958</guid>

					<description><![CDATA[<p>Java Swingとは、Javaでクロスプラットフォーム対応のグラフィカルユーザーインターフェース（GUI）を作成するための標準的なライブラリです。 Ranorexは、レガシーなWindowsアプリのUIテストを自動化 [&#8230;]</p>
<p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/07/16/java-swing/">Java Swingアプリのテスト自動化</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="veu_autoEyeCatchBox"><img loading="lazy" decoding="async" width="714" height="401" src="https://ranorex.techmatrix.jp/wp-content/uploads/Java-Swingアプリのテスト自動化_アイキャッチ-e1783672810573.jpg" class="attachment-large size-large wp-post-image" alt="" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/Java-Swingアプリのテスト自動化_アイキャッチ-e1783672810573.jpg 714w, https://ranorex.techmatrix.jp/wp-content/uploads/Java-Swingアプリのテスト自動化_アイキャッチ-e1783672810573-300x168.jpg 300w, https://ranorex.techmatrix.jp/wp-content/uploads/Java-Swingアプリのテスト自動化_アイキャッチ-e1783672810573-320x180.jpg 320w" sizes="(max-width: 714px) 100vw, 714px" /></div>
<p class="wp-block-paragraph">Java Swingとは、Javaでクロスプラットフォーム対応のグラフィカルユーザーインターフェース（GUI）を作成するための標準的なライブラリです。</p>



<p class="wp-block-paragraph">Ranorexは、レガシーなWindowsアプリのUIテストを自動化できることが強みであり、Java Swingアプリケーションの自動テストができます。</p>



<h2 class="wp-block-heading h2-blog"><strong>Java Swingとは</strong></h2>



<p class="wp-block-paragraph">Java Swingは、1997年頃にJavaで作られたGUIライブラリで、WindowsやMac、Linuxなど複数のOSで同じ見た目や動作のアプリケーションを作成できます。多くの種類の部品や柔軟な配置方法があり、ボタンやリストの動作も細かく設定できます。</p>



<p class="wp-block-paragraph">また、自分で新しい部品を作ることもできるため、多様なデスクトップアプリの開発に適しています。2007年頃に、Swingの後継として、よりモダンな機能を持つJavaFXがリリースされています。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="802" height="311" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-141.png" alt="" class="wp-image-31973" style="width:482px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-141.png 802w, https://ranorex.techmatrix.jp/wp-content/uploads/image-141-300x116.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-141-768x298.png 768w" sizes="(max-width: 802px) 100vw, 802px" /><figcaption class="wp-element-caption">Java Swingで作成したアプリ</figcaption></figure>
</div>


<h2 class="wp-block-heading h2-blog"><strong>Java Swingアプリの現状と活用シーン</strong></h2>



<p class="wp-block-paragraph">Java Swingは長年の実績があるため、複雑な画面構成や安定した操作性が求められるシステムで、現在も利用されています。</p>



<p class="wp-block-paragraph">使用システム例：</p>



<ul style="background-color:#f4f4f4" class="wp-block-list has-background">
<li><strong>顧客向けシステム</strong>：販売管理システム、在庫管理システム、会計ソフトなど</li>



<li><strong>金融系システム</strong>：口座管理システム、証券取引システム、保険契約管理システムなど</li>
</ul>



<h2 class="wp-block-heading h2-blog"><strong>テスト自動化ツール「Ranorex」とは</strong></h2>



<p class="wp-block-paragraph">Ranorexは、<a href="https://ranorex.techmatrix.jp/desktop/">デスクトップ</a>・<a href="https://ranorex.techmatrix.jp/web-app/">Web</a>・<a href="https://ranorex.techmatrix.jp/mobile/">モバイル</a>アプリ対応のUIテスト自動化ツールです。アプリ画面操作のレコーディングで簡単に<a href="https://ranorex.techmatrix.jp/test-create/">テスト作成</a>できるため、テスト初心者でも扱いやすいです。</p>



<p class="wp-block-paragraph">Ranorexの特長などの製品紹介資料は以下からダウンロードいただけます。</p>



<div id=rx-banner_gray>
<a href="https://s.techmatrix.co.jp/form/RXdoc0003IND?k3ad=rx-blog_javaswing" target="_blank" rel="noopener noreferrer">
  <img decoding="async" src="https://ranorex.techmatrix.jp/wp-content/uploads/Ranorex_popup-2504_930x100_html.png">
</a>
</div>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Ranorexは、14日間の体験版を無償でご利用いただけます。<br>UIテスト自動化を検討のお客様は、ぜひ<a href="https://s.techmatrix.co.jp/form/RXtry0001IND/k3ad=rx_blog_post">こちら</a>から、体験版をダウンロードしてご評価ください。</p>



<h2 class="wp-block-heading h2-blog"><strong>RanorexによるJava Swingアプリのテスト自動化</strong></h2>



<h3 class="wp-block-heading"><strong>ノーコードでテスト作成</strong></h3>



<p class="wp-block-paragraph">Ranorexの<a href="https://ranorex.techmatrix.jp/test-create/">レコーディング</a>モードで、各UI要素(コントロール)に対しての操作を記録することで、テストを簡単に作成できます。</p>



<p class="wp-block-paragraph">※Java Swingアプリのテストでは、Ranorexを管理者権限で起動する必要があります。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="808" height="386" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-143.png" alt="" class="wp-image-31985" style="width:594px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-143.png 808w, https://ranorex.techmatrix.jp/wp-content/uploads/image-143-300x143.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-143-768x367.png 768w" sizes="(max-width: 808px) 100vw, 808px" /><figcaption class="wp-element-caption">Ranorexのレコーディング</figcaption></figure>
</div>


<p class="wp-block-paragraph">以下のようなJava Swingの標準コントロールをRanorexで操作できます。</p>



<div class="wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex" style="background-color:#f4f4f4">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<ul class="wp-block-list">
<li><strong>JButton</strong>（ボタン）</li>



<li><strong>JCheckBox</strong>（チェックボックス）</li>



<li><strong>JComboBox</strong>（コンボボックス）</li>



<li><strong>JTextField</strong>（テキストボックス）</li>



<li><strong>JLabel</strong>（ラベル）</li>



<li><strong>JList</strong>（リストボックス）</li>



<li><strong>JTable</strong>（データグリッド）</li>
</ul>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow">
<ul class="wp-block-list">
<li><strong>JTabbedPane</strong>（タブコントロール）</li>



<li><strong>JSlider</strong>（スライダー）</li>



<li><strong>JScrollPane</strong>（スクロールビューア）</li>



<li><strong>JPanel</strong>（レイアウトパネル）</li>



<li><strong>ImageIcon</strong>（画像表示）</li>



<li><strong>JRadioButton</strong>（ラジオボタン）</li>



<li><strong>JPasswordField</strong>（パスワード入力）</li>
</ul>
</div>
</div>



<h3 class="wp-block-heading"><strong>UI要素の認識方法</strong></h3>



<p class="wp-block-paragraph">Ranorexは、UI要素をロケーションパス(<a href="https://ranorex.techmatrix.jp/blog/2021/11/05/ranorexpath_basic/">RanoreXPath</a>)で認識し、このUI要素の情報を操作内容と紐づけて記録します。テスト実行時に、この方法で認識したUI要素に対して操作が実行されます。</p>



<p class="wp-block-paragraph">レコーディング時に、UIのレイアウト構造を読み取って、ロケーションパスを自動生成します。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="248" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-146-1024x248.png" alt="" class="wp-image-32026" style="width:677px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-146-1024x248.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-146-300x73.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-146-768x186.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-146-1536x372.png 1536w, https://ranorex.techmatrix.jp/wp-content/uploads/image-146.png 1603w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">UI要素のロケーションパス (RanoreXPath)</figcaption></figure>
</div>


<p class="wp-block-paragraph">送信ボタンのレイアウト構造は以下です。</p>



<pre class="wp-block-code"><code>frame (JFrame: "Form1") 
 └─ topPanel (JPanel)
      └─ inputAndClearPanel (JPanel)
           └─ inputPanel (JPanel)
                └─ sendButton (JButton with text "送信")</code></pre>



<p class="wp-block-paragraph">レイアウトパネルを一意に特定するために、Java Swingアプリで、以下のようにパネルに名前を付けて実装しています。(topPanelに対してtopPanelという名前を付与しています)<br>自動化しやすいように、一意に特定できる属性をUI要素に付与することは重要です。</p>



<pre class="wp-block-code"><code>JPanel topPanel = new JPanel(new BorderLayout());
topPanel.setName("topPanel"); // topPanelにname追加</code></pre>



<p class="wp-block-paragraph">Java Swing標準のコンポーネントだけでなく、CustomUIComponentのような独自コンポーネントも認識して、操作することができます。</p>



<h3 class="wp-block-heading"><strong>検証</strong></h3>



<p class="wp-block-paragraph">画面に表示されたテキスト情報などをもとに、<a href="https://support.ranorex.com/hc/en-us/articles/38080377244817-Attribute-Based-Validation-Example?lang=ja" title="">文字列検証</a>することもできます。</p>



<p class="wp-block-paragraph">入力フォームに名前を入れて登録ボタンを押すと、その名前が画面に表示されるアプリの場合、画面に表示される文字列が期待通りかを検証できます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="287" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-140-1024x287.png" alt="" class="wp-image-32032" style="width:815px;height:auto" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-140-1024x287.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-140-300x84.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-140-768x215.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-140.png 1217w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Ranorexの文字列検証</figcaption></figure>
</div>


<p class="wp-block-paragraph">また、画面全体の<a href="https://ranorex.techmatrix.jp/blog/2020/02/21/image-validation-summary/" title="">画像比較</a>もおこなうことができます。期待画像と実際にテスト実行したときの画像が一致するかを検証できます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="234" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-145-1024x234.png" alt="" class="wp-image-32040" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-145-1024x234.png 1024w, https://ranorex.techmatrix.jp/wp-content/uploads/image-145-300x69.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-145-768x176.png 768w, https://ranorex.techmatrix.jp/wp-content/uploads/image-145-1536x352.png 1536w, https://ranorex.techmatrix.jp/wp-content/uploads/image-145.png 1542w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Ranorexの画像検証</figcaption></figure>
</div>


<p class="wp-block-paragraph">画像比較で差分があるときは、エラーとして<a href="https://ranorex.techmatrix.jp/blog/2016/06/27/image-validation/" title="">差分画像をレポート</a>に表示できます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="1012" height="151" src="https://ranorex.techmatrix.jp/wp-content/uploads/image-144.png" alt="" class="wp-image-32038" srcset="https://ranorex.techmatrix.jp/wp-content/uploads/image-144.png 1012w, https://ranorex.techmatrix.jp/wp-content/uploads/image-144-300x45.png 300w, https://ranorex.techmatrix.jp/wp-content/uploads/image-144-768x115.png 768w" sizes="(max-width: 1012px) 100vw, 1012px" /><figcaption class="wp-element-caption">差分画像のレポート</figcaption></figure>
</div>


<p class="wp-block-paragraph">左側の画像は、比較した2つの画像の差がある部分を白で示し、差がない部分を黒で表しています。右側の画像は、2つの画像の色の違いの大きさを色の濃淡で表し、差が大きいほど明るく、差がない部分は灰色で表示しています。</p>



<h3 class="wp-block-heading"><strong>テスト実行・テスト結果の確認</strong></h3>



<p class="wp-block-paragraph">作成したテストの実行やテスト結果レポートの確認については、通常の方法と同様におこなうことができます。<br>詳しくは以下のページをご参照ください。</p>



<ul style="background-color:#f4f4f4" class="wp-block-list has-background">
<li><a href="https://ranorex.techmatrix.jp/test_run/">テスト実行</a></li>



<li><a href="https://ranorex.techmatrix.jp/test_report_validation/" title="">テスト結果レポートの確認</a></li>
</ul>



<h2 class="wp-block-heading h2-blog"><strong>まとめ</strong></h2>



<p class="wp-block-paragraph">Java Swingは、クロスプラットフォーム対応のJava製GUIライブラリで、長年の実績から複雑な画面構成や高い安定性が求められる業務システムや金融システムで現在も広く利用されています。</p>



<p class="wp-block-paragraph">Ranorexは、Java SwingアプリのUIテストを簡単に自動化でき、ボタンやコンボボックスなど多様なコントロールの操作に対応していますので、Java Swingアプリのテスト自動化をご検討の際は、ぜひRanorexの体験版をお試しください。</p>



<div class="wp-block-group has-background" style="background-color:#f3f3f3"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading has-text-align-center"><strong>Ranorex は無償で14日間、</strong><br><strong>すべての機能をお試しできます！</strong></h2>



<p class="has-text-align-center wp-block-paragraph">14日間の無償体験版をお使いのPCにインストールすることで、すぐに自動化をはじめられます。<br>自動化ツールを検討されている方は、ぜひお試しください。</p>



<div style="width: 500px; margin: 0 auto;"><a href="https://s.techmatrix.co.jp/form/RXdoc0003IND?k3ad=rx-blog_javaswing" class="btn btn_commonpages">体験版のダウンロードはこちら<a></div>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>
</div></div>



<div style="height:18px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Windowsデスクトップアプリの各テクノロジー記事</strong></h3>



<figure class="wp-block-embed is-type-wp-embed is-provider-ranorex wp-block-embed-ranorex"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="E44P65NCta"><a href="https://ranorex.techmatrix.jp/blog/2026/02/26/windows-forms/">Windows Formsアプリのテスト自動化</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Windows Formsアプリのテスト自動化&#8221; &#8212; テスト自動化ツール 『Ranorex』" src="https://ranorex.techmatrix.jp/blog/2026/02/26/windows-forms/embed/#?secret=dA3pyIK5ze#?secret=E44P65NCta" data-secret="E44P65NCta" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<figure class="wp-block-embed is-type-wp-embed is-provider-ranorex wp-block-embed-ranorex"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="nJUul1yIjG"><a href="https://ranorex.techmatrix.jp/blog/2026/05/28/wpf/">WPFアプリのテスト自動化</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;WPFアプリのテスト自動化&#8221; &#8212; テスト自動化ツール 『Ranorex』" src="https://ranorex.techmatrix.jp/blog/2026/05/28/wpf/embed/#?secret=yiFXwfeCQ2#?secret=nJUul1yIjG" data-secret="nJUul1yIjG" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure><p>The post <a href="https://ranorex.techmatrix.jp/blog/2026/07/16/java-swing/">Java Swingアプリのテスト自動化</a> first appeared on <a href="https://ranorex.techmatrix.jp">テスト自動化ツール 『Ranorex』</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
