move file

新しいフォルダーに指定されたファイルを移動します。
名前説明タイプ修飾子
file

ターゲットファイルのフルパスです。

Stringなし
new directory

宛先フォルダのフルパスです。

Stringなし
なし
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  remove double quotes from cells.
                                
                                    		
	file	
check file exists	d:\Example.txt	
&nbsp		
	file	new directory
move file	d:\Example.txt	d:\新しいフォルダー
&nbsp		
	file	variable
does file exist	d:\新しいフォルダー\Example.txt	boolean
&nbsp		
	value	expected
check value	#boolean	1
                                
                            
  • ファイルのパスの形式は以下の通りです:
    • Windows プラットフォーム: パスの区切り文字としてバックスラッシュを使用します。
    • Linux プラットフォーム: パスの区切り文字としてスラッシュを使用します。(ネットワークパスはサポートされていません)
  • このビルトインアクションは現在、macOS やモバイルプラットフォームではサポートされていません。
  • コピーされるファイルと同じ名前の、宛先フォルダ内に既存するファイルは、自動的に通知や警告なしで上書きされます。
  • ソースファイルと宛先フォルダの両方のフルパスを指定する必要があります。
  • このアクションは修飾子 <ignore> をサポートしています。文字列 <ignore> が引数の値として存在する場合、または引数に <ignore> と評価する式を含まれている場合、アクションは実行中にスキップされます。

Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

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

Tel: +1(800) 322-0333