Skip to main content

PeopleSoft Test Framework - Execution tracking


Let us say we need to get all the PTF test scripts and needs to find out which has been and what is the status, instead of going over each and every script (or) asking each tester for the status, better way is to get it from the database. Using PeopleSoft meta table  to get those details will reduce the test leads effort in consolidate the execution status.

Below SQL, which I have prepared will get the last execution status for a test script. This query consider only main test scripts, let us say if there is a shell test script A, which calls two other test script. Below SQL will consider only the main shell script test case only, because as part of testing a requirement, one test script will be used. Also to avoid duplicate count.



SELECT a.PTTST_PARENTFOLDER, a.PTTST_NAME, a.DESCR,a.PTTST_TYPE, a.PTTST_USE_ERROR,  a.LASTUPDDTTM, b.pttst_log_id, b.PTTST_LOG_CAPTION, b.pttst_log_result,
case b.pttst_log_result  when 100 then 'None' when 110 then 'Pass' when 115 then 'Warning' when 120 then 'Fail' when 121 then 'Fatal Error' end test_result
FROM PSPTTSTDEFN A  left outer join  PSPTTSTLOG_LIST b on b.PTTST_NAME = a.PTTST_NAME and b.PTTST_LOG_DELETED <> 'Y' AND B.PTTST_LOG_ID IN (
SELECT MAX(B1.PTTST_LOG_ID) FROM PSPTTSTLOG_LIST B1 WHERE B1.PTTST_NAME=B.PTTST_NAME AND B1.PTTST_LOG_DELETED  <> 'Y'  )
WHERE A.PTTST_NAME IN (
SELECT a.PTTST_NAME FROM PSPTTSTDEFN A  WHERE a.pttst_type ='H'
union all
SELECT A.PTTST_NAME FROM PSPTTSTDEFN A  WHERE  a.pttst_type ='S'  AND A.PTTST_NAME NOT IN ( SELECT B.PTTST_CMD_OBJ_ID FROM PSPTTSTDEFN A, PSPTTSTCOMMAND B
WHERE  a.pttst_type ='H' AND B.pttst_cmd_obj_type ='35000' AND B.PTTST_NAME = A.PTTST_NAME and B.PTTST_CMD_STATUS ='A'  ))
order by 1,2;


Comments

Popular posts from this blog

Making PS Query into Tile in PeopleSoft

MAKING A QUERY INTO A TILE Refer to Oracle documentation for creating  PeopleSoft fluid tile using PS query. Link:  Link to "Query to Tile" Documentation   Since many of you not able to access the document, I have listed the ontent of the document below for making a query into a tile.   1.      1. Create Query (or reuse an available query)   Pillar(HCM, FSCM, ELM, etc) > Reporting Tools > Query > Query Manager       The above query is just a list of employees and their health benefit plans.   Very simple query, but I wanted it to be simple to show how easy the process is to create a tile from a query.   2.  Create Pivot Grid (or reuse an available pivot grid) Pillar > Reporting Tools > Pivot Grid > Pivot Grid Wizard   Enter the name and the Title of the Pivot Grid. Grid Types: Private models are only available to the users who created the model and the users who have ...

PeopleSoft Asset Management Tables

Below is the list of main tables being used in PeopleSoft Asset Management PS_ASSET PS_BOOK PS_COST PS_DEPRECIATION PS_DIST_LN PS_OPEN_TRANS PS_ASSET_ACQ_DETAILS PS_RETIREMENT When new asset has been created then it inserts asset details into PS_ASSET, PS_BOOK,PS_ASSET_ACQ_DETAILS & PS_OPEN_TRANS tables. If the asset has cost then there will be entry in PS_COST table. Once asset has been added, we need to run Depreciation calculation process. System will calculate the depreciation based on details in book and cost details, depreciation entries will be inserted into PS_DEPRECIATION table. Create Accounting entries or closure process will insert accounting entries into PS_DIST_LN table. In case if an asset is retired then an entry will be inserted into PS_RETIREMENT table. Apart from these base tables, there are two main reporting tables being used across AM reports. PS_DEPR_RPT  - This table holds cost and depreciation details break down to individual acc...

PeopleSoft eProcurement to AM

Below is the sequence or process flow for adding an asset from eProcurement: 1. Create Requisition, while creating requisition in Asset information tab, enter BU and profile id. Once after creation and approve the requisition. 2. Run Auto Requisition Selection process to stage the approve requisition data into PO Staging table. 3. Run PO Calculate process 4. Run PO Create process to create Purchase order for the staged data. 5. Approve the requisition and dispatch it. 6. Create Receipt for the dispatched PO:                   In Receipt page select "Interface Receipts" option and save it, this will trigger  RECV_02  PS job. This job  consists  of below process, basically these process will push the data from PO to AM, process the AM staged data and creates assets in AM. PO_RECVPUSH AMPS1000 AMIF1000