#=============================================================================================
# @TITLE			11. Step DBM Wizard.
#
# @NUMBER			DBM2_FKT_02014
#
# @DESCRIPTION		Installing.
#
# @EXP_RESULT		'Start Installation' step.
#
# @REQUIREMENTS		"Database Manager" is installed.
#=============================================================================================
TestName = "DBM2_FKT_02014";
static WizardOpen = 1;
#=============================================================================================
# @STEP 1			Going 'Back' and checking window content.
#=============================================================================================
if (win_exists("Database Manager Installation Wizard") == 0) {

	set_window("Database Manager Installation Wizard", 1);
	ActiveX_get_info("DBMWfr2.Framework", "HeaderTitle", Header);
	
	if (GUI_Version == "2") {
		exp_Header_0 = "Installation";
		exp_Header_1 = "Installing";
	}
	if (GUI_Version == "3") {
		exp_Header_0 = "Creation";
	}
	
	if (Header == exp_Header_0 ||
		Header == exp_Header_1) {		
		tl_step ("Installation wizard - 'Installing'", "0", "Window is correct. - TN: " & TestName);
	} else {		
		tl_step ("Installation wizard - 'Installing'", "1", "Window is incorrect. - TN: " & TestName);
	}
#=============================================================================================
# @STEP 2			Waiting until installation is completed.
#=============================================================================================
	set_window("Database Manager Installation Wizard", 0);
	
	#wait until toolbar with <save template as..> appears, then creation is finished
	obj_wait_info("msvb_lib_toolbar","displayed",1,75);


} else {
	
	tl_step("Database Manager Installation Wizard - Window Check", "1", "Window not open. - TN: " & TestName);
	WizardOpen = 0;
}
