public void setTestInfo(TestInfo testInfo) {
        BmTestManager bmTestManager = BmTestManager.getInstance();
        if (testInfo == null || testInfo.isEmpty() || !testInfo.isValid()) {
            testInfo = new TestInfo();
            testInfo.setName(Constants.NEW);
            testIdComboBox.setSelectedItem(testInfo.getName());
            configureMainPanel(null);
        } else {
            testIdComboBox.setSelectedItem(testInfo);
            configureMainPanel(testInfo);
            GuiUtils.runModeChanged(runLocal, runRemote, cloudPanel,
                    advancedPropertiesPane,
                    bmTestManager.getIsLocalRunMode());
        }
        if (!bmTestManager.getIsLocalRunMode()) {
            // update Cloud panel
            cloudPanel.setTestInfo(testInfo);
        }
    }