Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 1.

Similar presentations


Presentation on theme: "Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 1."— Presentation transcript:

1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 1

2 Test Framework in PeopleSoft PeopleTools 8.52 Test Creation, Optimization and Maintenance Ding Gang Oracle University Principal Instructor

3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 3 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracles products remains at the sole discretion of Oracle.

4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 4 Program Agenda Feature Overview Testing Types Optimization 8.52 enhancements

5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 5 PeopleSoft Test Framework: Feature Overview

6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 6 Feature Overview PeopleTools Test Framework is tied to PeopleTools Metadata

7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 7 Framework PSPTTSTOPTIONS- Identifies the profiles of high level sign-on information for the test framework. Test Definition PSPTTSTDEFN- Identifies the tests and the folder in which the test is organized. PSPTTSTCOMMAND- Identifies each step of a test case. PeopleSoft Test Framework Tables

8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 8 Test Data Test Case PSPTTSTCASE- Header table for test cases. PSPTTSTCASEVAL- The detail data for each test case - data values for each command/step. Test Log PSPTTSTLOG_LIST - The header table for the logs of test case runs. Identifies the test, the test case, and the high level results. PSPTTSTLOG_LNS - The detail results of each step of a test case run. PSPTTSTLOG_IMG – Stores image captures of each page when a test step is logged as failing. PSPTTSTLOG_OPTS – Stores the options used to run a test, such as URL and user id. PSPTTSTLOG_XTRA - Stores information about the environment that was used to run a specific test (part of log). PeopleSoft Test Framework Tables

9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 9 Feature Overview Record and Playback feature Used by Users, Super-Users and Developers

10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 10 Robust Test Development Platform A PTF test consists of a series of steps. When you record a test, PTF creates one step for each action you take against the target application.

11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 11 PeopleSoft Test Framework Log Whenever you run a test, PTF creates an execution log entry. The log is located in PTF Explorer under the test name, in the log folder specified in Execution Options.

12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 12 PeopleSoft Test Framework Log entries in the Logs folder of PTF Explorer:

13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 13 Feature Overview Interaction with Rowsets

14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 14 Feature Overview Interface with other PeopleTools

15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 15 Feature Overview Integrated Maintenance and Coverage Reports

16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 16 Feature Overview DEMO

17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 17 PeopleSoft Test Framework: Testing Types

18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 18 Types of Tests Unit – Validates data, business rules, and business process requirements. System – Tests all processes, including online functionality, batch functionality, inbound and outbound interfaces, conversions, customizations, and reports. Testing Strategies

19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 19 Types of Tests Integration – all business processes and groups of related business processes within the application to determine whether they function as designed. Parallel – Optionally performed throughout all testing stages. Regression – Retests the previous tests. Testing Strategies

20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 20 Types of Tests Performance – Measures your current system performance against the new release-level performance. User Acceptance – Validates data, business rules, and business process requirements in the test move to production phase. Testing Strategies

21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 21 PeopleSoft Test Framework: Optimization

22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 22 Test Optimization Using Test Optimization you can replace these four steps listed above with one step using Browser.Start_Login. This action opens the browser instance where the test will be executed and logs into the PeopleSoft application using the URL, user ID, and password from the selected execution option. Modify your steps within your test, these four steps log you onto the PeopleSoft application. PeopleSoft Test Framework

23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 23 PeopleSoft Test Framework When you record a test you often record unneeded steps You might need to correct typos that might appear in your test

24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 24 PeopleSoft Test Framework Test Optimization #PREFIX# Reserved word substitutes the text in the Prefix field for the string in the Value field. You can run the test again with a different value, only needing to change the value in the Prefix field.

25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 25 PeopleSoft Test Framework Message Toolbar – Displays details about an object in the application, including name, object type, and value. Test Optimization

26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 26 PeopleSoft Test Framework Variables – Store a value for a variable in a parameter in the Recognition field on the step. Test Optimization

27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 27 PeopleSoft Test Framework Refer to the values stored in a variable in two ways: – Use a Conditional.If_Then step – Use the variable in the value field of a step that sets or verifies the value. Test Optimization

28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 28 PeopleSoft Test Framework Test Optimization #LIST# Reserved word LIST will check for the values of a ComboBox. It works either on full text entries or translation values.

29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 29 PeopleSoft Test Framework #CHECK# - Checks a value in an object against the expected value defined in the PTF test. Updates the value if no match exists. #DIS#- Checks whether an object is display-only. #DTTM - Enters the current date and time into an application. #EXIST# and #NOTEXIST# - Checks whether a field exists or does not exist on a page. #FAIL# and #WARN# - Same as #CHECK# but does not update the value. If the values do not match, PTF logs a Fail or Warning. #IGNORE - Place the #IGNORE reserved word in the Value field of a Test.Exec step to skip the call to the child test. Test Optimization – Reserved Words

30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 30 PeopleSoft Test Framework #LIKEF# and #LIKEW#- Matches strings using LIKE. If no match exists, PTF logs a Fail or Warning. PTF does not update the value. #LIST#- Checks the values in a drop-down list box. Use a | to separate items in the Value field. #NOTHING- Deletes a value in the object or verifies that it is blank. If the object is a ComboBox and the action is Set_Value, then PTF selects a blank item. #PREFIX#- Substitutes the text in the Prefix field in the Test Editor for #PREFIX# in the Value field. #TODAY- Enters the current date. Test Optimization – Reserved Words

31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 31 PeopleSoft Test Framework Test Optimization Page Prompting PTF page prompting steps make tests more robust and repeatable by simplifying test data and replacing it with intelligence built into the step.

32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 32 PeopleSoft Test Framework Test Optimization Application Messaging Use the Message Recognition feature to indicate that PTF should click OK whenever that specific message appears in the application

33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 33 PeopleSoft Test Framework Test Optimization Message Recognition Dialog Box

34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 34 PeopleSoft Test Framework Test Optimization Process Execution After Optimization Process Execution Prior to Optimization

35 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 35 PeopleSoft Test Framework Test Optimization TEST.EXEC calling other tests

36 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 36 PeopleSoft Test Framework Shell Tests A type of test that you use primarily to call other tests. Shell Tests support the following options: Test.Exec - calling other tests DataMover.Exec – calling data mover scripts Query.Exec – running queries Variable.Set_Value – manipulating variables

37 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 37 PeopleSoft Test Framework Test Optimization SHELL TESTS using TEST.EXEC to call other tests

38 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 38 PeopleSoft Test Framework Scroll Handling Data in a PeopleSoft component is organized hierarchically using rowsets, or scrolls, and rows.

39 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 39 PeopleSoft Test Framework Scroll Handling You can use the Scroll.Key_Set action and a Scroll.Action step to locate a row by key and generate a dynamic position index variable. You can use the dynamic position index variable to reference a row or a field reliably and repeatedly because the variable is regenerated each time the test is run. PeopleSoft Test Framework (PTF) references a field in a scroll by the field name and the row number.

40 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 40 PeopleSoft Test Framework Log Administration

41 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 41 PeopleSoft Test Framework Move Test Assets using a Project

42 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 42 PeopleSoft Test Framework When an application is upgraded, testers face two major challenges: – Identifying which tests will fail because of changes in the target application. – Identifying gaps in test coverage where new functionality was introduced. PeopleSoft Test Framework (PTF) delivers two tools that enable test developers to help in determining the effect of changes: – Test maintenance reports – Test coverage reports Change Impacts

43 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 43 PeopleSoft Test Framework The maintenance process consists of these steps: 1. Define analysis rules. 2. Create a compare report based on an upgrade project. 3. Analyze the compare data. 4. Generate a maintenance report. 5. Identify tests that reference changed objects. 6. Modify impacted tests. 7. Generate a test coverage report. 8. Create or modify tests to cover coverage gaps. The Maintenance Process

44 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 44 PeopleSoft Test Framework 1. Define analysis rules. The Maintenance Process

45 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 45 PeopleSoft Test Framework Use the Create Test Maintenance Report wizard to run test maintenance reports. The wizard consists of three steps: Step 1: Manual Steps Step 2: Analyze Compare Data Step 3: Generate Report. Test Maintenance Reports

46 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 46 PeopleSoft Test Framework Step 1: Manual Steps Test Maintenance Reports

47 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 47 PeopleSoft Test Framework Step 2: Analyze Compare Data Test Maintenance Reports

48 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 48 PeopleSoft Test Framework Step 3: Generate Report Test Maintenance Reports

49 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 49 PeopleSoft Test Framework A test maintenance report in BI Publisher format:

50 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 50 PeopleSoft Test Framework Test Coverage Report format:

51 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 51 PeopleSoft Test Framework A test coverage report in PIA format:

52 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 52 Feature Overview DEMO

53 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 53 PeopleSoft Test Framework: 8.52 Enhancements

54 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 54 PeopleSoft Test Framework With the new Test Recorder Toolbar you now have the ability to record some of your optimization steps while you are recording the test script. Test Recorder Toolbar

55 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 55 PeopleSoft Test Framework Test Cases You can export and import your test cases to a file to work with large amounts of test case manipulation.

56 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 56 PeopleSoft Test Framework Test Cases

57 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 57 PeopleSoft Test Framework If you need to store variables between tests, use persistent variables. PTF stores persistent variables to the database so that subsequent test executions can use them. Enable persistent variables in execution options, on the Advanced Options tab. You must also enable persistent variables in the test properties for each test. Once a persistent variable is read from the database, it is a Global variable, and its value is available to any other test, regardless of whether the test is enabled to read persistent variables. Persistent Variables

58 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 58 PeopleSoft Test Framework System Variables System variables are predefined variables that PTF populates at runtime

59 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 59 PeopleSoft Test Framework Functions

60 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 60 PeopleSoft Test Framework Recording Get_Property Steps

61 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 61 PeopleSoft Test Framework Recording Get_Property Steps

62 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 62 PeopleSoft Test Framework Recording Message Recognition

63 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 63 Feature Overview DEMO

64 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 64 PeopleSoft Test Framework Oracle University Check out Oracle Universitys website at: LVC- Live Virtual Classes Onsite Offerings/Private Events ILT- Instructor Lead Training Classes *for additional offerings contact your OU educational sales representative.

65 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 65 Q&A

66 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted LEADER IN IT EDUCATION According to Industry Analyst Firm IDC With an ever-expanding portfolio of tools and applications, Oracle University is strongly oriented toward the individual learner. This decentralized control [of the curricula development] helps maximize the relevance of the training offering to the elements that are most useful to end users. Of the vendors evaluated, Oracle is most adept at describing the value of training at multiple parts of the technology deployment life cycle.

67 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 67 One of the Worlds Largest Training Organizations Worldwide classrooms: 200+ in 89 countries Languages supported: 28 Students trained per year: 400,000+ Courses: Classes per week: 600+, 90+ Virtual Classes Global education partnerships: 500+ Oracle certified professionals: 1.6+ million On Demand Courses: 100 and growing

68 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 68 ROLE-BASED TRAINING VALIDATED BY INDUSTRY-RECOGNIZED CERTIFICATIONS ArchitectsImplementers Developers Administrators Business Users WHEN AND HOW YOU NEED IT Training On DemandIn-ClassLive Virtual ClassPrivate Training & Certification for the Entire Stack Oracle Certified Master Oracle Certified Expert Oracle Certified Professional Oracle Certified Associate

69 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 69 More than 2000 Courses Across 50+ Products DatabaseFusion MiddlewareApplications Server & Storage Systems Industries Oracle Database 11g, Database 10g, 12c Real Application Clusters Grid Infrastructure Enterprise Manager for Database SQL and PL/SQL MySQL Data Warehousing Exadata and Engineered Systems Database Security Data Guard Application Express Embedded Database In-Memory Database Cache Spatial Secure Enterprise Search Java Application Server and Infrastructure Exalogic Exalytics Service-Oriented Architecture and Process Management WebCenter Business Intelligence Identity Management Developer Tools Data Integration Transaction Processing Enterprise Management Oracle Cloud Services Fusion Applications Oracle E-Business Suite PeopleSoft Enterprise Siebel JD Edwards EnterpriseOne Hyperion Primavera Application Integration Architecture User Productivity Kit Oracle CRM On Demand JD Edwards World Governance, Risk, and Compliance Management Agile Product Lifecycle Management AutoVue Enterprise Visualization Oracle Policy Automation Demantra ATG Commerce Suite Transportation Management Tutor Oracle Solaris Oracle Solaris Cluster Virtualization Linux Security Enterprise Manager Ops Center Sun Oracle Database Machine Sun Servers Sun Storage and Tape Communication s Life Sciences Insurance Retail Utilities Higher Education

70 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted Certification Credentials Available ProductsAdministrators, Developers & ArchitectsImplementers & Consultants Database PL/SQL SQL Oracle Database MySQL RAC & Grid Performance Tuning Oracle Database Enterprise Manager RAC Security Data Warehousing Middleware Java Development Java Architecture WebLogic WebCenter SOA Identity Management Cloud Application Foundation Server & Storage Systems Oracle Solaris Oracle Solaris Cluster Linux Oracle VM Exadata Exalogic Storage SPARC Pillar Axiom Applications Siebel Oracle Hyperion Fusion Applications E-Business Suite User Productivity Kit Oracle Hyperion JD Edwards Siebel CRM PeopleSoft Enterprise PeopleTools Primavera Oracle Cloud

71 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted LEADER IN IT EDUCATION education.oracle.com Contact Oracle University at: Telephone: or Website:

72 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 72

73 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 73


Download ppt "Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Confidential - Oracle Restricted 1."

Similar presentations


Ads by Google