#=============================================================================================
# @TITLE			Start of IE 5.0 - Call logon mask.
#
# @NUMBER			WDBM_FKT_01000
#
# @DESCRIPTION		Starting the IE and setting the path to "about:blank".
#
# @EXP_RESULT		The logon mask for entering the "websql" application shows up..
#
# @REQUIREMENTS		IE 5.0 is installed. There is a connection to the database manager.
#=============================================================================================

#=============================================================================================
# @STEP 1			Starting Internet Explorers.
#=============================================================================================
web_browser_invoke(IE,"about:blank");
wait (20);
#=============================================================================================
# @STEP 2			Readout the window name.
#=============================================================================================
public browser_window_name;

if (win_exists("Browser Main Window",0) == 0) {

	browser_window_name = "Browser Main Window";
	win_activate (browser_window_name);
	win_move (browser_window_name, 0, 0);
	win_resize ("Browser Main Window", 1024, 768);
	
	tl_step (browser_window_name & "open","0","successfully");
} else {
	
	if (win_exists("Browser Main Window_1",0) == 0) {
	
		browser_window_name = "Browser Main Window_1";
		win_activate (browser_window_name);
		win_move (browser_window_name, 0, 0);
		win_resize (browser_window_name, 1024, 768);
		
		tl_step (browser_window_name & "open","0","successfully");
	} else {
	
		if (win_exists("Browser Main Window_2",0) == 0) {
		
			browser_window_name = "Browser Main Window_2";
			win_activate (browser_window_name);
			win_move (browser_window_name, 0, 0);
			win_resize (browser_window_name, 1024, 768);
			
			tl_step (browser_window_name & "open","0","successfully");
		}
	}
	tl_step (browser_window_name & "open","1","not open");
}
