To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108056
                 Issue #|108056
                 Summary|automation:  possible problem in run_test.vbs
               Component|framework
                 Version|OOO320m8
                Platform|PC
                     URL|
              OS/Version|Windows 7
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|scripting
             Assigned to|gh
             Reported by|smolejv





------- Additional comments from smol...@openoffice.org Mon Jan  4 12:24:44 
+0000 2010 -------
the run_tests.vbs contains the following (central) Exec call

 ' first run is the real test ...
 Set oExec = WshShell.Exec("""" & sTestTool & """ & -run & """ & sTest & """" )

The Exec function in my case could not evaluate the argument. Taking
"F:\QA_OOo\qatesttool\testtool.exe" for sTestTool and "first.bas" for sTest,
gives eventually

"F:\QA_OOo\qatesttool\testtool.exe" & -run "first.bas"

which is syntactically correct, but the quotes etc were evidently too much for
my whs system (win 7, should be the latest). Things got better, when I changed
the argument to sTestTool  & " -run " & sTest - but this would probably break
down on names, containing blanks...

Probably the best is to split the line into

 ' first run is the real test ...
 sArgtestFile = """" & sTestTool & """ & -run & """ & sTest & """"
 Set oExec = WshShell.Exec(sArgTestFile)

regards

smo

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to