wynfranc1234
11 years agoContributor
Run test from command line .bat file with PSexec utility
Hi.
Need help ,pls.
I'm getting the following error when running my Testcomplete test suite script to run the IE browser.
Jscript runtime error
Unspecified error
Error Location : Unit "Master_Suite\Master_Project\Script\Runbrowser"
run from a .bat file with the following command:
psexec -s -i 2 "C:\Program Files (x86)\SmartBear\TestComplete 10\Bin\TestExecute.exe" "D:\Checkout_Dir\Testcomplete\TestSuite\Common_Scripts\Master_Suite.pjs" /p:Master_Project /run /s /exit
it is failing on the following script - Browser Item :
RunBrowser jscript
Need help ,pls.
I'm getting the following error when running my Testcomplete test suite script to run the IE browser.
Jscript runtime error
Unspecified error
Error Location : Unit "Master_Suite\Master_Project\Script\Runbrowser"
run from a .bat file with the following command:
psexec -s -i 2 "C:\Program Files (x86)\SmartBear\TestComplete 10\Bin\TestExecute.exe" "D:\Checkout_Dir\Testcomplete\TestSuite\Common_Scripts\Master_Suite.pjs" /p:Master_Project /run /s /exit
it is failing on the following script - Browser Item :
RunBrowser jscript
function RunIE()
{
Browsers.Item(btIExplorer).Run("about:blank");
}
if I run without PSEXEC , it is running fine
Any ideas why ? Thanks
Version of TC : 10.2