Your SlideShare is downloading. ×
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov

4,365
views

Published on

Brief introduction to Test Automation Frameworks, Acceptance Testing and ATTD using Testerone – custom made solution based on RobotFramework and it’s extensive libraries for Selenium’s and AutoIT’s …

Brief introduction to Test Automation Frameworks, Acceptance Testing and ATTD using Testerone – custom made solution based on RobotFramework and it’s extensive libraries for Selenium’s and AutoIT’s support.
Bring the test cases closer to business people, leave the technical stuff to technical staff using simple business-to-tech excel sheet (map) for collaboration. Complete the solution by controlling everything using Jenkins CI server.

Published in: Technology, Education

1 Comment
3 Likes
Statistics
Notes
  • You mentioned RIDE not working on a Mac as a limitation. However my test group of 3 has been using RIDE on a Mac for well over a year. (of course the setup isn't straight forward on a Mac)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
4,365
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
48
Comments
1
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. TEST AUTOMATION USING ROBOTFRAMEWORK LIBRARIES BROUGHT TO YOU BY STOJAN PESHOV ATTD
  • 2. ME, MYSELF AND JAVA ETF, FEIT, FINKI EUREKA, FREELANCE, GENREP, POLAR CAPE 2002: INTRODUCTION WITH JAVA PORTALS (CMS), ETL, HIBERNATE EE SINCE 2007 SPRING, JSF, J2EE CURRENT PROJECTS MOBILE (CORDOVA, ANGULARJS), TEST AUTOMATION JUGMK CO-FOUNDER
  • 3. 1 ROBOT FRAMEWORK 1A ATTD 2A TEST AUTOMATION 2 RF LIBRARIES 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA
  • 4. THANK YOU
  • 5. 1 ROBOT FRAMEWORK 1A ATTD 2A TEST AUTOMATION 2 RF LIBRARIES 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA = REQUIREMENTS COVERAGE
  • 6. TEST AUTOMATION FRAMEWORK FOR ACCEPTANCE TESTING AND ACCEPTANCE TEST-DRIVEN DEVELOPMENT (ATDD) ROBOT FRAMEWORK IS A…
  • 7. ACCEPTANCE TESTING TEST IF THE REQUIREMENTS ARE MET TDD ADJUSTED TO CUSTOMER ATDD TESTS SHOULD BE READABLE BY THE CUSTOMER SPECIFICATION BY EXAMPLE (SBE) BDD - AGILE ATTD IS A…
  • 8. ATTD … CYCLE
  • 9. ATTD: DEVELOP PHASE
  • 10. ATTD: BENEFITS ● COMPREHENSIBLE EXAMPLES OVER COMPLEX FORMULAS ● CREATE DOMAIN SPECIFIC LANGUAGE ● CLOSE COLLABORATION ● DEFINITION OF DONE ● TRUST AND COMMITMENT
  • 11. SOFTWARE, NOT HUMAN NOT LAZY TESTER ACTUAL V.S. PREDICTED OUTCOMES 1 CODE DRIVEN TESTING UNIT FRAMEWORKS 2 GUI TESTING RECORD AND PLAYBACK TEST SCRIPTS TEST AUTOMATION IS A…
  • 12. ROBOT FRAMEWORK INTRODUCTION
  • 13. ● GENERIC TEST AUTOMATION FRAMEWORK - UTILIZES THE KEYWORD-DRIVEN TESTING APPROACH ● IMPLEMENTED WITH PYTHON - JYTHON SUPPORTED FULLY AND IRONPYTHON INITIALLY - OTHER LANGUAGES SUPPORTED VIA XML-RPC BASED REMOTE INTERFACE ● OPEN SOURCE - APACHE 2.0 LICENSE - SPONSORED BY NOKIA SIEMENS NETWORKS - ACTIVE DEVELOPMENT AND GROWING COMMUNITY - HOSTED ON GOOGLE CODE ROBOTFRAMEWORK IS
  • 14. - TXT / HTML FORMAT - KEYWORD, DATA AND BEHAVIOR – DRIVEN - MODULAR ARCHITECTURE (LIBRARIES) - CUSTOMIZABLE REPORTS - JENKINS PLUGIN - REMOTE INTERFACE RF FEATURES
  • 15. RF ARCHITECTURE
  • 16. USE RF IN JAVA
  • 17. SIMPLE LIBRARY
  • 18. SIMPLE TEST CASE
  • 19. - CUSTOM IDE (RIDE) NOT WORKING ON MAC - NO CONTROL OVER DIRTY CODE (TXT) - PYTHON DEPENDENCY - REMOTE LIBRARY HAS ERRORS - EXPECT CLIENTS TO WRITE AND MAINTAIN TESTS RF LIMITATIONS
  • 20. 1 ROBOT FRAMEWORK 2 RF LIBRARIES 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA COVERAGE
  • 21. RF LIBRARES SELENIUM 2 LIBRARY AUTOMATES BROWSER AUTOIT AUTOMATES WINDOWS APPS MONKEYTALK AUTOMATES DEVICES (MOBILE) OTHER OPERATINGSYSTEM, TELNET, SCREENSHOT, STRING, … SWINGLIBRARY, SSHLIBRARY, DBLIBRARY
  • 22. SELENIUM AUTOMATES BROWSERS SELENIUM LIBRARY EXPOSES SELENIUM API AS KEYWORDS
  • 23. 1 ROBOT FRAMEWORK 2 SELENIUM LIBRARY 3 TESTERONE (CODE NAME) 4 DEMO 5 SUMMARY AGENDA COVERAGE
  • 24. TESTERONE
  • 25. FOCUS ON BUSINESS FLOWS LEAVE THE TECHNICAL STUFF TO TECHNICAL STAFF REUSE COMPONENT DEFINITIONS FOR CUSTOMERS: CLICK IS CLICK, INPUT IS INPUT GAIN MORE CONTROL DESKTOP, WEB AND DEVICE TESTING TESTERONE MOTIVATION
  • 26. EXCEL / DB STORAGE KEYMAP STORE VARIABLES CONTINUOUS INTEGRATION MAVEN NO PYTHON DEPENDENCY TESTERONE FEATURES
  • 27. FUTURE: GUI / SERVICES OBJECT IDENTIFICATION TEST CASE / SUITE MANAGEMENT REPORT MANAGEMENT REMOTE LIBRARY OWN SELENIUM LIBRARY TESTERONE FEATURES
  • 28. ARCHITECTURE
  • 29. CONTINUOUS INTEGRATION
  • 30. 1 ROBOT FRAMEWORK 2 SELENIUM LIBRARY 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA COVERAGE
  • 31. DEMO
  • 32. WHERE IS THE ACCEPTANCE?
  • 33. 1 ROBOT FRAMEWORK 2 SELENIUM LIBRARY 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA COVERAGE
  • 34. SUMMARY
  • 35. BRIDGING THE COMMUNICATION GAP GOJKO ADZIC PRACTICAL TDD AND ATDD FOR JAVA DEVELOPERS LASSE KOSKELA ROBOTFRAMEWORK ROBOTFRAMEWORK.ORG CODE.GOOGLE.COM/P/ROBOTFRAMEWORK/WIKI/USERGUIDE REFERENCES
  • 36. THANK YOU QUESTIONS?
  • 37. TWITTER: @FLEKATA LINKEDID: STOJAN PESOV EMAIL: STOJAN.PESOV@GMAIL.COM