3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SeleniumIDEを使ってPhoenixPJをテストする

Last updated at Posted at 2024-04-27

Brightの対象

Webアプリ開発 Elixir > クラス1 > テスト > 結合テスト > SeleniumIDE

SeleniumIDEのインストール

「︙」→「拡張機能」→「Chromeウェブストアにアクセス」をクリック
image.png

Chromeウェブストアにアクセスが表示される
image.png

検索窓に「SeleniumIDE」を入力して検索し「SeleniumIDE」をクリック
image.png

「Chromeに追加」をクリック
image.png

「拡張機能を追加」をクリック
image.png

「✗」で閉じる
image.png

SeleniumIDEを使ってみる

「拡張機能」→「SeleniumIDE」をクリック
image.png

「Create a new project」をクリック
image.png

「PROJECT NAME」を入力する
image.png

「BASE URL」に「 http://localhost:4000/users 」を入力する
前提事項として下記のコラムで「mix phx.server」で動いていること

image.png

ここらは記録する内容です

の「テスト」を参考に操作してください

image.png

image.png

image.png

image.png

値のチェックは下記の画像のように可能です

image.png

赤い「■」で記録を停止できます
image.png

「TEST NAME」を入力します
image.png

下記のように記録ができました
image.png

不要な記録は「Delete」キーで削除できます
image.png

テスト実行

「▷」で実行できます
image.png
実行速度は下記のように変更可能です
image.png

実際の動作

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?