// Record a test case. private void record() { // Update the text pane buttons. updateGUI("Started Recording."); recordButton.setEnabled(false); stopButton.setEnabled(true); // Clear the old test case and begin recording new EFG and TST files. efgtstCapture.reset(); efgtstCapture.start(); }
// Stop recording a test case. private void stopRecord() { // Update the text pane. updateGUI("Stopped Recording."); recordButton.setEnabled(true); stopButton.setEnabled(false); // Stop recording user actions. efgtstCapture.stop(); }