Hi,
I am running stax in my Win7 machine. I have a stax job which contains the
following lines:
<process name="'Run Test'">
<location>machine</location>
<command
mode="'shell'">'pybot.bat'</command>
<parms>
'-v VMX_PATH:%s -v APP:%s -v VERSION:%s -v BRANCH:%s -d %s silkTest.html' %
(vm_vmxPath_map[product_vm_map[product]], product, version, branch,
os.path.join(result_root, product, version))
</parms>
<workdir>'C:\\AutomatedTesting\\TestScripts\\libs'</workdir>
<stderr
mode="'stdout'"/>
<returnstdout/>
</process>
I have clicked "Test" button to make sure "Validation successful" before
submitting the job. And I have manually run the same command (pybot ...) from a
command window and make sure it works.
However, when running from stax, a one point I got "WindowsError: [Error 6] The
handle is invalid" , and I am wondering what might have gone wrong? Also, I am
thinking after the %s string substitution, maybe the actually command that's
executed is not what I have expected, but I don't know how to find out what's
the actual command that's executed from stax?
Thanks,
Eileen
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users