Oracle Enterprise Manager Oracle Database and Application Testing. Application Testing Suite Lab. Session S318966

Similar documents
Oracle Enterprise Manager Oracle Database and Application Testing. Data Masking Lab. Session S318966

Application Testing Suite OpenScript Functional Testing Introduction. Yutaka Takatsu Group Product Manager Oracle Enterprise Manager - ATS

Oracle Enterprise Manager 11g Ops Center 2.5 Hands-on Lab

To complete this project, you will need the following folder:

Oracle Application Testing Suite

5. A small dialog window appears; enter a new password twice (this is different from Dori!) and hit Go.

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse

5.5.3 Lab: Managing Administrative Settings and Snap-ins in Windows XP

Practice Labs User Guide

JCCC Virtual Labs. Click the link for more information on installing on that device type. Windows PC/laptop Apple imac or MacBook ipad Android Linux

Introduction to IBM Rational HATS For IBM System i (5250)

umapps Using umapps 6/14/2017 Brought to you by: umtech & The Center for Teaching & Learning

Ektron Advanced. Learning Objectives. Getting Started

Using the IMS Universal Drivers and QMF to Access Your IMS Data Hands-on Lab

CIS 231 Windows 7 Install Lab #2

BEAWebLogic. Portal. Tutorials Getting Started with WebLogic Portal

Using the IMS Universal Drivers and QMF to Access Your IMS Data Hands-on Lab

WA L KT H R O U G H 1

EDAConnect-Dashboard User s Guide Version 3.4.0

Oracle Test Manager. Test Manager User s Guide Release E

HP ALM Performance Center

Business Process Testing

At the shell prompt, enter idlde

Connection Tests for the ReadyTech environment

Connecting to Cisco Insight Reporter v3.1

Windows 8.1 User Guide for ANU Staff

IS L02-MIGRATING TO SEP 12.1

Interlink Express Desktop Printing Service Installation Guide

WebSphere MQ V7 STEW. JMS Setup Lab. October 2008 V2.3

WA1937 WebSphere Portal 7.0 Programming. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2012 Web Age Solutions Inc. 1

These pages will help you get started with the Mazda Web Report System. Use the following options to find the information you need:

SRM UNIVERSITY DEPARTMENT OF COMPUTER APPLICATIONS LESSON PLAN FOR LAB. No. of hours required

Virtual Desktop Infrastructure Setup for Windows 10

CIS 231 Windows 10 Install Lab # 3

Oracle Enterprise Manager Oracle Fusion Middleware Management. WebLogic Server Management Lab. Session S318968

CollabNet TeamForge 5.3 Evaluator s Guide

Windows 8.1 User Guide for ANU Staff

KVM Console. KVM Console

UP L12: Still on SEP 11? Let us show you how to simplify migration to SEP.

Additional Network Workstation Windows XP Installation Guide

EZ Net Authorization Inquiry

Module 3: Working with C/C++

VMware AirWatch: Directory and Certificate Authority

Module Road Map. 7. Version Control with Subversion Introduction Terminology

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

WA1547 WebSphere Portal v6 Programming. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc.

Cisco Unified Serviceability

Build Mobile Apps for Oracle E-Business Suite with Oracle Mobile Platform Part 2

1) Use either Chrome of Firefox to access the VMware vsphere web Client. FireFox

Hello, welcome to this brief tutorial on accessing and playing Adobe Presenter video files.

Policy Commander Console Guide - Published February, 2012

IBM WebSphere Lombardi Edition 7.2 Business Process Management Workshop

BROWSER-BASED SUPPORT CONSOLE USER S GUIDE. 31 January 2017

Managing Your Website with Convert Community. My MU Health and My MU Health Nursing

We start by providing you with an overview of the key feature of the IBM BPM Process Portal.

Welcome to the CP Portal

Partner Integration Portal (PIP) Installation Guide

QTP interview questions

Table of Contents HOL-SDC-1422

Database Explorer Quickstart

From green-screens to Web services: using WebSphere Host Access Transformation Services (HATS) V6

Appendix A: Courseware setup

QuickTest Professional 10

Enterprise Modernization for IBM System z:

From the Insert Tab (1), highlight Picture (2) drop down and finally choose From Computer to insert a new image

ANCILE uperform Quick Reference

Introduction to IBM Rational HATS For IBM System z (3270)

University Systems. Client Technologies

BlueMix Hands-On Workshop

Polarion Trial Installation 17.2

Getting Started With the Cisco PAM Desktop Software

IM L07 Configuring Enterprise Vault Data Classification Services

[ Getting Started with Analyzer, Interactive Reports, and Dashboards ] ]

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

Zend Studio 3.0. Quick Start Guide

Enterprise Generation Language (EGL) for IBM i operating system Create a web application using EGL and the Data Access Application Wizard

Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth

BLUEPRINT TEAM REPOSITORY. For Requirements Center & Requirements Center Test Definition

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Evoq 9 Content Managers Training Manual

HP ALM Overview. Exercise Outline. Administration and Customization Lab Guide

Lab - Task Manager in Windows 8

WebFOCUS User Manual

Virtual Desktop Infrastructure Setup for Windows 7

Eclipse/Websphere. Page 1 Copyright 2004 GPL License. All rights reserved.

IT Access Portal User Guide (Employees)

Oracle SOA Suite VirtualBox Appliance. Introduction and Readme

Build the application using Rational Build Forge

DOCUMENTUM D2. User Guide

JBoss Portal Quickstart User Guide. Release 2.6.6

Mercury Quality Center Tutorial, Version 8.2

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills

Silk Performance Manager Installation and Setup Help

TIBCO Spotfire DecisionSite Quick Start Guide

Unified CCX Administration Web Interface

WA1685 WebSphere Portal v6.1 Programming. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc

Hosted Voice Console Assistant Set-up and User Guide V

Introduction to IBM Data Studio, Part 1: Get started with IBM Data Studio, Version and Eclipse

Introduction to IBM Data Studio, Part 1: Get started with IBM Data Studio, Version and Eclipse

Transcription:

Oracle Enterprise Manager Oracle Database and Application Testing Application Testing Suite Lab Session S318966

Oracle Enterprise Manager 11g Application Testing Suite 9.1 Hands on Lab Introduction to Enterprise Manager 11g Oracle Enterprise Manager 11g is the centerpiece of Oracle's integrated IT management strategy, which rejects the notion of management as an after thought. At Oracle, we design manageability into each product from the start, enabling Oracle Enterprise Manager to then serve as the integrator of manageability across the entire stack encompassing Oracle and non Oracle technologies. Fueled by this unique vision, Oracle Enterprise Manager 11g has introduced business driven IT management to help IT deliver greater business value through three highly differentiated capabilities: Business driven application management, which combines industry leading capabilities in real user experience management, business transaction management and business service management to improve application users' productivity while enhancing business transaction availability Integrated application to disk management, which provides deep management across the entire Oracle stack to reduce IT management complexity and eliminate disparate point tools Integrated systems management and support, which utilizes industry first technology bring support services into the IT management console; enabling proactive IT administration, increased application and system availability, and improved customer satisfaction What is Oracle Application Testing Suite? Oracle Application Testing Suite is a suite of products for automated functional testing, load testing and test management of Web, packaged and SOA based applications. There are three separately licensed products in the Oracle Application Testing Suite: Oracle Functional Testing for automating functional and regression testing of Web applications, packaged applications and SOA Web Services. Oracle Load Testing for automated load testing of Web applications, packaged applications and SOA Web Services. Oracle Test Manager for documenting and managing the overall test process including test requirements, test cases and issues. What is OpenScript? OpenScript is the next generation scripting platform for the Application Testing Suite. OpenScript, a component of Oracle Functional Testing, allows you to create automated functional and regression testing scripts for your Web applications, Web Services and Oracle Applications including EBS, PeopleSoft, Siebel and more. OpenScript also allows you to create load test scripts to test the performance of these same applications using Oracle Load Testing. OpenScript combines an intuitive, graphical scripting interface with a flexible, Eclipse based Java IDE to support the needs of advanced QA professionals and novice testers alike. OpenScript's unique integrated scripting platform can help you address all your test automation needs. Page 1 of 38

This lab will demonstrate: Creating a web application test script Playing back the script and analyzing the results Parameterizing inputs Adding test cases to verify aspects of the application Creating a function library (OPTIONAL EXERCISE) Please feel free to seek assistance from the instructor or Oracle Demo staff at any point in time. Before we start taking you through the demonstration, please note the following: You will be given a virtual machine address to use for this lab. For ease of reference, you may want to write this information below: Virtual Machine Address: Username: Password: Start the lab by connecting to that virtual machine using Window Remote Desktop (Start All Programs Accessories Remote Desktop Connection). Enter the virtual machine address to connect to and username and password. Oracle Demo staff will also provide you with the address for the web application you will be scripting against. When you record your script, you will enter that URL in the recording browser launched by OpenScript. For ease of reference, you may want to write this URL below: Application Address: Page 2 of 38

Create a New Functional Test Script 1. Launch OpenScript using the desktop shortcut. 2. At the Welcome page, click Go to the OpenScript Workbench. You will see the default user interface for the OpenScript workbench scripting interface. Note: If at any time you need to reset OpenScript to the default UI layout, you can select View Reset Perspective. Page 3 of 38

3. Select File New 4. Select "Web" under the Functional Testing folder and click "Next" 5. Under My Repositories select "Default" Page 4 of 38

6. Specify a unique name for your script (i.e. MyScript1) and click "Finish" Record Into Your New Test Script 1. Click the Record button to start recording the script Page 5 of 38

2. In the Firefox browser which launches, navigate to the application URL provided by your Oracle Demo staff. 3. Click Login under Patient (be sure you are logging in as a patient, not Administrator or Physician) 4. In the Email field, enter oracle@oracle.com and in the Password field, enter oracle and click Submit. Page 6 of 38

5. Click Profile to view the patient s profile Page 7 of 38

6. Click Logout 7. Click the Stop button on the OpenScript toolbar to stop recording the script. Close the browser window. In the left hand pane, expand the Run node of the script to view the script elements. 8. Click the Save button and save the newly recorded script 9. Click the Play button to play the newly recorded script and verify successful script execution in the results view. (Note: after the script has fully played back, you can close the browser window if it remains open.) Page 8 of 38

10. Right click the Finish node and select Add Other. Under the Browser tree node, select Close Browser and click OK. Script Details and Verifying Results 1. Select the first step under the Run node of the script and click the Java Code tab at the bottom of the script window. This displays the Java code view of the script. Changes made to either the Java code or the tree view will be reflected in the other view. Page 9 of 38

2. You can maximize the script pane by either clicking the maximize icon in the upper right hand side of the pane or double clicking the script tab itself. 3. Restore the normal script pane and return to the tree view. We will now inspect the script playback results. Note: If at any time you need to reset OpenScript to the default UI layout, you can select View Reset Perspective. 4. In the Results view in the bottom pane of the OpenScript window, expand the script result nodes to display playback information for individual script components. Page 10 of 38

5. Select the first WaitForPage node in the results. Then, in the Details view in the top right pane, note the Comparison tab that allows you to compare individual playback results with the original recorded content. 6. The Compare combo box at the top of the Details pane allows you to select different attributes to compare. For example, you can select comparison of the HTML content of the page. Page 11 of 38

Add a Databank To Your Test Script 1. Expand the steps in your script and find the settext command where the Login value (oracle@oracle.com) was entered Page 12 of 38

2. Right click on the settext node and select Properties 3. Click the Substitute Variable : button to the right of the Value field Page 13 of 38

4. Select Add New Databank : and click Next 5. Under My Repositories/Default select the DataBank directory Page 14 of 38

6. Select the avitek.csv file in the DataBank directory. Click Next. 7. Verify the Username column is selected, or select it in the Column pull down, then click Finish. 8. Note the updated Value in the settext dialog which references the databank filename alias and column, then click OK. Page 15 of 38

9. Right click on the setpassword node and select Properties. 10. Click the Substitute Variable : button to the right of the Value field Page 16 of 38

11. Select the Password field under the avitek Databanks node, then click Finish. 12. Note the updated Value in the settext dialog which references the databank filename alias and column, then click OK 13. Click the Play button to play the databanked script and note the new username/password entered from the databank during playback and verify successful script execution in the results view. Page 17 of 38

Add a Test Case To Your Test Script 1. Expand the steps in your script and find the WaitForPage command where the patient successfully logged in. 2. In the right hand Details pane, click the Browser tab to display the rendered HTML of the page. 3. In the Details pane, use the mouse to highlight the text Successfully logged in! Then, right click and select Add Text Matching Test Page 18 of 38

4. Assign the test a name ( LoginSuccess ) and click OK. Page 19 of 38

5. Verify test functions properly by playing back the script. Page 20 of 38

Optional Exercise For those with time to explore OpenScript further, you can complete the following exercise to create a function library that you can use in other scripts. Then, create a driver script to use those functions. 1. Close all open scripts, then select File New Page 21 of 38

2. Select "Web" under the Functional Testing folder and click "Next" 7. Under My Repositories select "Default" 3. Specify a unique name for your function library (i.e. MyFunctions) and click "Finish" Page 22 of 38

4. Right click the Run node. Select Add Other... 5. Under Script Functions Local Script, select [New Function] and click OK Page 23 of 38

6. Give the function a name (e.g., patientlogin ) and click OK 7. Repeat steps 5 and 6 to create two additional functions (e.g., viewprofile and logout) 8. From the Set Record Section drop down on the toolbar, change the record section to the patientlogin function Page 24 of 38

9. Click the Record button to start recording the script 10. In the Firefox browser which launches, navigate to the application URL provided by your Oracle Demo staff. Page 25 of 38

11. Click Login under Patient (be sure you are logging in as a patient, not Administrator or Physician) 12. In the Email field, enter oracle@oracle.com and in the Password field, enter oracle and click Submit. Page 26 of 38

13. From the Set Record Section drop down on the OpenScript toolbar, change the record section to the viewprofile function Page 27 of 38

14. Click Profile to view the patient s profile 15. From the Set Record Section drop down on the OpenScript toolbar, change the record section to the logout function Page 28 of 38

16. Click Logout 17. Click the Stop button on the OpenScript toolbar to stop recording the script. Close the browser window. You can expand the different functions of the script to view their respective elements. 18. Click the Save button and save the script. 19. Now select File New Page 29 of 38

20. Select "Web" under the Functional Testing folder and click "Next" 21. Under My Repositories select "Default" 22. Specify a unique name for your script (i.e. MyDriverScript) and click "Finish" Page 30 of 38

23. Right click the Initialize node and select Add Other Browser Launch Browser and click OK 24. Right click the Finish node and select Add Other Browser Close Browser and click OK Page 31 of 38

25. Select Script Script Properties 26. Click on Script Assets Page 32 of 38

27. Select Scripts and click Add 28. Scroll down to find MyFunctions Page 33 of 38

29. Click OK 30. Click OK on the Script Properties dialog Page 34 of 38

31. Right click the Run node. Select Add Other Script Functions Script: MyFunctions patientlogin 32. Click OK Page 35 of 38

33. Click OK on the Call Function dialog 34. Repeat steps 29 31 for script functions viewprofile and logout respectively 35. Click the Save button Page 36 of 38

36. Click the Play button to play the newly created driver script This concludes the Oracle Enterprise Manager Hands on Lab. Conclusion OpenScript is the next generation scripting platform for the Application Testing Suite. OpenScript, a component of Oracle Functional Testing, allows you to create automated functional and regression testing scripts for your Web applications, Web Services and Oracle Applications including EBS, PeopleSoft, Siebel and more. OpenScript also allows you to create load test scripts to test the performance of these same applications using Oracle Load Testing. OpenScript combines an intuitive, graphical scripting interface with a flexible, Eclipse based Java IDE to support the needs of advanced QA professionals and novice testers alike. OpenScript's unique integrated scripting platform can help you address all your test automation needs. Key Features of OpenScript Application Support: Support for Web application automated functional testing and load testing Support for Siebel application automated functional testing and load testing Support for Oracle EBS/Forms application automated functional testing and load testing Support for Web Services functional testing and load testing General Features: Intuitive graphical scripting interface and wizards for creating automated functional test scripts and load test scripts Integrated Java IDE based on Eclipse for viewing, editing and debugging script code Integrated with Oracle Load Testing for executing load test scripts Integrated with Oracle Test Manager for executing automated test scripts Command line interface for executing test scripts from 3 rd party tools Page 37 of 38

For additional information, visit: Oracle Application Testing Suite http://www.oracle.com/technology/products/oem/prod_focus/etest.html Oracle Application Quality Management http://www.oracle.com/enterprise_manager/application quality solutions.html Oracle Enterprise Manager http://www.oracle.com/enterprise_manager/index.html OTN Discussion Forum for Application Testing Suite http://forums.oracle.com/forums/forum.jspa?forumid=550 Page 38 of 38