Ask a Question

[TechCorner Challenge #4] How to execute remote test and obtain results via Test Runner REST API

sonya_m
SmartBear Alumni (Retired)

[TechCorner Challenge #4] How to execute remote test and obtain results via Test Runner REST API

Hi Community! Here's a new awesome challenge for you!πŸ™‚

Learn new things about working with the product, and get into the TechCorner Leaderboard!

 

Automating test execution on remote machines is a common task. TestComplete provides the Test Runner REST API which allows executing tests remotely. Let's learn more about this feature by completing the task below.

 

Task: Create a standalone script that will use the API and run the suite on the provided test host and return the results (passed/failed).

DifficultyStar_Gold.pngStar_Gold.pngStar_gray.png

 

You can complete the challenge by following these steps:

 

  1. Enable the API on the computer where you will run tests.

  2. Use this table for reference to see what methods you need to use in your script.

  3. Create a script that will interact with the API. It's better to create an executable standalone file that will use requests in Pythoncurl, or the XMLHTTP object in JScript and VBScript or any other means that you prefer.

  4. Share the code in the reply section below 😊

Have fun!


Sonya Mihaljova
Community and Education Specialist

2 REPLIES 2
sonya_m
SmartBear Alumni (Retired)

Anyone has ideas on how to do this?πŸ™‚

 

@tristaanogre @Marsha_R @cunderw @anupamchampati 


Sonya Mihaljova
Community and Education Specialist

Not me!  We aren't doing remote testing here yet.


Marsha_R
[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
cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β