Ask a Question

How to run multiple script tests

SOLVED
kevintran1308
Contributor

How to run multiple script tests

I have 2 or 3 scripts tests that need to run.

It does not need to be in order. 

For example, I have 3 script tests call Test1, Test2 and Test3.

I created master script test that would run 3 tests above.

How can I do that?

 

Thank you

5 REPLIES 5
AlexKaras
Community Hero

Hi,

 

Parallel execution of tests on the same machine is not possible. Only sequential one. This is just because TestComplete emulates human user and the human cannot work with tested application in parallel.

Parallel execution on several machines is possible with the help of the Network Suite functionality. See https://support.smartbear.com/testcomplete/docs/testing-approaches/parallel-testing.html for more details.

 

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
================================

I did not mean the parallel testing.

I think I make the confusion about this.

Because I have some small tests that need to repeat all the time in the big test.

Just like small tests is one to steps for the big test.

Maybe it can be include other script files to the test, so that it can run the scripts during the test.

 

Hi,

 

I am not sure I got the question...

I think that you are not asking for something like this:

function main()
{
  Test1();
  Test2();
  Test3();
}

function Test1()
{
  ...
}

function Test2()
{
  ...
}

function Test3()
{
  ...
}

 

What are you 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
================================
TanyaYatskovska
SmartBear Alumni (Retired)

Thanks for the help, Alex!

@kevintran1308, please let us know if the question was resolved. 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



what you are looking for is the Execution plan

 

check out the video here

Running Multiple Tests

 

https://support.smartbear.com/testcomplete/videos/testcomplete-basics-web-testing/testcomplete-basic...

 

the execution plan is held within the project base or later versions of TC have it as a separate item

 

Lee_M_0-1613577957050.png

 

 

cancel
Showing results for 
Search instead for 
Did you mean: