The first page for Testing Service. If there is a Production running, display the name in the title. If no Production is running or if the Production is not enabled for testing, display an error message and terminate. Populate the "Config Item Name" drop-down according to the selection of "Business Process" or "Business Operation". Allow user to select one item from the list. When user clicks button "Test", present the popup, passing the name of the production and the config item name selected.
Displayed name of this page. parameter RESOURCE = "%Ens_TestingService:USE";
User needs USE permissions on the %Ens_TestingService resource to view this page.
Get the (localized) name of the page. method %OnGetTitle() as
Get the (localized) title string for the page. If there is a production running, its name will appear here; otherwise, we use the page name. method DrawTopMessages(pSeed As
Draw the messages at the top of the contents panel. If there is a running Production enabled for testing, make visible the controls to select target type and name. method GetDialogURL() as
classmethod GetIsTestingEnabled(pProduction) as
Return a boolean indicating if the production is enabled for testing or not. classmethod GetRunningProduction() as
Return the name of the running production, or null if no production is currently running. method OnGetRibbonInfo(Output pDisplay As
User selected/changed a target type. Load the target name control with the config item names of that type. method populateListOfHosts(pType As
Invoked when the user clicks the "Test" button. Check if a target has been selected and pass it on to the popup dialog.