Download presentation
Presentation is loading. Please wait.
Published byGregory Powell Modified over 9 years ago
1
ARCH12: QA Considerations - OERA ARCH-12: QA considerations for applications following the OpenEdge Reference Architecture SMAT-Team Tobago Thomas Hutegger & Pheona Job tmh@theNatureIsle.com ptj@smat-consulting.com
2
ARCH12: QA Considerations - OERA Agenda ➔ Overview of OpenEdge Reference Architecture Overview of WebSpeed Architecture Using ProDataSets in WebSpeed Examples of tests for various layers
3
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture Data access abstracted from storage Common business logic with advanced models Separated presentation and integration layers OERA
4
ARCH12: QA Considerations - OERA Goals For This Session Seeds of Thought: Layered architecture facilitates layered testing OpenEdge Reference Architecture and ProDataSet relevant for WebSpeed Ideas about how to implement layered testing More details in white-paper on PSDN...
5
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture Check Who is using ProDataSets? Who is using OpenEdge Reference Architecture? Who is using ProDataSets and OpenEdge Reference Architecture?
6
ARCH12: QA Considerations - OERA ProDataSets Implementing The OpenEdge Reference Architecture Server Data Access Object Business Entity Client GUI Procedure OERA DB
7
ARCH12: QA Considerations - OERA ProDataSets Implementing The OpenEdge Reference Architecture Server Data Access Object Business Entity Client GUI Procedure OERA DB
8
ARCH12: QA Considerations - OERA GUI Procedure OpenEdge Reference Architecture Validations Server Data Access Object xxdo.p Business Entity xxbe.p Super Save Get C/S DB Client
9
ARCH12: QA Considerations - OERA Procedure Call Flow – Display Data GUI Client BE DO attachDS fill detachDS prepare Call Flow DB
10
ARCH12: QA Considerations - OERA Procedure Call Flow – Update Data GUI Client BE DO attachDS save Changes detachDS update Changes are stored in original dataset changes created containing only beforeImage TT and related regular TT-records Call Flow DB
11
ARCH12: QA Considerations - OERA Testing ProDataSet Per Layer GUI Client BE DO attachDS save Changes detachDS update attachDS fill detachDS prepare test-dos.p test-bes.p Call Flow DB
12
ARCH12: QA Considerations - OERA Testing Layers Server Data Access Object Business Entity Client GUI Procedure OERA DB
13
ARCH12: QA Considerations - OERA Agenda ✔ Overview of OpenEdge Reference Architecture ➔ Overview of WebSpeed Architecture Using ProDataSets in WebSpeed Examples of tests for various layers
14
ARCH12: QA Considerations - OERA WebSpeed Check Who is using WebSpeed?
15
ARCH12: QA Considerations - OERA WebSpeed Architecture Web Server (Apache) Agent Progress Server Browser (Opera) Client Intranet Internet C/S DB
16
ARCH12: QA Considerations - OERA WebSpeed Round Trip Agent Read Data from Page Save Data to DB Get Data from DB Create Next HTML Page Name-Value Pairs HTML Web-Server C/S DB
17
ARCH12: QA Considerations - OERA Complexities with WebSpeed Non-4GL expertise needed (HTML,JavaScript,...) Testing/Debugging –White screen (severe error, server-log) –Restart of Agents (to pick up changed programs) “Stateless” client –context management –Flat character-only data-structure (name-value pairs)
18
ARCH12: QA Considerations - OERA Tasks of Framework Converts name-value pairs into temp-table Requires data for HTML page in temp-tables Merges data with HTML page template (plain text) Sends merged page to web-stream (i.e. WebServer)... or to a file (for testing purposes)
19
ARCH12: QA Considerations - OERA Framework Agent Read Data from Page Save Data to DB Get Data from DB Create Next HTML Page Name-Value Pairs HTML Web-Server Framework HTML saved in plain OS text file Provide Name-Value Pairs Temp-Table Simulating Test Program X X C/S DB
20
ARCH12: QA Considerations - OERA Agenda ✔ Overview of OpenEdge Reference Architecture Architecture ✔ Overview of WebSpeed Architecture ➔ Using ProDataSets in WebSpeed Examples of tests for various layers
21
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture with WebSpeed Check Who is using ProDataSets with WebSpeed? Who is using OpenEdge Reference Architecture with WebSpeed? Who is using ProDataSets and OpenEdge Reference Architecture with WebSpeed?
22
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture Data access abstracted from storage Common business logic with advanced models Separated presentation and integration layers OERA
23
ARCH12: QA Considerations - OERA WebSpeed Implementing The OpenEdge Reference Architecture Data Access Object Business Entity Agent Read Data From Page DB Create Next HTML Page Web-Server OERA
24
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture with WebSpeed Client GUI Procedure Validations Server Data Access Object xxdo.p Business Entity xxbe.p Super WebSpeed Client (PPO) Save Get Browser Web-Server Save Get C/S DB
25
ARCH12: QA Considerations - OERA Procedure Call Flow – Prepare Page PPO BE DO Request Page attachDS fill detachDS prepare Return HTML Call Flow DB
26
ARCH12: QA Considerations - OERA Issues With WebSpeed Did record change since page was prepared? –Additionally sending complete record to page So it can be retrieved as “before image” record –Using “version” field Total disconnect between preparing page and next post –ProDataSet content lost –No before-image temp-table possible –Standard ProDataSet update feature can't be used
27
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture and ProDataSets with WebSpeed Client GUI Procedure Validations Server Data Access Object xxdo.p Business Entity xxbe.p Super WebSpeed Client (PPO) Save Get Browser Web-Server Save Get C/S DB
28
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture and ProDataSets with WebSpeed Client Server Super Save Get Web Library xxwb.p Browser Web-Server Super Save Get C/S GUI Procedure Validations Data Access Object xxdo.p Business Entity xxbe.p WebSpeed Client (PPO) DB
29
ARCH12: QA Considerations - OERA OpenEdge Reference Architecture and ProDataSets with WebSpeed Client Server Super Save Get Web Library xxwb.p Browser Web-Server Super Save Get C/S GUI Procedure Validations Data Access Object xxdo.p Business Entity xxbe.p WebSpeed Client (PPO) DB
30
ARCH12: QA Considerations - OERA Call Flow – Save and Prepare Page Page Processing Object WB Post Page attachDS fill detachDS prepare Return HTML saveTt Save BE Validate DO Super savePd Save test-ppos.p test-bes.p test-dos.p test-wbs.p Call Flow DB
31
ARCH12: QA Considerations - OERA Agenda ✔ Overview of OpenEdge Reference Architecture Architecture ✔ Overview of WebSpeed Architecture ✔ Using ProDataSets in WebSpeed ➔ Examples of tests for various layers
32
ARCH12: QA Considerations - OERA Testing the Data Access Object Post Page attachDS fill detachDS prepare Return HTML saveTt Save Super Page Processing Object WB savePd Save BE Validate DO DB test-dos.p Call Flow
33
ARCH12: QA Considerations - OERA Test-dos.p Report Results Call DO Run DO
34
ARCH12: QA Considerations - OERA Page Processing Object WB BE Validate DO DB Testing the Business Entity Object Post Page attachDS fill detachDS prepare Return HTML saveTt Save Super savePd Save test-bes.p test-dos.p Call Flow
35
ARCH12: QA Considerations - OERA Test-bes.p Call BE Report Results
36
ARCH12: QA Considerations - OERA Page Processing Object WB BE Validate DO DB Testing Web Object Post Page attachDS fill detachDS prepare Return HTML saveTt Save Super savePd Save test-wbs.p test-dos.p test-bes.p Call Flow
37
ARCH12: QA Considerations - OERA Test-wbs.p Run WB Prepare Data Call WB
38
ARCH12: QA Considerations - OERA test-wbs.p (cont.) Report Results
39
ARCH12: QA Considerations - OERA Page Processing Object WB BE Validate DO DB Testing Page Process Object Post Page attachDS fill detachDS prepare Return HTML saveTt Save Super savePd Save test-ppos.p test-dos.p test-bes.p test-wbs.p Call Flow
40
ARCH12: QA Considerations - OERA Test-ppos.p Start Framework Simulate 1 Page
41
ARCH12: QA Considerations - OERA Goals For This Session Seeds of Thought: Layered architecture facilitates layered testing OpenEdge Reference Architecture and ProDataSet relevant for WebSpeed Ideas about how to implement layered testing More details in white-paper on PSDN...
42
ARCH12: QA Considerations - OERA Questions?
43
ARCH12: QA Considerations - OERA Thank you www.smat-consulting.com tmh@theNatureIsle.comptj@smat-consulting.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.