Testautomation Win 7 run_tests.vbs

View: New views
3 Messages — Rating Filter:   Alert me  

Testautomation Win 7 run_tests.vbs

by Bircher Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
To run the run_tests.vbs on win 7 there are some changes needed:
Line 131:     WshShell.Run "taskkill soffice", 1, true
Line 147:        Set oExec = WshShell.Exec("""" & sTestTool & """ -run
""" & sTest & """" )


Comment to Line 131: win7 does not know the other command wich was used
Comment to Line 147: i wonder how it worked on windows XP or a other
windows ("""" & sTestTool & """ & -run & """ & sTest & """" )

greatings

Florian Bircher

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Testautomation Win 7 run_tests.vbs

by Helge Delfs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Florian,

thank you for finding this out. Best way to have it available to the
community is  to file an issue to automat@... and attach your
changes. Automation team then will commit the changes to the repository.

Again, thank you !


Best Regards
 Helge


On 10/23/09 08:48, Bircher Florian wrote:

> Hi
> To run the run_tests.vbs on win 7 there are some changes needed:
> Line 131:     WshShell.Run "taskkill soffice", 1, true
> Line 147:        Set oExec = WshShell.Exec("""" & sTestTool & """ -run
> """ & sTest & """" )
>
>
> Comment to Line 131: win7 does not know the other command wich was used
> Comment to Line 147: i wonder how it worked on windows XP or a other
> windows ("""" & sTestTool & """ & -run & """ & sTest & """" )
>
> greatings
>
> Florian Bircher
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>


--
===============================================================
Sun Microsystems GmbH           Helge Delfs
Nagelsweg 55                    Quality Assurance Engineer
20097 Hamburg                   OOo Team Lead Automation
http://qa.openoffice.org        mailto:hde@...
http://wiki.services.openoffice.org/wiki/User:Hde
PGP Key-ID: 0x395940C4

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Testautomation Win 7 run_tests.vbs

by Bircher Florian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

taskkill has a other syntax (/IM name /T terminate /F force)
Line 131: WshShell.Run "taskkill /IM soffice* /T /F", 1, true

@Helge thx for the info i will do it on sunday

Bircher Florian schrieb:

> Hi
> To run the run_tests.vbs on win 7 there are some changes needed:
> Line 131:     WshShell.Run "taskkill soffice", 1, true
> Line 147:        Set oExec = WshShell.Exec("""" & sTestTool & """ -run
> """ & sTest & """" )
>
>
> Comment to Line 131: win7 does not know the other command wich was used
> Comment to Line 147: i wonder how it worked on windows XP or a other
> windows ("""" & sTestTool & """ & -run & """ & sTest & """" )
>
> greatings
>
> Florian Bircher
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...