Forum Discussion

h_jansen's avatar
h_jansen
Occasional Contributor
11 years ago

RunProjectTestItem stopped working

I have a project that I test through a VBS script to start the keyword tests:

IntegrationObject.RunProjectTestItem "RegressieTest", ProjectTestItem

This runs for a long time.



Yesterday I made some changes and suddenly the tests won't start from the VBscript. I see that TestComplete is loaded, but the TestItem won't start.

The TestItem will start from the GUI.

I do not get any information back from the program that indicates where/what the problem is.



My question is: how can I get the info to see why the TestItem won't start?

3 Replies

  • kanemeyer's avatar
    kanemeyer
    Occasional Contributor

    I am also having a similar issue. I get a "Unable to find specified element" when using RunProjectTestItem. I have checked both the project string and test item string. They both are correct. I believe this worked with 10.40. I am not sure what has changed.

    • kanemeyer's avatar
      kanemeyer
      Occasional Contributor

      Nevermind. I have found my mistake. Sorry to bother