Some useful Page related function
Some useful page related functions to get step page name, top level page name and primary page name
@PegaReqmnts.GetPrimaryPageName(tools)
@PegaReqmnts.getTopLevelPageName(myStepPage)
@getStepPageName
Here are the results
The DT is running on pyWorkPage class so it is obvious that its Primary, steppage, toplevel page will be pyWorkPage
When we go inside .SelectedTxns they remain pyWorkPage as this prop is part of pyWorkPage
Now, this CalcResultsPage is itself a top level page, but is called inside a DT in the context of pyWorkPage so its primary page becomes pyWorkPage but step page and top level page name is CalcResultsPage