cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete Script Name Report

SOLVED
tammyjo9
Regular Visitor

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! 🙂 

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: TestComplete Script Name Report

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?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

3 REPLIES 3
AlexKaras
Community Hero

Re: TestComplete Script Name Report

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?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

LevertonCove
Occasional Visitor

Re: TestComplete Script Name Report

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
Community Manager

Re: TestComplete Script Name Report

Thanks everyone!

 

@tammyjo9 Did this help? Please mark the best reply as a Solution, to help community members locate it quickly in the future 🙂


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements