CicstsHashMap resource = cics.cemt().inquireResource(terminal, “PROGRAM”, “PRG1");
assertThat(resource.isParameterEquals(“status”, “Enabled”)).isTrue();
PRG1
cics.cemt().setResource(terminal, “PROGRAM”, PRG1, “DISABLED”);
@Test
public class AppIVT {
@CicsRegion
public ICicsRegion cics; @CicsTerminal
public ICicsTerminal terminal; @Test
public void testStartup() throws Exception{
terminal.type(“TSQT”).enter().wfk();
assertThat(terminal.retrieveScreen()).containsOnlyOnce(“TSQT Test Transaction”);
terminal.pf3().wfk().clear();
}
vtp.recording.enable=true
vtp.cics.PRIMARY.transactions=TSQT
vtp.playback.hlq=CTS.YATESW.VTP
INFO d.g.v.m.i.VtpManagerImpl - Starting VTP Recording
...
INFO d.g.v.m.i.VtpManagerImpl - Stopping VTP Recording
INFO d.g.v.m.i.VtpManagerImpl - Writing VTP Recording
INFO d.g.v.m.i.VtpManagerImpl - Exporting VTP Recording
Method: testStartup exported as: CTS.YATESW.VTP.L882.R1