check pattern

指定されたパターンのテキスト文字列になっているか確認します。
名前説明タイプ修飾子
text

テストするテキスト文字列です。

Stringなし
pattern

期待されるパターンです。

Stringなし
文字列がパターンに一致する場合は「Passed」になり,それ以外の場合は「Failed」になります。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  case sensitive, remove double quotes from cells, standard ASCII only.
                                
                                    	text	pattern
check pattern	[email protected]	{[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}}
                                
                            
  • 引数 pattern は正規表現を受け入れることができます。正規表現を含む引数の値は、必ず中括弧 {} で完全に囲まれている必要があります。例えば、{[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}} は許容されるなメールアドレスのパターンを指定しています。簡単に言うと、.* は正規表現の一般的なワイルドカードを表し、{.*arch.*}starch, marching, testarchitect などに一致します。
  • このアクションは修飾子 <ignore> をサポートしています。引数のいずれかの値として文字列 <ignore> が含まれているか、或いはどの引数かが <ignore> に評価される式を含んでいる場合、そのアクションは実行中にスキップされます。

Copyright © 2024 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 (650) 572-1400