ATS121 FuncTesting Ovw
ATS121 FuncTesting Ovw
ATS121 FuncTesting Ovw
Yutaka Takatsu
Group Product Manager
Agenda
Application Testing Suite (ATS) & OpenScript Overview (10 min)
Starting with OpenScript Functional Testing (30 min)
Accelerators
Web
Siebel
EBS/
FORMS
Fusion/
Fusion/
ADF
ADF
JDEdwards
Enterprise
One
Web
Services
Database
Adobe
Flex
Agenda
Application Testing Suite (ATS) & OpenScript Overview
Starting with OpenScript Functional Testing - Basic Operations
HTML DOM
GUI Commands
Contents Returned from the Server
Why is this important? You can later use
the information to debug your script, by
comparing it with the playback results.
8
OpenScript WebDOM is
enabled in the FF Browser
If NOT enabled, OpenScript
will fail to start the recording.
11
12
Agenda
Application Testing Suite (ATS) & OpenScript Overview
Starting with OpenScript Functional Testing
Xpath
web.
button( 38,
Action
At the Playback, OpenScript executes them ONE BY ONE until it gets to the end of the
Script.
14
15
(e.g. Link object can be identified by attributes: text, href and Index)
ADFCommandButton
object will be recorded
with attributes: text
and absoluteLocator in
its Xpath
16
Agenda
Application Testing Suite (ATS) & OpenScript Overview
Starting with OpenScript Functional Testing
18
19
HTML
Rendered HTML
HTML DOM
Comparison:
Browser view
Comparison:
HTML view
Agenda
Application Testing Suite (ATS) & OpenScript Overview
Starting with OpenScript Functional Testing
5
Data is Parameterized!
3
2
22
"/web:window[@index='0' or @title='Stocks']
/web:document[@index='0']
/web:form[@id='loginform' or @name='loginform' or @index='0']
/web:input_submit[@name='LoginButton' or @value='Login' or @index='0']")
.click()
web.button(9,
"{{obj.myOBJlib.web_input_submit_LoginButton}}")
.click()
23
Create a script.
BEFORE recording,
Select Apply Object
Libraries from the
Script menu
Alternatively, directly
add Object Library in
the Script Properties
dialog
24
Child Scripts
25
1
Create a Master Script.
Right Mouse Click to
select Add
3
Select Child Scripts. By doing
this, Child scripts are added as
Script assets to the Master
Script
Select RunScript
and Click OK
3
Select New Function
and Click OK
Function is created
27
2
Right Mouse Click to select
Add
28
*Code assist for calling a function from a dedicated Function library is a new feature in 12.1
30
Tree View
Code View
*Code assist for calling a function from a dedicated Function library is a new feature in 12.1
31
Agenda
Application Testing Suite (ATS) & OpenScript Overview
Starting with OpenScript Functional Testing
33
Agenda
Application Testing Suite (ATS) & OpenScript Overview
Starting with OpenScript Functional Testing
More details, please see Oracle Application Testing Suite 12c: New Features and Enhancements Training
Series in the Oracle Learning Library. Recording and PPT available.
https://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:6397,1
35
Q&A
36