{"id":33607,"date":"2025-12-30T07:04:47","date_gmt":"2025-12-30T12:04:47","guid":{"rendered":"https:\/\/www.h2kinfosys.com\/blog\/?p=33607"},"modified":"2025-12-30T07:07:24","modified_gmt":"2025-12-30T12:07:24","slug":"tosca-test-case-execution-via-command-line-apis-and-jenkins","status":"publish","type":"post","link":"https:\/\/www.h2kinfosys.com\/blog\/tosca-test-case-execution-via-command-line-apis-and-jenkins\/","title":{"rendered":"TOSCA Test Case Execution via Command Line, APIs, and Jenkins"},"content":{"rendered":"\n<p>Automation testers preparing for <a href=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\" data-type=\"link\" data-id=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\">TOSCA Certification<\/a> often need a clear, practical understanding of Tosca Test Case Execution in real-world enterprise environments. Beyond designing test cases in Tosca Commander, professionals are expected to manage Tosca Test Case Execution using command-line tools, APIs, and CI\/CD pipelines as part of modern automation strategies.<\/p>\n\n\n\n<p>This article is part of advanced <a href=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\" data-type=\"link\" data-id=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\">TOSCA Training<\/a> and focuses on end-to-end Tosca Test Case Execution techniques. It explains how to execute Tosca test cases using tcshell.exe from the command prompt, how to trigger Tosca Test Case Execution using the Tosca Execution Client APIs, and how to install and configure Jenkins to schedule and run Tosca test cases automatically. These approaches are widely used in continuous integration and DevOps-driven testing frameworks.<\/p>\n\n\n\n<p>We can execute the Tosca test cases from the command prompt and also using API calls with Tosca Execution Client.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to execute Tosca Test cases from the command prompt?<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/documentation.tricentis.com\/tosca\/2310\/en\/content\/tosca_commander\/tcshell_commands.htm\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/documentation.tricentis.com\/tosca\/2310\/en\/content\/tosca_commander\/tcshell_commands.htm<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/documentation.tricentis.com\/tosca\/2310\/en\/content\/tosca_commander\/tcshell.htm\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/documentation.tricentis.com\/tosca\/2310\/en\/content\/tosca_commander\/tcshell.htm<\/a><\/p>\n\n\n\n<p>NOTE:&nbsp; Replace the workspace name, location and the Execution List folder name&nbsp;<\/p>\n\n\n\n<p>Below example is for a single user workspace . If it is a multi user workspace,add a checkout.<\/p>\n\n\n\n<p>On your local drive ,Create Script.tcs or any .tcs file, in this example ,I created Script.tcs under C:\\Tosca_Projects\\TCShell with below info .&nbsp;<\/p>\n\n\n\n<p><strong>jumptonode &#8220;\/Execution\/ExecutionLists\/H2kExe&#8221;<\/strong><\/p>\n\n\n\n<p><strong>task Run<\/strong><\/p>\n\n\n\n<p><strong>save<\/strong><\/p>\n\n\n\n<p>Execute below command from command prompt.&nbsp;<\/p>\n\n\n\n<p><strong>&#8220;C:\\Program Files (x86)\\TRICENTIS\\Tosca Testsuite\\ToscaCommander\\tcshell.exe&#8221; -workspace&nbsp; &#8220;C:\\Tosca_Projects\\Tosca_Workspaces\\JenkinsTest\\JenkinsTest.tws&#8221; -login &#8220;&#8221; &#8220;&#8221; &#8220;C:\\Tosca_Projects\\Script.tcs&#8221;<\/strong><\/p>\n\n\n\n<p>We can also execute this Tosca Command &#8211; TC Shell script from Jenkins.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Execute Tosca Test Case Execution Using Tosca Execution Client<\/strong><\/h2>\n\n\n\n<p>Open the github url and copy the text from <a href=\"https:\/\/github.com\/Tricentis\/ToscaExecutionClient\/blob\/main\/tosca_execution_client.ps1\" rel=\"nofollow noopener\" target=\"_blank\">Tosca_execution_client.ps1<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/Tricentis\/ToscaExecutionClient\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/Tricentis\/ToscaExecutionClient<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/documentation.tricentis.com\/tosca\/2420\/en\/content\/continuous_integration\/tosca_execution_clients.htm?Highlight=tosca_execution_client.ps1\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/documentation.tricentis.com\/tosca\/2420\/en\/content\/continuous_integration\/tosca_execution_clients.htm?Highlight=tosca_execution_client.ps1<\/a><\/p>\n\n\n\n<p>Login to Tosca Server, click on user administration and click on my account, click on Next to Tokens, Click on Add New . Client ID and Client Secret Code will be generated.&nbsp;<\/p>\n\n\n\n<p>Set-ExecutionPolicy Bypass -Scope Process -Force &amp;&nbsp;<\/p>\n\n\n\n<p>\u201cC:\\Tosca_Projects&gt;tosca_execution_client.ps1\u201d -toscaServerUrl &#8220;http:\/\/localhost\/&#8221; -events &#8216;[&#8220;H2kExe&#8221;]&#8217; -projectName &#8220;JenkinsTest&#8221; -clientId &#8220;DDjZp5pRj0WfwH_bR5KzXQ&#8221; -clientSecret &#8220;bg-HMwJijkmnFqS7FAyhsAlYQ3IsNdz0yRAF_0VR17EQ&#8221;<\/p>\n\n\n\n<p>cd to the folder where tosca_execution_client.ps1 is located.&nbsp;<\/p>\n\n\n\n<p>powershell -ExecutionPolicy Bypass -File <strong>&nbsp;\u201cC:\\Tosca_Projects\/tosca_execution_client.ps1\u201d -toscaServerUrl &#8220;http:\/\/localhost\/&#8221; -events &#8216;[&#8220;DexTestEventsForH2kinfosysValidation&#8221;]&#8217; -projectName &#8220;MayJune2025&#8221; -clientId &#8220;XE538JM0CEaGNWLECQm0Jw&#8221; -clientSecret &#8220;MFuYI7a0pEWDcHELTkdySg_wudMOVHMkGeNGOiFK3WTg&#8221;<\/strong><\/p>\n\n\n\n<p>Step 1: Download and Install Jenkins&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/www.jenkins.io\/download\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/www.jenkins.io\/download<\/a><\/p>\n\n\n\n<p>Click on Windows, jenkins file will be downloaded, double click on Jenkins file to install&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\"><img fetchpriority=\"high\" decoding=\"async\" width=\"631\" height=\"497\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-36.png\" alt=\"TOSCA Test Case Execution\" class=\"wp-image-33622\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-36.png 631w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-36-300x236.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-36-150x118.png 150w\" sizes=\"(max-width: 631px) 100vw, 631px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\"><img decoding=\"async\" width=\"617\" height=\"489\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-31.png\" alt=\"\" class=\"wp-image-33618\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-31.png 617w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-31-300x238.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-31-150x119.png 150w\" sizes=\"(max-width: 617px) 100vw, 617px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\"><img decoding=\"async\" width=\"616\" height=\"485\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-33.png\" alt=\"\" class=\"wp-image-33621\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-33.png 616w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-33-300x236.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-33-150x118.png 150w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/a><\/figure>\n\n\n\n<p>Click on Test port and make sure the default port 8080 is available . If not enter any other port number and click on test port to validate the port number is available.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.h2kinfosys.com\/courses\/tosca-automation-tool-training-and-certification-program\/\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"483\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-30.png\" alt=\"\" class=\"wp-image-33616\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-30.png 612w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-30-300x237.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-30-150x118.png 150w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"473\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-35.png\" alt=\"\" class=\"wp-image-33620\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-35.png 612w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-35-300x232.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-35-150x116.png 150w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"483\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-34.png\" alt=\"\" class=\"wp-image-33619\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-34.png 615w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-34-300x236.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-34-150x118.png 150w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"466\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-32.png\" alt=\"\" class=\"wp-image-33617\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-32.png 621w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-32-300x225.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-32-150x113.png 150w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/figure>\n\n\n\n<p>If any popup window prompts for allow the application, click Yes to allow.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"476\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-38.png\" alt=\"\" class=\"wp-image-33623\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-38.png 616w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-38-300x232.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-38-150x116.png 150w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/figure>\n\n\n\n<p>Launch browser with&nbsp; localhost:8080<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-43-1024x573.png\" alt=\"\" class=\"wp-image-33628\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-43-1024x573.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-43-300x168.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-43-768x430.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-43-1536x860.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-43-150x84.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-43.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Open the file and copy the password<\/p>\n\n\n\n<p>C:\\ProgramData\\Jenkins\\.jenkins\\secrets\\initialAdminPassword<\/p>\n\n\n\n<p>Uid:&nbsp; admin and the password is copied from the above file.<\/p>\n\n\n\n<p>After Login , click on suggested plugins&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"525\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-44-1024x525.png\" alt=\"\" class=\"wp-image-33630\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-44-1024x525.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-44-300x154.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-44-768x394.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-44-150x77.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-44.png 1397w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Setup new uid and password as admin \/ admin&nbsp; ( or any of your choice )<\/p>\n\n\n\n<p>OR continue as admin&nbsp;<\/p>\n\n\n\n<p>I created admin \/ admin for easy to remember<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"642\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-37-1024x642.png\" alt=\"\" class=\"wp-image-33624\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-37-1024x642.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-37-300x188.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-37-768x482.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-37-150x94.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-37.png 1491w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Save and finish<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"665\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-39-1024x665.png\" alt=\"\" class=\"wp-image-33625\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-39-1024x665.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-39-300x195.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-39-768x499.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-39-1536x998.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-39-150x97.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-39.png 1579w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"554\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-41-1024x554.png\" alt=\"\" class=\"wp-image-33626\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-41-1024x554.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-41-300x162.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-41-768x415.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-41-150x81.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-41.png 1161w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>http:\/\/localhost:8080\/&nbsp;<\/p>\n\n\n\n<p>Click on create new job<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"460\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-40-1024x460.png\" alt=\"\" class=\"wp-image-33627\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-40-1024x460.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-40-300x135.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-40-768x345.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-40-1536x690.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-40-150x67.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-40.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Enter the New Item name ( any name&nbsp; )<\/p>\n\n\n\n<p>I want to execute Tosca Regression Test cases , Name it as ToscaTestCases<\/p>\n\n\n\n<p>Select FreeStyle Project and Click OK<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"510\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-48-1024x510.png\" alt=\"\" class=\"wp-image-33634\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-48-1024x510.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-48-300x149.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-48-768x383.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-48-1536x765.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-48-150x75.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-48.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next screen,&nbsp; scroll down and click on Build Steps, select Execute Windows Batch command<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-45-1024x576.png\" alt=\"\" class=\"wp-image-33632\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-45-1024x576.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-45-300x169.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-45-768x432.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-45-1536x864.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-45-150x84.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-45.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Copy and paste below text and update the Workspace name and related folder&nbsp;<\/p>\n\n\n\n<p>Below example is for a single user workspace . If it is a multi user workspace,need to add a checkout statement in this script.<\/p>\n\n\n\n<p><strong>&#8220;C:\\Program Files (x86)\\TRICENTIS\\Tosca Testsuite\\ToscaCommander\\tcshell.exe&#8221; -workspace&nbsp; &#8220;C:\\Tosca_Projects\\Tosca_Workspaces\\JenkinsTest\\JenkinsTest.tws&#8221; -login &#8220;&#8221; &#8220;&#8221; &#8220;C:\\Tosca_Projects\\TCShell\\Script.tcs&#8221;<\/strong><\/p>\n\n\n\n<p>On your local drive ,Create C:\\Tosca_Projects\\TCShell\\Script.tcs&nbsp; file with below info<\/p>\n\n\n\n<p>NOTE: replace H2kExe with the name of the execution list folder that you are planning to execute to run the test cases.<\/p>\n\n\n\n<p><strong>jumptonode &#8220;\/Execution\/ExecutionLists\/H2kExe&#8221;<\/strong><\/p>\n\n\n\n<p><strong>task Run<\/strong><\/p>\n\n\n\n<p><strong>Save<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-46-1024x506.png\" alt=\"\" class=\"wp-image-33635\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-46-1024x506.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-46-300x148.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-46-768x380.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-46-1536x759.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-46-150x74.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-46.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>++++<\/p>\n\n\n\n<p>Click on Build Now<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"543\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-42-1024x543.png\" alt=\"\" class=\"wp-image-33629\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-42-1024x543.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-42-300x159.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-42-768x407.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-42-1536x814.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-42-150x80.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-42.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click on Down Arrow on Green Tick mark and click on Console Output to view the results.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-47-1024x576.png\" alt=\"\" class=\"wp-image-33633\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-47-1024x576.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-47-300x169.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-47-768x432.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-47-1536x864.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-47-150x84.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-47.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-49-1024x468.png\" alt=\"\" class=\"wp-image-33631\" title=\"\" srcset=\"https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-49-1024x468.png 1024w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-49-300x137.png 300w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-49-768x351.png 768w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-49-1536x703.png 1536w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-49-150x69.png 150w, https:\/\/www.h2kinfosys.com\/blog\/wp-content\/uploads\/2025\/12\/image-49.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Automation testers preparing for TOSCA Certification often need a clear, practical understanding of Tosca Test Case Execution in real-world enterprise environments. Beyond designing test cases in Tosca Commander, professionals are expected to manage Tosca Test Case Execution using command-line tools, APIs, and CI\/CD pipelines as part of modern automation strategies. This article is part of [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":33643,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1994],"tags":[2295,2294,2293],"class_list":["post-33607","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tosca-automation","tag-jenkins-tosca","tag-test-automation","tag-tosca-execution"],"_links":{"self":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/33607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/comments?post=33607"}],"version-history":[{"count":2,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/33607\/revisions"}],"predecessor-version":[{"id":33646,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/posts\/33607\/revisions\/33646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media\/33643"}],"wp:attachment":[{"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/media?parent=33607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/categories?post=33607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h2kinfosys.com\/blog\/wp-json\/wp\/v2\/tags?post=33607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}