useful automation

18
Useful Automation

Upload: antoninaburlachenko

Post on 20-Jun-2015

278 views

Category:

Education


3 download

DESCRIPTION

В докладе рассказано о том, как автоматизация может упростить жизнь мануальному тестировщику. Автор делиться личным опытом и практическими советами о том, как начать изучать автоматизацию без вреда текущему проекту и процессу тестирования в целом. Расскажу вам какие языки программирования лучше применить в конкретных практических ситуациях. Доклад будет интересен прежде всего для тех тестировщиков, которые хотят научиться автоматизировать, но не знают как и с чего начать.

TRANSCRIPT

Page 1: Useful automation

Useful Automation

Page 2: Useful automation

Confidential

Sergey Tupchiy, Automation QA Architect

http://github.com/stupchiy

http://ua.linkedin.com/in/stupchiy

AKA

WHO AM I?

Page 3: Useful automation

Confidential

Why you need automation?

• Why we should do Automated Testing?

Faster Bug Determining Faster Releases Faster Testing Less Efforts of Manual Testers Less Efforts of Developers Saves Time Increase Accuracy Improves Coverage Reusability Automation can save money

Page 4: Useful automation

Confidential

Problems

• Need to be more technical person• Need to learn something new• Need to do programming• Need to do not your work • Record & Run tools don't give good feedback• A lot of efforts needed

Page 5: Useful automation

Confidential

Problems

• You need to use project TIME• You need a lot of TIME to automate• You have no TIME• You need to waste your own TIME

IT's all about TIME

Page 6: Useful automation

Confidential

EXAMPLE

Page 7: Useful automation

Confidential

Beginning

How to start?

• Take the basics• Start to learn programming• Ask for help from developers• Determine Repeatable tasks

Page 8: Useful automation

Confidential

Beginning

What to start automate?

• Covering annoying manual tests• Test Data Preparation• DB insertions

Page 9: Useful automation

Confidential

EXAMPLE

Page 10: Useful automation

Confidential

Programming

How to learn programming?

Ruby• http://learnruby.com/• http://rubykoans.com/Perl• http://cpan.org• http://learn.perl.org/Python http://learnpythonthehardway.org/ http://www.learnpython.org/And a lot more

Page 11: Useful automation

Confidential

Programming

Advantages of LanguagesAdvantages of LanguagesPerl

Better text processing Regular expression support Cpan.org

Python Readability and cleaner code Easy variables Learnability

Ruby Better OOP Flexibility and Consistency

Bash Everything you can do in *nix like terminal

Page 12: Useful automation

Confidential

EXAMPLE

Page 13: Useful automation

Confidential

About Tools

Compatibility • Is the tool compatible with the application? Does it

identify all the objects in your application?• Identify different classes of object in the

application. (Standard controls & customized)• Identify different possible events for each

object (mouse over, mouse down, type, drag, etc)

• Record and Playback for aboveFunctionality

• Rate the application against the features list required for automation team (Evaluation Criterion)

Page 14: Useful automation

Confidential

About Tools

Usability • How easy it is to learn and adapt? • Availability of trainings.

Maintainability• How good is support by the company. • Online user community?

Flexibility• Licensing policy of the company (This points is here

thanks to the rigid licensing policies of some companies

Page 15: Useful automation

Confidential

EXAMPLE

Page 16: Useful automation

Confidential

And Remember The Rules

There is no easy way sometimes

Page 17: Useful automation

Confidential

And Remember The Rules

Don't be afraid

PYTHON PERL RUBY

Or Bash, JAVA, ActionScript, JS, bla, bla, bla

Page 18: Useful automation

Confidential

Thank You!

QUESTIONS ?