cancel
Showing results for 
Search instead for 
Did you mean: 

Counting Project Suite Items Excluding 'reset' scripts

SOLVED
munteanadrian88
New Contributor

Counting Project Suite Items Excluding 'reset' scripts

Hi,

 

How can I set a temporary variable from TestComplete Variables to be able to run the same test case on multi-frame applications? (the temporary variable describes the name of the frame application). In case the test script is designed to set that temporary variable, that script is added to the total count of the Test Run (I would prefer to count only the test cases, and not also the helper scripts).

 

Is this possible somehow?

 

Best Regards,

Adrian M.

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Counting Project Suite Items Excluding 'reset' scripts

I've used a "setup" script that has all the helper type actions in it, and then had it run as a separate project before the actual test.  If you're using Suite level variables that will work.  

View solution in original post

3 REPLIES 3
Marsha_R
Community Hero

Re: Counting Project Suite Items Excluding 'reset' scripts

I've used a "setup" script that has all the helper type actions in it, and then had it run as a separate project before the actual test.  If you're using Suite level variables that will work.  

View solution in original post

munteanadrian88
New Contributor

Re: Counting Project Suite Items Excluding 'reset' scripts

Hi Marsha_R,

 

Based on your suggested solution, I've cloned my Project (once) and set a different value for the Project variable, and it seems the count of the items is fine now. If so, I will need to create n Projects for each of the frame applications separately. Is there a better approach without the need to clone the current Project n-times?

 

In the attached snapshot the same test case has to be run on different frame application (group folder).

 

Best Regards,

Adrian M.

Marsha_R
Community Hero

Re: Counting Project Suite Items Excluding 'reset' scripts

You can have the helper script loop through a spreadsheet with different values for the variable.  

 

@tristaanogre probably has a better way to do it though.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors