Your SlideShare is downloading. ×
0
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
Robotframework Presentation - Pinoy Python Meetup 2011January12
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

Robotframework Presentation - Pinoy Python Meetup 2011January12

2,948

Published on

Robotframework Presentation of Pinoy Python Users Group Meetup of January 12, 2011

Robotframework Presentation of Pinoy Python Users Group Meetup of January 12, 2011

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,948
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
92
Comments
0
Likes
0
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. Introduction to Robotframework http://code.google.com/p/robotframework/ by Franz See http://twitter.com/franz_see http://ph.linkedin.com/in/franzsee Pinoy Python Users Group 2011-01-12 Meetup http://groups.google.com/group/pinoy-python-users http://www.facebook.com/group.php?gid=235993924519
  • 2. Robotframework Introduction <ul><li>What is Robotframework? </li></ul><ul><li>Installation </li></ul><ul><li>Usage </li></ul><ul><li>Custom Robotframework Library </li></ul><ul><li>Q&A </li></ul>
  • 3. What is Robotframework? <ul><li>Acceptance Testing </li></ul><ul><li>Keyword-Driven </li></ul><ul><li>Written Python </li></ul>
  • 4. Installation <ul><li>$ pip search robotframework </li></ul><ul><li>robotframework - A keyword-driven acceptance test automation framework </li></ul><ul><li>RobotDriver - RobotFramework support for Bitten </li></ul><ul><li>robotframework-databaselibrary - Database utility library for Robot Framework </li></ul><ul><li>robotframework-seleniumlibrary - Web testing library for Robot Framework </li></ul><ul><li>robotframework-ride - RIDE :: Robot Framework Test Data Editor </li></ul>http://code.google.com/p/robotframework/wiki/Installation http://www.wxpython.org/builddoc.php <ul><li>Pre-requisites: </li></ul><ul><ul><li>Python </li></ul></ul><ul><ul><li>wxPython </li></ul></ul>
  • 5. Installation <ul><li>$ pip install robotframework </li></ul><ul><li>... </li></ul><ul><li>$ pip install robotframework-ride # IDE for easier robot test editing </li></ul><ul><li>... </li></ul><ul><li>$ pip install robotframework-seleniumlibrary # for web testing </li></ul><ul><li>... </li></ul><ul><li>$ pip install robotframework-databaselibrary # for database verifications </li></ul><ul><li>... </li></ul>
  • 6. Usage - the test case
  • 7. Usage - the test case IDE
  • 8. Usage – running the tests $ pybot -d reports <path-to-robot-test-cases> ============================================================================== Sample Basic Project Test ============================================================================== Sample Basic Project Test.AllTests ============================================================================== Should-be-able-to-login | PASS | ------------------------------------------------------------------------------ Sample Basic Project Test.AllTests | PASS | 1 critical test, 1 passed, 0 failed 1 test total, 1 passed, 0 failed ============================================================================== Sample Basic Project Test | PASS | 1 critical test, 1 passed, 0 failed 1 test total, 1 passed, 0 failed ============================================================================== Output: <current-dir> /reports/output.xml Report: <current-dir> /reports/report.html Log: <current-dir>/ reports/log.html
  • 9. Usage - test results :: pass
  • 10. Usage - test results :: fail
  • 11. Usage - test results :: logs
  • 12. Usage - demo <Demo Time> <Testing a Pinax Cloned Project> <http://pinaxproject.com>
  • 13. Usage - demo <Demo Time> <Testing a Java Webapp>
  • 14. Custom Robotframework library <Demo Time> <Robotframework Database Library> <http://franz-see.github.com/Robotframework-Database-Library/>
  • 15. Custom Robotframework library - distribution <ul><li>$ python setup.py install </li></ul><ul><li>... </li></ul><ul><li>$ python setup.py bdist bdist_wininst </li></ul><ul><li>... </li></ul><ul><li>$ python $PATH_TO_LIBDOC/libdoc.py -o <output_dir> <src_dir> </li></ul><ul><li>... </li></ul><ul><li>$ python setup.py sdist register upload </li></ul><ul><li>... </li></ul>
  • 16. Questions? Thank you

×