LoginSignup
3
0

【SAP】Tricentis Toscaをインストールして困ったこと

Last updated at Posted at 2023-07-28

はじめに

当記事ではTricentisを使用するうえで困ったこと、その解決方法について記載します。
UIテストツールを導入した背景、その中でもTricentisを選んだ理由は以下の通りです。

前提

SAP BTP上に開発したアプリケーションをJenkins経由で自動でテストするため、Tricentisを活用したテスト自動化の仕組みを構築。
image (3).png

UIテストツールを導入した理由

  1. 工数短縮
     開発メンバーがアプリケーションのテストにかける工数を最小限にしたい

  2. 品質担保
     手動での単体テストと、Tricentisによる回帰テストの両方を行うことで、
     アプリケーションの品質を担保したい

Tricentisを選んだ理由

  • 2020年にSAP社とTricentis社がパートナーシップを締結。
    SAP BTPをはじめとしたSAP製品との親和性が高いため
    参考資料

  • Jenkinsとの連携に対応していたため

環境

Windows10でインストールを行いました。

スキャン時のエラー

スキャンしようとすると「Could not connect to 'TOSCAAutomationService', Please make sure it is started.」のエラーが発生しました。
image (27).png

Error:Could not connect to 'TOSCAAutomationService', Please make sure it is started.

タスクマネージャーを確認すると、TOSCAAutomationServiceが表示されていません。
image.png
このサービスはTricentis Tosca起動時に自動的に起動されるものですが、インストールやリペアを行った際に起動されないことがあります。

解決方法

コマンドを使用してTOSCAAutomationServiceを再インストール、サービスを開始する必要があります。

1. コマンドプロンプトを管理者として実行します。

image.png

2. installutil.exe を含む Microsoft.NET フォルダー に移動します。

image.png

cd C:\Windows\Microsoft.NET\Framework\v4.0.30319

3. Tricentis.Automation.RelayServiceをインストールします。

image.png

installutil.exe"C:\ProgramFiles(x86)\TRICENTIS\ToscaTestsuite\TBox\Tricentis.Automation.RelayService.exe"

4. net startコマンドを実行します。

image.png

net start ToscaAutomationservice

参考
Tricentis

結果

TOSCAAutomationServiceが実行され、スキャンすることができました。
image.png

さいごに

当記事の件で上手く動作しない方の参考になれば幸いです。

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0