[TechCorner Challenge #4] How to execute remote test and obtain results via Test Runner REST API
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[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).
Difficulty:
You can complete the challenge by following these steps:
-
Enable the API on the computer where you will run tests.
-
Use this table for reference to see what methods you need to use in your script.
-
Create a script that will interact with the API. It's better to create an executable standalone file that will use requests in Python, curl, or the XMLHTTP object in JScript and VBScript or any other means that you prefer.
-
Share the code in the reply section below 😊
Have fun!
Sonya Mihaljova
Community and Education Specialist
- Labels:
-
Scripting
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone has ideas on how to do this?🙂
@tristaanogre @Marsha_R @cunderw @anupamchampati
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not me! We aren't doing remote testing here yet.
