Automação de testes funcionais comPython e Mechanize
Ro
bso
n A
gap
ito
Robson AgapitoI like to work with QA
Twitter: @[email protected] Share: http://www.slideshare.net/robsonagapito/Linkedin: https://br.linkedin.com/in/robsonagapito
Testes Funcionais
Automação
Atores Principais
MechanizeBeautiful Soup
lxml
Page Object
“The basic rule of thumb for a page object is that itshould allow a software client to do anything andsee anything that a human can..."
...the page object should encapsulate themechanics required to find and manipulate thedata in the gui control itself...
Martin Fowler (2013)
Page Test
Page Class
X
Page ObjectPage Object
HA
ND
S O
N
HA
ND
S O
N
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ÚVIDASMuito obrigado!
Twitter: @[email protected] Share: http://www.slideshare.net/robsonagapito/Linkedin: https://br.linkedin.com/in/robsonagapitoGithub:https://github.com/robsonagapito/python_mechanize
Automação de testes funcionais comPython e Mechanize
Ro
bso
n A
gap
ito
Recommended