Getting the below error now:
java.io.IOException: Cannot run program "sfxcl.exe" (in directory "\\<servername>\c$\Program Files (x86)\VanDyke Software\SecureFX"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at com.itko.lisa.utils.CommandLineExecNode.executeCmdLine(CommandLineExecNode.java:540)
at com.itko.lisa.utils.CommandLineExecNode.executeCmdLine(CommandLineExecNode.java:452)
at com.itko.lisa.utils.CommandLineExecNode.executeCmdLine(CommandLineExecNode.java:419)
at com.itko.lisa.utils.CommandLineExecNode.executeCmdLine(CommandLineExecNode.java:405)
at com.itko.lisa.utils.CommandLineExecEditor$4.doCallback(CommandLineExecEditor.java:411)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 8 more
Original Message:
Sent: 02-15-2021 12:18 PM
From: Vaibhav Jain
Subject: Execute External command step not working as expected from VSE
Hi Swapna,
Try giving " \\<servername>\c$\Program Files (x86)\VanDyke Software\SecureFX\" in your directory path and include the exe name in command once.
Thanks
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 02-15-2021 12:13 PM
From: Swapna Krishnankutty
Subject: Execute External command step not working as expected from VSE
Yes I did pas the complete path of the executable sfxcl in the 'Execute from Directory' section of 'Execute External Command' step.
Got this error:
java.lang.RuntimeException: Base directory \\<servername>\c$\Program Files (x86)\VanDyke Software\SecureFX\sfxcl.exe is a file, not a directory!
Please let me know if I have to give the complete path somewhere else?
Original Message:
Sent: 02-15-2021 12:00 PM
From: Sankar Natarajan
Subject: Execute External command step not working as expected from VSE
Hi Swapna
Have you tried passing the full path of the executable 'sfxcl' ?
--
This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
Original Message:
Sent: 2/15/2021 11:55:00 AM
From: Swapna Krishnankutty
Subject: Execute External command step not working as expected from VSE
Hi,
I have a script to use the sfxcl command in Execute External command step. The script is working as expected when I test it via ITR on workstation instance on the server that hosts DevTest. But I get the message ' 'sfxcl' is not recognized as an internal or external command, operable program or batch file.', when I deploy the test as monitor to CVS or deploy it as VSM on VSE.
SecureFx is installed on the server that has DevTest services running on.
Need help on how to refer to the executable from the test.