automation is easy! (python version)

28
Automation is Easy or easy automation coverage of your web pages in Python 1

Upload: iakiv-kramarenko

Post on 22-Jan-2018

1.100 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Automation is Easy! (python version)

Automation is Easy

or easy automation coverage of your web

pages in Python

1

Page 2: Automation is Easy! (python version)

Preface…

by Iakiv Kramarenko

Page 3: Automation is Easy! (python version)
Page 4: Automation is Easy! (python version)

Testing

=

Assessing Quality

Page 5: Automation is Easy! (python version)

Automation

=

Automating manual routine work

Page 6: Automation is Easy! (python version)

Effective Testing *=

Testing with automated routine

work

Page 7: Automation is Easy! (python version)

QA

=

Assistance in assuring Quality

Page 8: Automation is Easy! (python version)

QA applied to Testing

=

Making Testing Effective

=>

using Automation :) where appropriate

Page 9: Automation is Easy! (python version)

But it’s hard, no?

Page 11: Automation is Easy! (python version)

Summary

Page 12: Automation is Easy! (python version)

Coverage Styles

End to End style

+ more coverage in

less time with less

efforts during

implementation

+ integration coverage

Unit/One-feature-per-test

style

+ in case of bugs, gives

more complete report

+ easier to identify reason

from the report =>

+ less time and efforts in

support

Page 13: Automation is Easy! (python version)

How many => => Only:+ functional

high priority

use cases

Page 14: Automation is Easy! (python version)

Avoid =>=> No

- style checks

- low priority test cases

(that user will not do

on regular basis)

- additional requirements,

like “different kind of names

for entities”

<=

Page 15: Automation is Easy! (python version)

Implementing Automation

• Project in progress, no Automation?

1. start with End To End style smoke integration

tests

2. review and test plan

3. cover with “One feature”/“Unit” style

independent tests

Page 16: Automation is Easy! (python version)

Implementing Automation

• Project just started OR ready features are

automated?

1. Test plan new features

2. Cover with “One feature”/“Unit” style

independent tests

3. Add End to End integration smoke tests

Page 17: Automation is Easy! (python version)

Wasn’t it Easy? :)

Page 18: Automation is Easy! (python version)

How to start?

• Choose language

• Learn language (books, interactive tutorials,

koans, etc.)

• Choose Easy Tools

• Find a mentor (friend, dev on your project, etc…)

• Go :)

Page 19: Automation is Easy! (python version)

Choose language?

• Have project?

• choose language of project’s developers

• Have no project but want to find work fast?

• choose one of the most popular language

• Have no project but want to code in your style, and it

does not matter how long will you seek for the job?

• choose language that fits you

Page 20: Automation is Easy! (python version)

Learn language?

Google :p

Page 21: Automation is Easy! (python version)

koans + docs.seleniumhq.org + google.com

=

“You can do this in any language.”

Page 22: Automation is Easy! (python version)

Easy Tools?

• Just a few examples…

• Java: Selenide

• Ruby: Capybara + SitePrism

• Python: … (write you own or wait for stable

version of Selene;)

Page 23: Automation is Easy! (python version)

No Tool for your language?

• Have project?

• ask project’s developers to write it for you

• Have no project and lack of knowledge?

• switch to language that has easy tools :)

• Brave?

• implement it by your own (see next lesson ;)

Page 24: Automation is Easy! (python version)

Can I start with no manual

experience?Automation is just a tool, which can be pretty easy, as you saw:),

so:

• IF

• you are smart and brave

• have guys who will help you

• know where to find “easy automation tricks&tools”

• THEN

• why not? :)

Page 25: Automation is Easy! (python version)

Just Remember…

• Automation is NOT a separate Role

• Automation IS A TOOL for Test Engineer to do his

work effectively

Page 26: Automation is Easy! (python version)

Q&A

ask more in this russian chat

Page 27: Automation is Easy! (python version)

[email protected]

skype: yashaolin

twitter: @yashaka

http://github.com/yashaka/

Page 28: Automation is Easy! (python version)

[email protected]

+38 (073) 467-61-12

Thank you!