// update the screen with the doc of the selected test script
setTestCaseDoc(script.getTestcaseDoc(), false);
// Get the user preferences to display the testcase tab
GUIConfiguration guiConfiguration = GUIConfiguration.getInstance();
String testCaseTabOnSelect = "none"; // default
if (guiConfiguration.containsKey(TEST_CASE_TAB_ON_SELECT_PROPERTY)) {
testCaseTabOnSelect = guiConfiguration.getString(TEST_CASE_TAB_ON_SELECT_PROPERTY).toLowerCase();
} else {
guiConfiguration.setProperty(TEST_CASE_TAB_ON_SELECT_PROPERTY, testCaseTabOnSelect);
try {
guiConfiguration.save();