cancel
Showing results for 
Search instead for 
Did you mean: 

How to run multiple script tests

SOLVED
Occasional 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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: How to run multiple script tests

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

View solution in original post

4 REPLIES 4
Community Hero

Re: How to run multiple script tests

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

View solution in original post

Occasional Contributor

Re: How to run multiple script tests

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.

 

Community Hero

Re: How to run multiple script tests

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

Re: How to run multiple script tests

Thanks for the help, Alex!

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

---------
Tanya Gorbunova
SmartBear Community Manager

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
Top Kudoed Authors