Forum Discussion
Hi Alex,
No silent parameter is used in the vbs file to trigger TestExecute.
And OK button of Modal userform is configured, and the requirement is to provision values to testxboxes on userform and then proceed with execution. But the modal userform itself is not getting displayed.
Sample vbs file is as below
Dim objWshell
Set objWshell = CreateObject("Wscript.Shell")
objWshell = """C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe"" ""C:\SampleProjectSuite\SampleProject.Suite.pjs"" /p:""SampleProject"" /r """" /exit /timeout 7200", 0 ,true
Regards
Dhirendra
Hi Dhirendra,
a) Why not to use just a .cmd command file with this command:
"C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe" "C:\SampleProjectSuite\SampleProject.Suite.pjs" /p:"SampleProject" /r /exit /timeout 7200
b) If, for some reason you really need to use .vbs, then the code must be like this:
Dim objWshell
Set objWshell = CreateObject("Wscript.Shell")
objWshell.Run """"C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe"" ""C:\SampleProjectSuite\SampleProject.Suite.pjs"" /p:""SampleProject"" /r /exit /timeout 7200"", 1, true
Related Content
- 12 years agolphilippe_macau
- 3 years agoLee_M
- 4 years agosivakarthik
Recent Discussions
- 3 hours agoashly