Automated testing APEX Applications

2,755 views
2,505 views

Published on

Why and how to implement automated testing for your Oracle Application Express (APEX) applications.

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

No Downloads
Views
Total views
2,755
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
66
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Automated testing APEX Applications

  1. 1. Automatic for the People End to end automated testing of your APEX applicationCopyright © 2013 Apex Evangelists
  2. 2. About Roel• Director of APEX Evangelists NL• 20+ years of Oracle Experience• “RoelH” in the APEX Forum• Presenter at KSCOPE, OOW, Collaborate, DOAG, UKOUG, ...• Oracle ACE Director• Blog @ http://roelhartman.blogspot.com• Twitter : @RoelH Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  3. 3. A Small Ad...
  4. 4. Test Types Acceptance Tests Integration Tests Unit Tests
  5. 5. How Do You Test (theory)?Business facingAre we building the right system? Acceptance Tests$$$Are we building the system right?Technology facing Integration Tests Unit Tests
  6. 6. How Do You Test (practice)? Acceptance Tests Integration Tests Unit Tests Unit Tests
  7. 7. Why? Photo Credit: <a href="http://www.flickr.com/photos/30595068@N06/5703357431/">Photosightfaces</a> via <a href="http://compfight.com">Compfight</a> <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">cc</a>
  8. 8. We Want More Fun!
  9. 9. Why Automate?• Reduce time to market• Find defects early• Find more defects (coverage)• Less boring ... more fun ! Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  10. 10. Automating Unit Tests Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  11. 11. PL/SQL
  12. 12. SPECIFICATIONS
  13. 13. TEST CODE >CODE TO TEST
  14. 14. Automating Integration Tests Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  15. 15. API TestsIntegration TestsComponent Tests Unit Tests
  16. 16. Automating Acceptance tests Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  17. 17. CRITERIAPERFORMANCE FUNCTIONALITY
  18. 18. PERFORMANCE FUNCTIONALITY <NOSCRIPT>
  19. 19. CRITERIAPERFORMANCE FUNCTIONALITY
  20. 20. PERFORMANCE FUNCTIONALITY
  21. 21. Testing APEX withSeleniumDEMONSTRATION Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  22. 22. R C iu m le nS e JavaScript to emulate user actions Export Test Case/Suite as ...
  23. 23. Accessibility API
  24. 24. Selenese
  25. 25. More (very) Advanced Options• Mobile support• Grid - Testing browser / OS combinations• Actions like drag & drop• HTML5 - AppCache, Local Storage, Connection status• Screenshots Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  26. 26. What, When And How? multiple OS multiple browsers stable specs huge customer base high riskManual 100% automated coverage Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  27. 27. Q A & Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  28. 28. Copyright © 2013 Apex Evangelists http://apex-evangelists.com
  29. 29. roel@apex-evangelists.comhttp://apex-evangelists.com Copyright © 2013 Apex Evangelists

×