Peoplesoft Test Framework Typing Variables
Version(s): PeopleSoft Test Framework 8.52.11
When I try to determine last month's date (accounting for prior year) I get the following result (abbreviated code)
Variable -> Set_Value -> ¤t_month=Month(Date())
>>> Variable ¤t_month set to 4
Conditional -> If_Then -> ¤t_month>1
>> FAIL {there is no message here}
Variable -> Set_Value -> &month=Add(Month(Date()),-1)
>> FAIL Variable -> Set_Value -> &month=Add(Month(Date()),-1)