Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
TEST
AUTOMATION
USING ROBOTFRAMEWORK LIBRARIES
BROUGHT TO YOU BY
STOJAN PESHOV
ATTD
ME, MYSELF AND JAVA
ETF, FEIT, FINKI
EUREKA, FREELANCE, GENREP, POLAR CAPE
2002: INTRODUCTION WITH JAVA
PORTALS (CMS), ETL...
1 ROBOT FRAMEWORK
1A ATTD
2A TEST AUTOMATION
2 RF LIBRARIES
3 TESTERONE
4 DEMO
5 SUMMARY
AGENDA
THANK YOU
1 ROBOT FRAMEWORK
1A ATTD
2A TEST AUTOMATION
2 RF LIBRARIES
3 TESTERONE
4 DEMO
5 SUMMARY
AGENDA = REQUIREMENTS
COVERAGE
TEST AUTOMATION FRAMEWORK
FOR
ACCEPTANCE TESTING
AND
ACCEPTANCE TEST-DRIVEN
DEVELOPMENT (ATDD)
ROBOT FRAMEWORK IS A…
ACCEPTANCE TESTING
TEST IF THE REQUIREMENTS ARE MET
TDD ADJUSTED TO CUSTOMER
ATDD TESTS SHOULD BE READABLE BY THE CUSTOMER...
ATTD … CYCLE
ATTD: DEVELOP PHASE
ATTD: BENEFITS
● COMPREHENSIBLE EXAMPLES OVER
COMPLEX FORMULAS
● CREATE DOMAIN SPECIFIC LANGUAGE
● CLOSE COLLABORATION
● D...
SOFTWARE, NOT HUMAN
NOT LAZY TESTER
ACTUAL V.S. PREDICTED OUTCOMES
1 CODE DRIVEN TESTING
UNIT FRAMEWORKS
2 GUI TESTING
REC...
ROBOT
FRAMEWORK
INTRODUCTION
● GENERIC TEST AUTOMATION FRAMEWORK
- UTILIZES THE KEYWORD-DRIVEN TESTING APPROACH
● IMPLEMENTED WITH PYTHON
- JYTHON SUPP...
- TXT / HTML FORMAT
- KEYWORD, DATA AND BEHAVIOR – DRIVEN
- MODULAR ARCHITECTURE (LIBRARIES)
- CUSTOMIZABLE REPORTS
- JENK...
RF ARCHITECTURE
USE RF IN JAVA
SIMPLE LIBRARY
SIMPLE TEST CASE
- CUSTOM IDE (RIDE) NOT WORKING ON MAC
- NO CONTROL OVER DIRTY CODE (TXT)
- PYTHON DEPENDENCY
- REMOTE LIBRARY HAS ERRORS
...
1 ROBOT FRAMEWORK
2 RF LIBRARIES
3 TESTERONE
4 DEMO
5 SUMMARY
AGENDA
COVERAGE
RF LIBRARES
SELENIUM 2 LIBRARY
AUTOMATES BROWSER
AUTOIT
AUTOMATES WINDOWS APPS
MONKEYTALK
AUTOMATES DEVICES (MOBILE)
OTHER...
SELENIUM AUTOMATES
BROWSERS
SELENIUM LIBRARY EXPOSES
SELENIUM API AS KEYWORDS
1 ROBOT FRAMEWORK
2 SELENIUM LIBRARY
3 TESTERONE (CODE NAME)
4 DEMO
5 SUMMARY
AGENDA
COVERAGE
TESTERONE
FOCUS ON BUSINESS FLOWS
LEAVE THE TECHNICAL STUFF TO TECHNICAL STAFF
REUSE COMPONENT DEFINITIONS
FOR CUSTOMERS: CLICK IS C...
EXCEL / DB STORAGE
KEYMAP
STORE VARIABLES
CONTINUOUS INTEGRATION
MAVEN
NO PYTHON DEPENDENCY
TESTERONE FEATURES
FUTURE:
GUI / SERVICES
OBJECT IDENTIFICATION
TEST CASE / SUITE MANAGEMENT
REPORT MANAGEMENT
REMOTE LIBRARY
OWN SELENIUM LI...
ARCHITECTURE
CONTINUOUS INTEGRATION
1 ROBOT FRAMEWORK
2 SELENIUM LIBRARY
3 TESTERONE
4 DEMO
5 SUMMARY
AGENDA
COVERAGE
DEMO
WHERE IS THE ACCEPTANCE?
1 ROBOT FRAMEWORK
2 SELENIUM LIBRARY
3 TESTERONE
4 DEMO
5 SUMMARY
AGENDA
COVERAGE
SUMMARY
BRIDGING THE COMMUNICATION GAP
GOJKO ADZIC
PRACTICAL TDD AND ATDD FOR JAVA
DEVELOPERS
LASSE KOSKELA
ROBOTFRAMEWORK
ROBOTFR...
THANK YOU
QUESTIONS?
TWITTER: @FLEKATA
LINKEDID: STOJAN PESOV
EMAIL: STOJAN.PESOV@GMAIL.COM
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
JavaCro'14 - Test Automation using RobotFramework Libraries – Stojan Peshov
Upcoming SlideShare
Loading in …5
×

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

18,688 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 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
  • 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

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

  1. 1. TEST AUTOMATION USING ROBOTFRAMEWORK LIBRARIES BROUGHT TO YOU BY STOJAN PESHOV ATTD
  2. 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. 3. 1 ROBOT FRAMEWORK 1A ATTD 2A TEST AUTOMATION 2 RF LIBRARIES 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA
  4. 4. THANK YOU
  5. 5. 1 ROBOT FRAMEWORK 1A ATTD 2A TEST AUTOMATION 2 RF LIBRARIES 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA = REQUIREMENTS COVERAGE
  6. 6. TEST AUTOMATION FRAMEWORK FOR ACCEPTANCE TESTING AND ACCEPTANCE TEST-DRIVEN DEVELOPMENT (ATDD) ROBOT FRAMEWORK IS A…
  7. 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. 8. ATTD … CYCLE
  9. 9. ATTD: DEVELOP PHASE
  10. 10. ATTD: BENEFITS ● COMPREHENSIBLE EXAMPLES OVER COMPLEX FORMULAS ● CREATE DOMAIN SPECIFIC LANGUAGE ● CLOSE COLLABORATION ● DEFINITION OF DONE ● TRUST AND COMMITMENT
  11. 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. 12. ROBOT FRAMEWORK INTRODUCTION
  13. 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. 14. - TXT / HTML FORMAT - KEYWORD, DATA AND BEHAVIOR – DRIVEN - MODULAR ARCHITECTURE (LIBRARIES) - CUSTOMIZABLE REPORTS - JENKINS PLUGIN - REMOTE INTERFACE RF FEATURES
  15. 15. RF ARCHITECTURE
  16. 16. USE RF IN JAVA
  17. 17. SIMPLE LIBRARY
  18. 18. SIMPLE TEST CASE
  19. 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. 20. 1 ROBOT FRAMEWORK 2 RF LIBRARIES 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA COVERAGE
  21. 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. 22. SELENIUM AUTOMATES BROWSERS SELENIUM LIBRARY EXPOSES SELENIUM API AS KEYWORDS
  23. 23. 1 ROBOT FRAMEWORK 2 SELENIUM LIBRARY 3 TESTERONE (CODE NAME) 4 DEMO 5 SUMMARY AGENDA COVERAGE
  24. 24. TESTERONE
  25. 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. 26. EXCEL / DB STORAGE KEYMAP STORE VARIABLES CONTINUOUS INTEGRATION MAVEN NO PYTHON DEPENDENCY TESTERONE FEATURES
  27. 27. FUTURE: GUI / SERVICES OBJECT IDENTIFICATION TEST CASE / SUITE MANAGEMENT REPORT MANAGEMENT REMOTE LIBRARY OWN SELENIUM LIBRARY TESTERONE FEATURES
  28. 28. ARCHITECTURE
  29. 29. CONTINUOUS INTEGRATION
  30. 30. 1 ROBOT FRAMEWORK 2 SELENIUM LIBRARY 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA COVERAGE
  31. 31. DEMO
  32. 32. WHERE IS THE ACCEPTANCE?
  33. 33. 1 ROBOT FRAMEWORK 2 SELENIUM LIBRARY 3 TESTERONE 4 DEMO 5 SUMMARY AGENDA COVERAGE
  34. 34. SUMMARY
  35. 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. 36. THANK YOU QUESTIONS?
  37. 37. TWITTER: @FLEKATA LINKEDID: STOJAN PESOV EMAIL: STOJAN.PESOV@GMAIL.COM

×