Created On:  06 May 2011

Problem:

When executing a SilkTest Workbench test via SilkCentral the following error is consistently encountered:

com4j.ComException: 80004005 Erreur non spcifie : Unknown environment name requested : .\invoke.cpp:461
 at com4j.Wrapper.invoke(Wrapper.java:122)
 at $Proxy12.execute(Unknown Source)
 at com.borland.sctm.testlauncher.SilkTestWorkbenchTestExecutor.execute(SilkTestWorkbenchTestExecutor.java:230)
 at com.borland.sctm.testlauncher.SilkTestWB.execute(SilkTestWB.java:162)
 at com.segue.tm.execserver.planning.internal.ThirdPartyTestRunner.invoke(ThirdPartyTestRunner.java:68)
 at com.segue.scc.util.threading.AsyncExecution.run(AsyncExecution.java:70)
 at com.segue.scc.util.threading.ThreadPoolWorker.run(ThreadPoolWorker.java:24)
Caused by: com4j.ComException: 80004005 Erreur non spcifie : Unknown environment name requested : .\invoke.cpp:461
 at com4j.Native.invoke(Native Method)
 at com4j.StandardComMethod.invoke(StandardComMethod.java:95)
 at com4j.Wrapper$InvocationThunk.call(Wrapper.java:258)
 at com4j.Task.invoke(Task.java:44)
 at com4j.ComThread.run0(ComThread.java:149)
 at com4j.ComThread.run(ComThread.java:125)

Resolution:

The above execution exception occurs when the "Playback Options" property for a SilkTest Workbench test definition references a set of options that do not exist for the SilkTest Workbench user configured in your SilkTest Workbench source control profile. To ensure that the test executes correctly either of the following must be done:

1. Update the SilkTest Workbench source control profile, providing the SilkTest Workbench user credentials for the required Playback Options.

2. Add the Playback Options via SilkTest Workbench for the user already configured in the SilkTest Workbench source control profile.