Presentation is loading. Please wait.

Presentation is loading. Please wait.

Test Framework in PeopleSoft PeopleTools 8

Similar presentations


Presentation on theme: "Test Framework in PeopleSoft PeopleTools 8"— Presentation transcript:

1

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

3 The following is intended to outline our general product direction
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 Oracle’s products remains at the sole discretion of Oracle.

4 Program Agenda Feature Overview Testing Types Optimization
8.52 enhancements

5 PeopleSoft Test Framework: Feature Overview

6 Feature Overview PeopleTools Test Framework is tied to PeopleTools Metadata

7 PeopleSoft Test Framework Tables
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.

8 PeopleSoft Test Framework Tables
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).

9 Feature Overview Record and Playback feature
Used by Users, Super-Users and Developers

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 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 PeopleSoft Test Framework
Log entries in the Logs folder of PTF Explorer:

13 Feature Overview Interaction with Rowsets

14 Feature Overview Interface with other PeopleTools

15 Feature Overview Integrated Maintenance and Coverage Reports

16 Feature Overview DEMO

17 PeopleSoft Test Framework: Testing Types

18 Types of Tests Testing Strategies Unit System
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.

19 Types of Tests Testing Strategies Integration Parallel Regression
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.

20 Types of Tests Testing Strategies Performance User Acceptance
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.

21 PeopleSoft Test Framework: Optimization

22 PeopleSoft Test Framework
Test Optimization Modify your steps within your test, these four steps log you onto the PeopleSoft application. 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.

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 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 PeopleSoft Test Framework
Test Optimization Message Toolbar Displays details about an object in the application, including name, object type, and value.

26 PeopleSoft Test Framework
Test Optimization Variables Store a value for a variable in a parameter in the Recognition field on the step.

27 PeopleSoft Test Framework
Test Optimization 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.

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 PeopleSoft Test Framework
Test Optimization – Reserved Words #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.

30 PeopleSoft Test Framework
Test Optimization – Reserved Words #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.

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 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 PeopleSoft Test Framework
Test Optimization Message Recognition Dialog Box

34 PeopleSoft Test Framework
Test Optimization Process Execution Prior to Optimization Process Execution After Optimization

35 PeopleSoft Test Framework
Test Optimization TEST.EXEC calling other tests

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 PeopleSoft Test Framework
Test Optimization SHELL TESTS using TEST.EXEC to call other tests

38 PeopleSoft Test Framework
Scroll Handling Data in a PeopleSoft component is organized hierarchically using rowsets, or scrolls, and rows.

39 PeopleSoft Test Framework
Scroll Handling PeopleSoft Test Framework (PTF) references a field in a scroll by the field name and the row number. 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.

40 PeopleSoft Test Framework
Log Administration

41 PeopleSoft Test Framework
Move Test Assets using a Project

42 PeopleSoft Test Framework
Change Impacts 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

43 PeopleSoft Test Framework
The Maintenance Process 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.

44 PeopleSoft Test Framework
The Maintenance Process 1. Define analysis rules.

45 PeopleSoft Test Framework
Test Maintenance Reports 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.

46 PeopleSoft Test Framework
Test Maintenance Reports Step 1: Manual Steps

47 PeopleSoft Test Framework
Test Maintenance Reports Step 2: Analyze Compare Data

48 PeopleSoft Test Framework
Test Maintenance Reports Step 3: Generate Report

49 PeopleSoft Test Framework
A test maintenance report in BI Publisher format:

50 PeopleSoft Test Framework
Test Coverage Report format:

51 PeopleSoft Test Framework
A test coverage report in PIA format:

52 Feature Overview DEMO

53 PeopleSoft Test Framework: 8.52 Enhancements

54 PeopleSoft Test Framework
Test Recorder Toolbar 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.

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 PeopleSoft Test Framework
Test Cases

57 PeopleSoft Test Framework
Persistent Variables 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.

58 PeopleSoft Test Framework
System variables are predefined variables that PTF populates at runtime System Variables

59 PeopleSoft Test Framework
Functions

60 PeopleSoft Test Framework
Recording Get_Property Steps

61 PeopleSoft Test Framework
Recording Get_Property Steps

62 PeopleSoft Test Framework
Recording Message Recognition

63 Feature Overview DEMO

64 PeopleSoft Test Framework
Oracle University Check out Oracle University’s 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 Q&A

66 2013 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.” 2013 leader in IT Education According to Industry Analyst Firm IDC “Of the vendors evaluated, Oracle is most adept at describing the value of training at multiple parts of the technology deployment life cycle.” According to the latest IDC Marketscape report for IT Education and Training Market, Oracle University is a leading education provider. Source: “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.”

67 One of the World’s Largest Training Organizations
Worldwide classrooms: 200+ in 89 countries Languages supported: 28 Courses: 2000+ Classes per week: 600+, 90+ Virtual Classes On Demand Courses: 100 and growing Students trained per year: 400,000+ We continue to have one of the largest footprints in the IT training industry and are continuing to expand our portfolio to include more curriculum areas to align with Oracle’s expanding product stack and offer more on demand training courses that will help organizations train their teams more quickly and cost-effectively. **** Countries supported: 89 Languages supported: 28 Instructor-led course titles: 2,723 Students trained per year: 300,000+ Worldwide locations: 297 In-Class training sessions per week: 600 Live Virtual Classes per week: 90 Oracle education partners: 2,479 Oracle certified professionals: 1.3 million Global education partnerships: 500+ Oracle certified professionals: 1.6+ million

68 Training & Certification for the Entire Stack
ROLE-BASED TRAINING Architects Implementers Developers Administrators Business Users WHEN AND HOW YOU NEED IT In-Class Live Virtual Class Training On Demand Private VALIDATED BY INDUSTRY-RECOGNIZED CERTIFICATIONS Training Solutions are available for Oracle’s complete hardware and software stack We coordinate development of our courses across all of our engineering teams responsible for different layers of our stack. Our training is based on real-world Oracle implementations offering you the most relevant training available for Oracle technology Oracle Certified Associate Oracle Certified Professional Oracle Certified Expert Oracle Certified Master

69 More than 2000 Courses Across 50+ Products
Database Fusion Middleware Applications 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 Communications Life Sciences Insurance Retail Utilities Higher Education Oracle University’s training portfolio covers every Oracle product and technology and we offer learning paths for all key roles.

70 160+ Certification Credentials Available
Products Administrators, Developers & Architects Implementers & 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 In addition to our training, industry-recognized certifications are available for administrators, developers, implementers and consultants

71 Contact Oracle University at:
Telephone: or Website: 2013 leader in IT Education education.oracle.com Training is critical component of any IT strategy – be it implementing and integrating new technology, upgrading to newer versions of your technology or migrating to your workforce now will prepare you for success in the future Oracle University Training can prepare your teams to implement and use Oracle technology resulting in: Achievement of project objectives Timely delivery of projects Reduced costs Lower risk Fewer service calls Not to mention, it will help improve retention of your highly skilled staff members.

72

73


Download ppt "Test Framework in PeopleSoft PeopleTools 8"

Similar presentations


Ads by Google