close excel workbook

Excelワークブックを閉じる。
名前説明タイプ修飾子
file path

Excelファイルの場所

Stringなし
auto save

(任意)Excelワークブックを閉じる前に保存する。

デフォルト値: true
Value Settrue, false
なし
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  remove double quotes from cells.
例1:auto save=trueでclose excel workbook
        
file path
open excel workbookD:\data-jp.xlsx
 
file pathsheetcellvalue
set excel cell valueD:\data-jp.xlsx車オーダーズ データD8トヨタ プリウス
 
file pathauto save
close excel workbookD:\data-jp.xlsxtrue
 
結果
例2:auto save=falseでclose excel workbook
        
file path
open excel workbookD:\data-jp.xlsx
 
file pathsheetcellvalue
set excel cell valueD:\data-jp.xlsx車オーダーズ データD8トヨタ プリウス
 
file pathauto save
close excel workbookD:\data-jp.xlsxfalse
 
結果
  • このアクションは、Excel拡張子(.xls, .xlsx, .xlsm)のみをサポートしています。
  • このアクションを進める前に、組み込みアクションのopen excel workbookを使用してください。
  • 組み込みアクションのclose excel workbookを使用しない場合、TestArchitectはテスト実行セッションの終了時にExcelワークブックを自動的に閉じ、Excelファイルを保存しません。

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400