Skip Navigation LinksHome Page > Forums > SpiraTest Forums > SpiraTest Issues & Questi... > SpiraTest and Testcomplet...
Problem: TestComplete10 runs but doesnt appear to find nor automate the script
Setup:
Have Spiratest and Testcomplete10 running on the same virtual server.
Have loaded appropriate spiratest DLL's for TestComplete10.
Have gone into administrator page and edited the Automation settings for TestComplete10 to enable these.
Have setup the TestHost.
Have created the Test Set and set the automation details to access an existing TestComplete project.
Am using the path settings advised in another forum post C:\Users\SMARTBEAR\Documents\TestComplete 10 Projects\Pulse Project\RegressionTests\PulseRegressionTests.pjs|BaseTests|Script|StartUpApp.scs
File physically exists in the directory.
Adjust the plan date on the test set and test is found by RemoteLaunch and launches TestComplete successfully.
TestComplete attemtps to load script and immediately closes.
Spiratest gives the following error:
What am I doing wrong?
Hi Grant
Thanks for also logging a help desk ticket.
Generally you need to use:
Project Suite Path|Project Name|Test Item Name (for a test item)
or
Project Suite Path|Project Name|Unit Name|Routine Name(for an individual test routine)
so most likely the issue is that the Test Item Name or Routine name is not correct.
Please send us a screenshot of the test complete test that you're trying to execute in the help desk ticket and we can assist you further.
Regards
Adam
Test Server is undergoing maintenance so I cant get a screenshot for you right now. Here is what I am using for the path:
C:\Users\SMARTBEAR\Documents\TestComplete 10 Projects\Pulse Project\RegressionTests\PulseRegressionTests.pjs|BaseTests|Script|StartUpApp.scs
Heres the breakdown of the components in the path:
Project Suite Path C:\Users\SMARTBEAR\Documents\TestComplete 10 Projects\Pulse Project\RegressionTests\
Project Name PulseRegressionTests.pjs
Unit Name BaseTests
Routine Name(for an individual test routine) Script|StartUpApp.scs
The scs extension indicates it is a C# script in version 10 of TestComplete.
Ok got it working. My fault. I wasnt getting the format you required.
Here is what worked:
C:\Users\SMARTBEAR\Documents\TestComplete 10 Projects\PulseSuite\PulseSuite.pjs|BaseTests|StartApp|Test1
All good now. Thank you for your assistance it is greatly appreciated.
You are most welcome.
And if you have any questions, please email or call us at +1 (202) 558-6885