Automação de testes funcionais com
Python e Mechanize
RobsonAgapito
Robson Agapito
I like to work with QA
Twitter: @robsonagapito
robsonagapito@gmail.com
Slide Share: http://www.slideshare.net/robsonagapito/
Linkedin: https://br.linkedin.com/in/robsonagapito
Testes Funcionais
Automação
Atores Principais
Mechanize
Beautiful Soup
lxml
Page Object
“The basic rule of thumb for a page object is that it
should allow a software client to do anything and
see anything that a human can..."
...the page object should encapsulate the
mechanics required to find and manipulate the
data in the gui control itself...
Martin Fowler (2013)
Page Test
Page Class
X
Page ObjectPage Object
HANDSON
HANDSON
Vantagens
– velocidade
- não depende de browser
- fácil manutenção
Desvantagens
- não testa javascript
(nem executa)
- pouca documentação
(bastante, mas muito do mesmo)
DÚVIDAS
Muito obrigado!
Twitter: @robsonagapito
robsonagapito@gmail.com
Slide Share: http://www.slideshare.net/robsonagapito/
Linkedin: https://br.linkedin.com/in/robsonagapito
Github:https://github.com/robsonagapito/python_mechanize
Automação de testes funcionais com
Python e Mechanize
RobsonAgapito

Automação de testes funcionais com Python e Mechanize