SystemUtil.Run "iexplore.exe","","C:\Documents and Settings\cheney\Desktop",""
Browser("Welcome: Mercury Tours").Page("Google").Sync
Browser("Welcome: Mercury Tours").Navigate "http://192.168.100.1/"
' Capture the current filter value
CurrentMode = Reporter.Filter
' Disable all error and warning messages
Reporter.Filter = rfDisableAll
wait 5
If Browser("Welcome: Mercury Tours").Dialog("Connect to 192.168.100.1").Check( CheckPoint("Connect to 192.168.100.1"))= 0 then
'Write log file: can't connect DUT
Netgear_log_output "Can't connect DUT,test fail."
'Reset the filter value
Reporter.Filter = CurrentMode
Reporter.ReportEvent 1, "Step1", "Can't connect to DUT, test stop."
ExitTest
end if