Archive for the ‘Test’ Category
![](https://www.lancard.com/blog/wp-content/themes/default/img/icon/aikawa.jpg)
Selenium IDEを使った手入力の半自動化
- 2014/05/09
- aikawa
随分と前回から空いてしまっているので、日頃考えていた妄想でも一つ。
目的: ブラウザから手入力で写していたデータをなるべくシステムを触らずに半自動化するサービスサーバを提供する。
利用者はSelenium IDEで記録して、定型に従って修正すれば低コストで複数の自動化が可能。
例えばサイトAで入力された内容を、人力でサイトBに後で入力し直す必要が有る場合等。
- サイトBはOSSのアプリケーションで、改修するコストが見合わない
- markdown形式に変えて記入する必要が有る
- etc…
1. Selenium IDEでサイトBの入力用のテストケースのテンプレートをRecording等で作成しておき、
サービスサーバはサイトAのデータから、テストケースに穴埋めして自動的にファイルを作成できるようにします。
※複数有る場合は、適度にテストスイートにまとめる。
2. 利用者はFirefoxのSelenium IDEからテストを開いて、実行するだけになります。
Selenium Serverなり別のテストツールなり使ってここも自動化出来るかも知れませんが、ログインとか考えると面倒が増えそうです。
※ログイン部分の切り貼りを出来るようなプログラムを別途提供する事で対応可能かも。
まぁデータのやり取りが有るので、サービスサーバにするには向いていないかと思いました。
(Selenium IDE依存になるのも)
![Share on Facebook Facebook](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share on Linkedin linkedin](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/linkedin.png)
![Share on tumblr tumblr](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/tumblr.png)
![Share by email mail](https://www.lancard.com/blog/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)