Rabu, 27 Februari 2008

Selenium..

Mungkin namanya kaya unsur kimia yah..? Tapi Selenium yang ini adalah salah satu framework open source yang digunakan untuk melakukan otomasi acceptance testing perangkat lunak berbasis web. Selenium ini salah satu framework yang gw pelajari waktu gw KP alias Kerja Praktek di desa. Ada beberapa jenis Selenium, yaitu: Selenium Core, Selenium Core HTA, Selenium IDE dan Selenium Remote Control (RC). Masing-masing memiliki kelebihan dan kekurangannya tersendiri.

Pengujian dengan menggunakan Selenium Core dapat dilakukan pada semua web browser yang mendukung JavaScript, karena Selenium Core merupakan DHTML/JavaScript murni. Selenium Core harus diinstall pada web server yang sama dengan aplikasi web yang akan diuji (Application Under Test / AUT), hal tersebut dikarenakan Same Origin Policy, sebuah peraturan yang dibuat untuk mencegah cross-site scripting. Same Origin Policy menyatakan bahwa JavaScript hanya diperbolehkan membaca atau merubah HTML dari sumber yang sama.

Apabila Selenium Core tidak dapat diinstall pada web server yang sama dengan aplikasi yang akan diuji, maka Selenium Core HTA dapat digunakan untuk melakukan pengujian. Selenium Core HTA tidak membutuhkan instalasi pada web server yang sama dengan aplikasi yang diuji, namun Selenium Core HTA hanya dapat berjalan pada browser Internet Explorer.

Selenium Integrated Development Environment (IDE) dapat digunakan jika pengujian dilakukan dengan menggunakan browser Firefox. Selenium IDE merupakan extension untuk browser Firefox dan tidak membutuhkan instalasi pada web server yang sama dengan aplikasi yang akan diuji. Baik Selenium Core, Selenium Core HTA maupun Selenium IDE hanya mendukung bahasa Selenese, yang berupa HTML murni untuk melakukan pengujian perangkat lunak berbasis web.

Selenium Remote Control (RC) mendukung pengujian dalam berbagai bahasa pemrograman, seperti Java, C#, Perl, Python, dan Ruby, namun untuk dapat menjalankan Selenium RC dibutuhkan platform Java yang sudah terinstall. Pengujian menggunakan Selenium RC dapat dilakukan hampir di semua browser.

Terdapat dua metode untuk melakukan pengujian dengan Selenium, yaitu test runner dan driven test. Kedua metode tersebut memiliki kompleksitas dan cara penggunaan yang berbeda. Salah satu perbedaannya yaitu metode driven test mengharuskan tester menuliskan test script dalam bahasa pemrograman seperti Python atau Ruby. Namun perbedaan paling mendasar dari kedua metode tersebut yaitu ketika metode driven test digunakan, maka sebagian pengujian dilakukan di luar browser, sedangkan metode test runner melakukan pengujian sepenuhnya di dalam browser.

One More Time, One More Chance..

Lirik lagu ma terjemahan dari One More Time, One More Chance..
Somehow.. just wanna post it here.. :)


これ以上何を失えば 心は許される
どれ程の痛み成らば もう一度君に会える
One more time 季節よ うつろわないで
One more time ふざけあった時間よ

How much more do I have to lose, before my heart is forgiven?
How many more pains do I have to suffer, to meet you once again?
One more time, oh seasons, fade not
One more time, when we were messing around

食い違う時はいつも僕が割きに折れたね
わがままな性格がなおさら愛しくさせた
One more chance 記憶に足を取られて
One more chance 次の場所を選べない

Whenever we disagreed, I would always give in first
Your selfish nature made me love you even more
One more chance, the memories restrain my steps
One more chance, I cannot choose my next destination

いつでも捜しているよ どっかに君の姿を
向かいのホーム路地裏の窓
こんなとこにいるはずもないのに
願いがもしも叶うならいますぐ君のもとへ
できない事はもう何もない
全てかけて抱きしめて見せるよ

I'm always searching, for your figure to appear somewhere
On the opposite platform, in the windows along the lane
Even though I know you couldn't be at such a place
If my wish were to come true, I would be at your side right away
There would be nothing I couldn't do
I would put everything on the line and hold you tight

寂しさ紛らすだけなら 誰でもいいはずなのに
星が落ちそうな夜だから 自分をいつわれない
One more time 季節よ うつろわないで
One more time ふざけあった時間よ

If I just wanted to avoid loneliness, anybody would have been enough.
Because the night looks like the stars will fall, I cannot lie to myself.
One more time, oh seasons, fade not.
One more time, when we were messing around

いつでも捜しているよ どっかに君の姿を
交差点でも夢の中でも こんなとこにいるはずもないのに
奇跡がもしも起こるならいますぐ君に見せたい
新しい朝 これからの僕
言えなかった「好き」という言葉も

I'm always searching, for your figure to appear somewhere
At a street crossing, in the midst of dreams
Even though I know you couldn't be at such a place
If a miracle were to happen here, I would show you right away
The new morning, who I'll be from now on
And the words I never said: "I love you."

夏の思い出がまわる
ふいに消えた鼓動

The memories of summer are revolving
The throbbing which suddenly disappeared

いつでも捜しているよ どっかに君の姿を
明け方の町桜木町で
こんなとこにいるはずもないのに
願いがもしも叶うならいますぐ君のもとへ
できない事はもう何もない
全てかけて抱きしめて見せるよ

I'm always searching, for your figure to appear somewhere
At dawn on the streets, at Sakuragi-cho
Even though I know you couldn't be at such a place
If my wish were to come true, I would be at your side right away
There would be nothing I couldn't do
I would put everything on the line and hold you tight

いつでも捜しているよ どっかに君の欠片を
旅先の店新聞の隅
こんなとこにいるはずもないのに
奇跡がもしも起こるならいますぐ君に見せたい
新しい朝 これからの僕
言えなかった「好き」という言葉も

I'm always searching, for fragments of you to appear somewhere
At a traveller's store, in the corner of newspaper,
Even though I know you couldn't be at such a place
If a miracle were to happen here, I would show you right away
The new morning, who I'll be from now on
And the words I never said: "I love you."

いつでも捜してしまう どっかに君の笑顔を
急行町の 踏み切りあたり
こんなとこにいるはずもないのに
命が繰り返すならば何ども君のもとへ
欲しいものなど もう何もない
君のほかに大切なものなど

I always end up looking for your smile, to appear somewhere
At the railroad crossing, waiting for the express to pass
Even though I know you couldn’t be at such a place
If our lives could be repeated, I would be at your side every time
I would want nothing else
Besides you, nothing else matters

Rabu, 06 Februari 2008

Blog lagi..?

New blog.. mo diisi apa yak blog ini..?
Mm.. blog baru.. Lembaran baru buat corat-coret.. :)
Welcome to my little world.. :D