robot framework: универсальный инструмент автоматизатора

Download Robot Framework: универсальный инструмент автоматизатора

Post on 29-Nov-2014

960 views

Category:

Education

2 download

Embed Size (px)

DESCRIPTION

Доклад Руслана Хозинова на конференции SQADays-15, 19.04.2014, г.Москва

TRANSCRIPT

  • 1. Robot Framework
  • 2. Junior QA Engineer at Mirantis Inc , : Vyatta OS: DMVPN Vyatta OS: Multicast Vyatta OS: STVPN
  • 3. ? BDD Robot Framework
  • 4. . ? (Debian ) multicast- (PIM, MSDP)
  • 5. .
  • 6. Behavior-Driven Development
  • 7. Behave Python Java (jBehave) BDD DRY
  • 8. Behave Scenario: Search for an account Given I search for a valid account Then I will see the account details @given('I search for a valid account') def step_impl(context): context.browser.get('http://localhost:8000/index') form = get_element(context.browser, tag='form') get_element(form, name="msisdn").send_keys('61415551234') form.submit()
  • 9. Robot Framework - RIDE Jenkins, Maven, Ant BDD
  • 10. Robot Framework. SQL / NoSQL Web- Java Swing GUI iOS Android REST/SOAP
  • 11. Robot Framework. Telnet iOS library MongoDB library Database Library Android library Rammbock Selenium library Swing Library HTTPLibrary SudsLibrarySSH Library
  • 12. Robot Framework. Keyword-driven
  • 13. Robot Framework. RIDE -
  • 14. Robot Framework. ,
  • 15. .
  • 16. . *AS -
  • 17. .
  • 18. Robot Framework CLI Robot Framework
  • 19. . Python RF ... [ WARN ] 10.10.10.10 [ WARN ] root [ WARN ] passwd
  • 20. BDD Robot Framework Given open telnet connection ${router} And telnet.set timeout 30 sec And telnet.set prompt (.*$ | .*]:|.*):|.*/n]|) When input command generate openvpn config vtun0 Then output should contain List of possible server addresses And output should contain ${router.ifaces[1].ipv4} And output should contain Choose OpenVPN server address
  • 21. .
  • 22. . Jenkins job
  • 23.
  • 24. Robot Framework robotframework.org Robot Framework: code.google.com/p/robotframework/wiki/TestLibraries Robot Framework: Best Practices code.google.com/p/robotframework/wiki/HowToWriteGoodTestCases Robot Framework: Jenkins plugin wiki.jenkins-ci.org/display/JENKINS/Robot+Framework+Plugin
  • 25. E-mail: rkhozinov@mirantis.com Skype: hozinov Blog: rkhozinov.blogspot.ru