Friday, May 11, 2007

Testes na WEB é com o Selenium !

No workshop de XP que participei descobri essa maravilhosa Ferramenta open source, o Selenium.

http://www.openqa.org/selenium/

Selenium é uma ferramenta de testes para aplicações WEB, que roda testes diretamente do seu Browser, perfeito !! Era o que precisavamos :)
E digamos que ela é independente de plataforma e plataformas, roda no IE, Mozilla. Em ambiente Linux, Macintosh e Windows.
É a melhor forma de automatizar os testes de aceitação, assim os testes de regressão vai ficar moleza com os testes funcionais das iterações passadas todas automatizadas.
Também possui a vantagem de gerar código para teste em várias linguagens como Ruby e claro JAVA.

Como funciona ?
O Selinium é constituído por duas ferramentas:
* Selenium IDE
* Selenium RC

O Selenium IDE é um extensão(plugin) do browser mozilla
download: http://www.openqa.org/selenium-ide/download.action
Lá você consegue grava os passos para realização de um caso de teste.
No próprio plugin você consegui reproduzir a navegação, clicks de botões, preenchimento de campos e etc.
Dai após seu caso de teste estar bem reproduzido você pode gerar código para a linguagem Java.
é agora que entra em acão o Selenium RC



O Selenium Remote Control é um servidor que consegui controlar um browser como se fosse um controle remoto :) , ele comunica-se com o browser utilizando AJAX (no lugar do infra-vermelho) .
A classe Java gerada pelo SeleniumIDE solicita comando como click de botão, e o servidor atende o chamado executando o comando diretamente no browser.

Logo você possui nas mãos uma ferramenta capaz de automatizar seus testes funcionais, de sistemas, aceitação ou regressão, como vc queira chamar :)

Vale a pena dar uma parada na implementação daquele Caso de uso (estória no XP) e conferia a ferramenta

http://www.openqa.org/selenium/

Segue um link de um tutorial fantástico sobre a ferramenta

http://blog.caelum.com.br/2007/02/28/testes-de-aceitacao-com-o-selenium/

Abraços,

20 comments:

Anonymous said...

Bonjorno, rafatabosa.blogspot.com!
[url=http://viagraycla.pun.pl/ ]Compra viagra [/url] [url=http://cialisonya.pun.pl/ ]Comprare cialis [/url] [url=http://viagrareta.pun.pl/ ]Compra viagra [/url] [url=http://cialisybea.pun.pl/ ]Acquisto cialis online[/url] [url=http://athe.pun.pl/ ]Vendita in Italia[/url] [url=http://viagraradf.pun.pl/ ]Acquistare viagra generico[/url]

Anonymous said...

[B]NZBsRus.com[/B]
Dismiss Sluggish Downloads Using NZB Files You Can Quickly Find Movies, PC Games, Music, Software & Download Them at Accelerated Speeds

[URL=http://www.nzbsrus.com][B]Usenet[/B][/URL]

Anonymous said...

horn in superannuated hat this gratis [url=http://www.casinoapart.com]casino[/url] hand-out at the prime [url=http://www.casinoapart.com]online casino[/url] signal with 10's of all the go into [url=http://www.casinoapart.com]online casinos[/url]. actions [url=http://www.casinoapart.com/articles/play-roulette.html]roulette[/url], [url=http://www.casinoapart.com/articles/play-slots.html]slots[/url] and [url=http://www.casinoapart.com/articles/play-baccarat.html]baccarat[/url] at this [url=http://www.casinoapart.com/articles/no-deposit-casinos.html]no down payment casino[/url] , www.casinoapart.com
the finest [url=http://de.casinoapart.com]casino[/url] with a representation UK, german and all on outdo of the world. so after the choicest [url=http://es.casinoapart.com]casino en linea[/url] discontinuity us now.

Anonymous said...

Hello,

Thanks for sharing this link - but unfortunately it seems to be down? Does anybody here at rafatabosa.blogspot.com have a mirror or another source?


Thanks,
Harry

Anonymous said...

Hello. Facebook takes a [url=http://www.freecasinobonus.gd]slots[/url] wager side with on 888 casino apportion: Facebook is expanding its efforts to tip real-money gaming to millions of British users after announcing a give out with the online gambling toss 888 Holdings.And Bye.

Anonymous said...

[url=http://www.onlinecasinos.gd]casinos online[/url], also known as agreed casinos or Internet casinos, are online versions of distinguished ("buddy and mortar") casinos. Online casinos definite someone yield gamblers to rob up and wager on casino games with the cart the Internet.
Online casinos typically create aside on the requite odds and payback percentages that are comparable to land-based casinos. Some online casinos careful higher payback percentages in the resource to of rent automobile games, and some bruit circa payout store audits on their websites. Assuming that the online casino is using an correctly programmed unspecific sum a go over again up generator, eatables games like blackjack comprise an established congress edge. The payout holding so-called looking for these games are established bad non-standard due to the rules of the game.
Uncounted online casinos sublease or fabricate their software from companies like Microgaming, Realtime Gaming, Playtech, Pandemic Prank Technology and CryptoLogic Inc.

Anonymous said...

Justin Tucker Jersey emurbursofs
Rob Gronkowski Jersey TynckeyncBype
Tom Brady Jersey Proonseorek

Anonymous said...

Tony Gonzalez Jersey emurbursofs
Carlos Rogers Jersey TynckeyncBype
Justin Tucker Jersey Proonseorek

Anonymous said...

top [url=http://www.001casino.com/]online casinos[/url] coincide the latest [url=http://www.casinolasvegass.com/]online casino[/url] autonomous no store bonus at the leading [url=http://www.baywatchcasino.com/]bay attend casino
[/url].

Anonymous said...

[url=http://www.23planet.com]online casino[/url], also known as settled casinos or Internet casinos, are online versions of acknowledged ("chunk and mortar") casinos. Online casinos franchise gamblers to forward movement ingredient in and wager on casino games perfectly the Internet.
Online casinos habitually invite odds and payback percentages that are comparable to land-based casinos. Some online casinos contend higher payback percentages in the function of send up concern games, and some decline upon known payout schedule audits on their websites. Assuming that the online casino is using an fittingly programmed unspecific body generator, catalogue games like blackjack comprise an established congress edge. The payout hint underneath the aegis regardless of these games are established report to a climax to the rules of the game.
Uncountable online casinos sublease or attend to their software from companies like Microgaming, Realtime Gaming, Playtech, Worldwide Spring Technology and CryptoLogic Inc.

Anonymous said...

Greetings from Californіa! I'm bored to death at work so I decided to check out your blog on my iphone during lunch break. I love the info you provide here and can't wait
to take a look when І get home. I'm shocked at how fast your blog loaded on my phone .. I'm nоt even using WΙFΙ, juѕt 3G .
. Anyhoω, greаt blog!

Hеre is my homеpаge: Http://Www.Lacaliforniaitaliana.It/Wiki/Index.Php?Title=Utente:DominicEng

Anonymous said...

Hello. And Bye. Thank you very much.

Anonymous said...

Hello. And Bye. Thank you very much.

Anonymous said...

Today, I ωent to thе beaсh wіth my children.

I founԁ a seа ѕhell аnd
gave іt to my 4 year old ԁaughter and saіԁ "You can hear the ocean if you put this to your ear." She put the
shеll to her eаг and screаmed. Theгe
wаs a hеrmіt сrab insiԁе and іt pincheԁ
hеr eаr. She never wants tо go bacκ!
LоL I κnow this iѕ entiгely off toρіc
but I had tο tell someonе!

Feel free to vіsit my web sіte; Going On this site

Anonymous said...

Today, I went to the beach with my children. I founԁ a sea ѕhell and
gave іt to my 4 year old dаughter and saiԁ
"You can hear the ocean if you put this to your ear." She put the shell to hеr ear аnd ѕcreamеd.
Theге was a hermit crab insiԁе
аnd it pinched her ear. She neνеr wants
to go back! LoL I know thiѕ is entirely off topіc but Ι hаd to tell someone!



Herе iѕ mу page :: Going On this site
My website - Http://Www.Kowmi.Com

Anonymous said...

[url=http://longchampsoldesk.quebecblogue.com/]longchamp soldes[/url] Tea also comes loose. Loose tea is simply scooped out of a pouch and dropped into the water in a tea pot. The tea leaves will release their flavor along with their vitamins and minerals into the water. Once you find your reservation you can add your frequent flyer number (although if you buy your ticket online, you can add it before you get to the airport - you can also add it at your gate, where fewer people will be waiting behind you), choose your seat (which can usually also be done online or at your gate) and indicate the number of bags that you're checking. Mulberry Dominic Natural Leather Messenger Bag Brown for Men,Authentic Mulberry handbags on sale outlet. Once you've printed your boarding pass, an airline representative will come by and label your bags. Make sure you have your ID ready because you'll have to show it and your boarding pass to the airline representative when he or she takes your bags..
[url=http://blog.livedoor.jp/longchampbagsd/]sac longchamp[/url] I have a small umbrella. The bigger bag, the busier the woman and ultimately the more money she has to spend. Though the bags give many of the ladies bragging rights, they also serve practical purposes.. Like many money saving tips, 5-cents is not a lot of money. But think about how many times you go to the store Mulberry is not only handbags, Best Seller Mulberry Zip Natural Leather Purse Brown for Women sale well and how many bags you use each time. "It I had a nickel for every time I went to the grocery store." Wait! Now you do!.
[url=http://www.nexopia.com/users/longchampplia/blog]longchamp soldes[/url] The lining of this backpack is made of cotton. It is very soft and comfortable. The straps are very comfortable for you. The payment process has secure network systems that keep your personal and financial information safe and secure. In case you feel dissatisfied with the purchased product 2013 Mulberry Online Shop on Sale Discount Price Mulberry Outlet Mini Alexa Leather Satchel Brown Bag well made you can return it to this store as it has return policy. Conway | Dec 3rd 2012 - If you want a stylish, designer bag that is built well and uses only the best materials, a Chanel handbag may be what you are looking for.. Some handbags made from snake skins have also emerged in the market since 2009. With cowhide skins, Hermes handbag manufacturers are able to add more beauty to the item by hand finish. The skin which is suitable for making Hermes handbags from ostrich is mainly gotten from the bird's butt although the skin below the pore is more beautiful..

Anonymous said...

Hі i am kavin, its my first time to сommenting anyωhere, when
і read this paragraρh i thought i could alѕо
crеate cοmment due to thіs brillіant post.


Ηeгe is mу homеpage Ko.dbpedia.org

Anonymous said...

Heу thеre! I know this іѕ kinԁa off toρiс however
I'd figured I'd ask. Would yοu be іnteгеsted in exchanging links or maybе guest аuthoring а
blog article or vice-versa? Ϻy site goes оver
a lot of the ѕame topicѕ as yours and I believe
we could grеatly benefit fгom each οther.

If you're interested feel free to send me an email. I look forward to hearing from you! Excellent blog by the way!

Here is my web blog - Highly recommended Online site

Anonymous said...

Hello just wanted tо give yοu a quicκ heads up.
The words in yοur content seem tο be running off the
ѕcreеn in Internet eхplorer. I'm not sure if this is a formatting issue or something to do with web browser compatibility but I thought I'd post to lеt you know.
The style anԁ dеѕign lοoκ gгeat thоugh!
Ηoρe you get the issue solved soon. Many thanκs

Also visit my sitе ... www.prweb.com
My web site > simply click the up coming website page

Anonymous said...

Rather amusing answer
This answer, is matchless
Absolutely with you it agree. It is good idea. I support you.
I sympathise with you.
What curious topic

[url=http://shenenmaoyiyy.bravesites.com/][b]michael kors outlet online[/b][/url]
[url=http://cheapmichaelkors1.manifo.com/][b]michael kors outlet online[/b][/url]
[url=http://shenenmaoyitt.tripod.com/][b]michael kors outlet online[/b][/url]
[url=http://cheapmichaelkors0.tumblr.com/][b]michael kors outlet online[/b][/url]
[url=http://shenenmaoyitt.snappages.com/blog.htm][b]michael kors outlet online[/b][/url]