automated testing apex applications
TRANSCRIPT
Copyright © 2013 Apex Evangelists
Automatic for the PeopleEnd to end automated testing of your APEX application
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
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
A Small Ad...
Test Types
Unit Tests
Integration Tests
Acceptance Tests
Unit Tests
Integration Tests
Acceptance Tests
How Do You Test (theory)?
$$$
Business facing
Technology facing
Are we building the right system?
Are we building the system right?
How Do You Test (practice)?
Unit TestsUnit Tests
Integration Tests
Acceptance Tests
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>
We Want More Fun!
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
Why Automate?
• Reduce time to market
• Find defects early
• Find more defects (coverage)
• Less boring ... more fun !
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
Automating Unit Tests
PL/SQL
SPECIFICATIONS
TEST CODE
>CODE TO TEST
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
Automating Integration Tests
API Tests
Integration Tests
Component Tests
Unit Tests
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
Automating Acceptance tests
CRITERIA
FUNCTIONALITYPERFORMANCE
PERFORMANCE FUNCTIONALITY
<NOSCRIPT>
CRITERIA
FUNCTIONALITYPERFORMANCE
FUNCTIONALITYPERFORMANCE
DEMONSTRATION
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
Testing APEX with Selenium
Export Test Case/Suite as ...JavaScript
to emulate user actions
Selenium RC
Accessibility API
Selenese
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
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 Evangelistshttp://apex-evangelists.com
What, When And How?
Manual 100% automated coverage
high riskhuge customer base
stable specs
multiple browsersmultiple OS
Copyright © 2013 Apex Evangelistshttp://apex-evangelists.com
Q & A
[email protected]://apex-evangelists.com
Copyright © 2013 Apex Evangelists