Your SlideShare is downloading. ×
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Testando interfaces web com Splinter
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Testando interfaces web com Splinter

1,733

Published on

Palestra apresentada no III Fórum de Software Livre de Duque de Caxias, no dia 04 de Junho de 2011, por Andrews Medina e Francisco Souza, da Globo.com.

Palestra apresentada no III Fórum de Software Livre de Duque de Caxias, no dia 04 de Junho de 2011, por Andrews Medina e Francisco Souza, da Globo.com.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,733
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. como trazer sua banda favorita para oSaturday, June 4, 2011
  • 2. ou...Saturday, June 4, 2011
  • 3. Testando aplicações web com SplinterSaturday, June 4, 2011
  • 4. Andrews Medina #cobrateam founder djangobrasil.org / python.org.br desenvolvedor @ globo.comSaturday, June 4, 2011
  • 5. Francisco Souza #cobrateam member djangobrasil.org desenvolvedor @ globo.comSaturday, June 4, 2011
  • 6. Proprietary software is the disease. Meet the cure.Saturday, June 4, 2011
  • 7. Testes?Saturday, June 4, 2011
  • 8. Show me the codeSaturday, June 4, 2011
  • 9. Interfaces web?Saturday, June 4, 2011
  • 10. Ferramentas • Afajor • twill • HTMLUnit • Windmill • Mechanize • zope.testbrowser • PhantomJS • zombie.js • SeleniumSaturday, June 4, 2011
  • 11. Splinter é uma APISaturday, June 4, 2011
  • 12. browser = Browser(‘webdriver.firefox’) browser.visit(‘http://cobrateam.info’) assert browser.is_text_present(‘Projects’) browser = Browser(‘zope.testbrowser’) browser.visit(‘http://cobrateam.info’) assert browser.is_text_present(‘Projects’) browser = Browser(‘phantomjs’) browser.visit(‘http://cobrateam.info’) assert browser.is_text_present(‘Projects’)Saturday, June 4, 2011
  • 13. show me the codeSaturday, June 4, 2011
  • 14. browser • visit(‘url’) • reload() • quit() • html • url • titleSaturday, June 4, 2011
  • 15. procurando por elementos • find_by_css(‘.classe’) • find_by_id(‘meuid’) • find_by_xpath(‘//body’) • find_by_tag(‘a’) • find_by_name(‘search’)Saturday, June 4, 2011
  • 16. formulários • fill(‘name’, ‘value’) • attach_file(‘name’, ‘/path/to/file.txt’) • check(‘name’) #checkbox • choose(‘name’) #radio button • select(‘name’, ‘option’)Saturday, June 4, 2011
  • 17. e mais... • alert • iframe • status_codeSaturday, June 4, 2011
  • 18. futuro do projeto • mais browsers/drivers • ie • zombie.js • phantom.js • mouse eventsSaturday, June 4, 2011
  • 19. como trazer sua banda favorita para oSaturday, June 4, 2011
  • 20. Obrigado! splinter.cobrateam.info github.com/cobrateam/splinter Andrews Medina Francisco Souza andrewsmedina.com franciscosouza.com @andrewsmedina @franciscosouza andrewsmedina@gmail.com francisco@franciscosouza.netSaturday, June 4, 2011

×