check toolbar button not exists

ツールバーにボタンが存在しないことを確認します。
名前説明タイプ修飾子
window

ウィンドウのTA名です。

Interface Entityなし
control

ツールバーコントロールのTA名です。

Interface Elementなし
button

キャプションまたはインデックス値によって識別されるボタンです。

Stringなし
指定したボタンが見つかない場合は [Passed] になり、それ以外の場合は [Failed] になります。
このアクションは、次のプロジェクト項目で使用できます: テストモジュールおよびユーザー定義アクションです。
次の設定はこのアクションに適用可能です:  case sensitive, remove double quotes from cells, standard ASCII only, object wait, window wait, load invisible controls.
このアクションは、次のコントロールに適用できます: toolbar.
例・ケース1: テキスト値を使用します

        
        	interface		
use interface	Music Library		
&nbsp			
	window	control	button
check toolbar button not exists	library	toolbar	About
check toolbar button not exists	library	toolbar	Save
        
    
例・ケース2: ボタンの数値インデックス値の使用します

        
        	window	control	button
check toolbar button not exists	library	toolbar	2
check toolbar button not exists	library	toolbar	4
        
    
  • 引数 button:
    • button は2つの方法のいずれかで指定できます: キャプションのテキスト、またはその数値インデックス(インデックスは1から始まります)。

      制限: : 
      数値インデックス値は、Oracle Forms 及び Microsoft UI Automation (UIA) ではサポートされていません。

    • 数値テキスト文字列を数値インデックス値と区別するために、二重引用符で囲んでください。例えば、コントロール内の項目のテキスト値が 12 の場合、数値 12 ではなく、二重引用符で囲まれた 12 (つまり、 "12")を渡すことによってその項目を参照するべきです。数値 12 を渡すと、テキスト文字列値が 12 の項目への参照ではなく、インデックス 12 の項目への参照として扱われます。
  • このアクションは修飾子 <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