ja:documentation:pandorafms:technical_annexes:17_compatible_selenium_commands

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:17_compatible_selenium_commands [2024/09/01 07:17] – [互換性のあるコマンド一覧] junichija:documentation:pandorafms:technical_annexes:17_compatible_selenium_commands [2024/10/12 07:54] (現在) – [モジュールを生成するコマンド] junichi
行 14: 行 14:
 <wrap #ks2 /> <wrap #ks2 />
  
-==== 内部コマンド ====+===== 内部コマンド ====
 + 
 +  * **run**: It runs a test. 
 +  * **build_transaction:**  It prebuilds a transaction based on the past test (internal). 
 +  * **get_transaction:** It returns the current transaction, always used to retrieve the results, the order of the stages and the variables. 
 +  * **sessions:**  It retrieves the list of sessions present in the hub. 
 +  * **kill_sessions:**  It deletes all existing sessions in the hub. 
   * **run**: テストを実行します。   * **run**: テストを実行します。
   * **build_transaction**: 過去のテスト(内部)に基づいてトランザクションを事前構築します。   * **build_transaction**: 過去のテスト(内部)に基づいてトランザクションを事前構築します。
行 21: 行 28:
   * **kill_sessions**: Hub 内の既存のセッションをすべて削除します。   * **kill_sessions**: Hub 内の既存のセッションをすべて削除します。
  
-==== 追加コマンド ====+<wrap #ks3 /> 
 + 
 +===== 追加コマンド ====
   * **extract**: 'ソース' と独自のコードを組み合わせて抽出します。   * **extract**: 'ソース' と独自のコードを組み合わせて抽出します。
   * **storeExtraction**: 抽出結果を変数に格納します。   * **storeExtraction**: 抽出結果を変数に格納します。
行 31: 行 41:
   * **waitForPageToLoad**: Selenium 3 でこの Selenium 2 コマンドの動作をシミュレートします。   * **waitForPageToLoad**: Selenium 3 でこの Selenium 2 コマンドの動作をシミュレートします。
  
-==== モジュールを生成するコマンド ==== +<wrap #ks4 />
-  * **getValue**: 値を展開します: +
-<code> +
-getValue;module name;module type;REGEX capture+
  
-</code>+===== モジュールを生成するコマンド =====
  
-  * **getScreenshot**: スクリーンショットを展開します:+  * **getValue**  Retrieve a value:
  
-<code> +  * **getValue**: 値を取得します:
-getScreenshot;module name+
  
-</code>+<WRAP center round box 90%> 
 +getValue;module_name;module_type;REGEX_capture 
 + 
 +</WRAP> 
 + 
 +  * **getVariable**  (Versión NG 753 o posterior) It retrieves a specific alue from a variable: 
 + 
 +  * **getVariable** (バージョン NG 753 以降) 変数から特定の値を取得します。 
 + 
 +<WRAP center round box 90%> 
 +getVariable;module_name;module_type;variable_name 
 +</WRAP> 
 + 
 +  * **getScreenshot**  Retrieves a screenshot: 
 + 
 +  * **getScreenshot**: スクリーンショットを取得します: 
 + 
 +<WRAP center round box 90%> 
 +getScreenshot;module_name 
 + 
 +</WRAP> 
 + 
 +<WRAP center round important 90%> 
 + 
 +All own commands must appear in the test file (''.side'') as comments. Otherwise, it will fail to test the test in the Selenium extension. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round important 90%>
  
-<WRAP center round important 60%> 
 独自のコマンドはすべて、コメントとしてテストファイル(''.side'')に記述する必要があります。 そうしないと、Selenium 拡張機能でのテストに失敗します。 独自のコマンドはすべて、コメントとしてテストファイル(''.side'')に記述する必要があります。 そうしないと、Selenium 拡張機能でのテストに失敗します。
 +
 </WRAP> </WRAP>
  
-==== レコーディング拡張機能によって提供されるコマンド(v3) ====+<wrap #ks5 /> 
 + 
 +===== レコーディング拡張機能によって提供されるコマンド(v3) ====
 + 
 +<WRAP group> 
 +<WRAP half column>
   * addSelection   * addSelection
   * answerOnNextPrompt   * answerOnNextPrompt
行 93: 行 132:
   * mouseUpAt   * mouseUpAt
   * open   * open
 +</WRAP>
 +<WRAP half column>
   * pageLoadTimeout   * pageLoadTimeout
   * pause   * pause
行 133: 行 174:
   * waitForElementPresent   * waitForElementPresent
   * waitForElementVisible   * waitForElementVisible
-  * waitForText ( //バージョン NG 752 以上 // )+  * waitForText ( //Version NG 752 or later// )
   * webdriverAnswerOnVisiblePrompt   * webdriverAnswerOnVisiblePrompt
   * webdriverChooseCancelOnVisibleConfirmation   * webdriverChooseCancelOnVisibleConfirmation
-  * chooseCancelOnNextPrompt 
   * webdriverChooseOkOnVisibleConfirmation   * webdriverChooseOkOnVisibleConfirmation
 +</WRAP>
 +</WRAP>
 +
 +[[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
-[[:ja:documentation:03_monitoring:13_user_monitorization#コマンド|Selenium 3 での Web User Experience (WUX) に戻る]] 
  • ja/documentation/pandorafms/technical_annexes/17_compatible_selenium_commands.1725175055.txt.gz
  • 最終更新: 2024/09/01 07:17
  • by junichi