1 / 73

Test Framework in PeopleSoft PeopleTools 8.52 Test Creation, Optimization and Maintenance

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

kynan
Download Presentation

Test Framework in PeopleSoft PeopleTools 8.52 Test Creation, Optimization and Maintenance

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Test Framework in PeopleSoft PeopleTools 8.52Test Creation, Optimization and Maintenance Ding GangOracle University Principal Instructor

  2. 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.

  3. Program Agenda • Feature Overview • Testing Types • Optimization • 8.52 enhancements

  4. PeopleSoft Test Framework:Feature Overview

  5. Feature Overview PeopleTools Test Framework is tied to PeopleTools Metadata

  6. PeopleSoft Test Framework Tables

  7. PeopleSoft Test Framework Tables

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

  9. 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.

  10. 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.

  11. PeopleSoft Test Framework Log entries in the Logs folder of PTF Explorer:

  12. Feature Overview Interaction with Rowsets

  13. Feature Overview Interface with other PeopleTools

  14. Feature Overview Integrated Maintenance and Coverage Reports

  15. Feature Overview DEMO

  16. PeopleSoft Test Framework:Testing Types

  17. Types of Tests Testing Strategies • 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.

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

  19. Types of Tests Testing Strategies • 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.

  20. PeopleSoft Test Framework:Optimization

  21. 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.

  22. 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

  23. 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.

  24. PeopleSoft Test Framework Test Optimization • Message Toolbar • Displays details about an object in the application, including name, object type, and value.

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

  26. 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.

  27. 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.

  28. 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.

  29. 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 aComboBox 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.

  30. 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.

  31. 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

  32. PeopleSoft Test Framework Test Optimization Message Recognition Dialog Box

  33. PeopleSoft Test Framework Test Optimization Process Execution Prior to Optimization Process Execution After Optimization

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

  35. 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

  36. PeopleSoft Test Framework Test Optimization SHELL TESTS using TEST.EXEC to call other tests

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

  38. 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.

  39. PeopleSoft Test Framework Log Administration

  40. PeopleSoft Test Framework Move Test Assets using a Project

  41. 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

  42. 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.

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

  44. 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.

  45. PeopleSoft Test Framework Test Maintenance Reports • Step 1: Manual Steps

  46. PeopleSoft Test Framework Test Maintenance Reports • Step 2: Analyze Compare Data

  47. PeopleSoft Test Framework Test Maintenance Reports • Step 3: Generate Report

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

  49. PeopleSoft Test Framework Test Coverage Report format:

More Related