Forum Discussion

tammyjo9's avatar
tammyjo9
Regular Visitor
4 years ago

TestComplete Script Name Report

Hi All, 

 

I'm trying to figure out how to create a report with all my script names in Test Complete per project -- without it being in a project executor report  (which makes them named on the generated report "Project1, project2 etc). I want to send a list of my named scripts out because they are based off what is covered in their naming. 

Example attached of their names in a screen shot. Does anyone know how to do that? 

Thanks! 🙂 

  • Hi,

     

    If I got your question right, try this script:

    function _testListKeywordTests()
    {
      var strList = '';
      var oProps = aqObject.GetProperties(KeywordTests);
      var iCount = oProps.Count;
      for (var i = 0; i < iCount; i++)
        strList += oProps.Item(i).Name + '\r\n';
      Log.Message('List of KeywordTests', strList);
    }

    Is this what you are looking for?

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    If I got your question right, try this script:

    function _testListKeywordTests()
    {
      var strList = '';
      var oProps = aqObject.GetProperties(KeywordTests);
      var iCount = oProps.Count;
      for (var i = 0; i < iCount; i++)
        strList += oProps.Item(i).Name + '\r\n';
      Log.Message('List of KeywordTests', strList);
    }

    Is this what you are looking for?

     

  • LevertonCove's avatar
    LevertonCove
    Occasional Visitor

    When TestComplete generates the Summary report If a project suite or a project contains at least one test item marked as a test case in the Execution Plan editor. If the tests to run were specified by their tags. If a script test contains at least one test case marked by using the test case.

    AlaskasWorld PET

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Thanks everyone!

       

      tammyjo9 Did this help? Please mark the best reply as a Solution, to help community members locate it quickly in the future ğŸ™‚