diikee Posted September 26, 2008 Share Posted September 26, 2008 #include <File.au3> #include <IE.au3> $file = FileOpen("logfile_" &@MDAY &@MON &@HOUR &@MIN &"_" &$ip[$x] & ".txt", 9) If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf Sleep(2000) FileWrite($file, "SQA Testing IP#: " & $ip[$x] & @CRLF FileWrite($file, "Home Page Testing" & @MDAY &"/" & @MON &"/" & @YEAR &"_" & @HOUR &":" & @MIN & @CRLF) FileWrite($file, "Products Page Testing" & @MDAY &"/" & @MON &"/" & @YEAR &"_" & @HOUR &":" & @MIN & @CRLF) FileWrite($file, "SQA Testing Finished at: " & @MDAY & @MON & @YEAR & @HOUR & @MIN & @CRLF) Sleep(2000) FileClose($file) I would like to dispay the logfile or a status window for the user to see as the test progresses. (when file is opened till its closed).Is it possible to do that or do I have to incorporate a GUI for my script?? Link to comment Share on other sites More sharing options...
TehWhale Posted September 26, 2008 Share Posted September 26, 2008 ShellExecute($File) I'm not sure what your asking for. Link to comment Share on other sites More sharing options...
diikee Posted September 27, 2008 Author Share Posted September 27, 2008 You know how we write to console, then writelog will write to a file without showing the user what's being logged. I want to show the user, the file that I am writing to since they are running the compiled .exe and am running the debug version from the editor. Link to comment Share on other sites More sharing options...
diikee Posted September 29, 2008 Author Share Posted September 29, 2008 I basically want the distributable .exe to generate a visible status during the test so that the user can see which test case is currently under test Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now