{
    "componentChunkName": "component---src-templates-page-jsx",
    "path": "/docs/test-management/qi-home/automation/copilot/execute-test-case-in-local/",
    "result": {"data":{"markdownRemark":{"html":"<br>\n<p><strong>Run a test case with Copilot on your local device or a connected mobile device.</strong></p>\n<hr>\n<p>Local execution uses your own machine or a connected device instead of Testsigma Lab. Use Local when your application is not publicly accessible, when you need to test against a local build, or when you are executing mobile test cases on a physical device or emulator.</p>\n<p>Local execution requires Testsigma Terminal to be running on your desktop.</p>\n<hr>\n<blockquote>\n<h2 id=\"prerequisites\" style=\"position:relative;\"><a href=\"#prerequisites\" aria-label=\"prerequisites permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Prerequisites</strong></h2>\n<p>Before you begin, ensure that:</p>\n<ul>\n<li>You have a test case with automated steps saved in your library.</li>\n<li>Testsigma Terminal is installed and running on your desktop.</li>\n<li>For mobile execution: a physical device or emulator is connected to your machine and recognized by Testsigma Terminal.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"local-web-start-execution\" style=\"position:relative;\"><a href=\"#local-web-start-execution\" aria-label=\"local web start execution permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Local Web: Start Execution</strong></h2>\n<ol>\n<li>Open a test case from your library.</li>\n<li>Hover over the <strong>Run</strong> button and click <strong>Run with Copilot</strong>.</li>\n<li>\n<p>In the <strong>Run with Copilot</strong> dialog, configure the settings:</p>\n<ul>\n<li><strong>Test Lab</strong>: Local Devices</li>\n<li><strong>Debug Point</strong>: Select a step to pause at, or leave as None.</li>\n<li><strong>Environment</strong>: Select the test environment.</li>\n<li><strong>Run till failed step</strong>: Toggle on if needed.</li>\n</ul>\n<!-- screenshot: Run with Copilot dialog for Local Web showing Test Lab set to Local Devices -->\n</li>\n<li>\n<p>Click <strong>Launch</strong>.</p>\n<p>If Testsigma Terminal is not running, a prompt appears. Start Terminal and return to launch the session.</p>\n</li>\n</ol>\n<p>The Copilot panel opens in a browser on your machine. The execution flow is the same as Cloud. See <a href=\"https://testsigma.com/docs/test-management/qi-home/automation/copilot/execution-controls-in-copilot/\">Execution Controls in Copilot</a>.</p>\n<hr>\n<h2 id=\"local-android-start-execution\" style=\"position:relative;\"><a href=\"#local-android-start-execution\" aria-label=\"local android start execution permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Local Android: Start Execution</strong></h2>\n<ol>\n<li>Open a test case and hover over the <strong>Run</strong> button. Click <strong>Run with Copilot</strong>.</li>\n<li>\n<p>In the <strong>Run with Copilot</strong> dialog:</p>\n<ul>\n<li><strong>Test Lab</strong>: Local Devices</li>\n<li><strong>Test Machines</strong>: Select the machine your device is connected to.</li>\n<li><strong>Device</strong>: Select the Android device or emulator.</li>\n<li><strong>Initial Debug Point</strong>: Select a step to start from, or leave as None.</li>\n<li><strong>App Source</strong>: Choose how to specify the app:</li>\n<li><strong>External link</strong>: Paste the app URL.</li>\n<li><strong>Uploaded apps</strong>: Select a previously uploaded APK.</li>\n<li><strong>Add Manually</strong>: Enter app details by hand.</li>\n<li><strong>Environment</strong>: Select the test environment.</li>\n</ul>\n<!-- screenshot: Run with Copilot dialog for Android Local showing Test Machines, Device, and App Source fields -->\n</li>\n<li>Click <strong>Launch</strong>.</li>\n</ol>\n<hr>\n<h2 id=\"local-ios-start-execution\" style=\"position:relative;\"><a href=\"#local-ios-start-execution\" aria-label=\"local ios start execution permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Local iOS: Start Execution</strong></h2>\n<p>The iOS flow uses the same Run with Copilot dialog as Android Local.</p>\n<ol>\n<li>Open a test case and hover over the <strong>Run</strong> button. Click <strong>Run with Copilot</strong>.</li>\n<li>\n<p>In the <strong>Run with Copilot</strong> dialog:</p>\n<ul>\n<li><strong>Test Lab</strong>: Local Devices</li>\n<li><strong>Test Machines</strong>: Select the connected machine your iOS device is attached to.</li>\n<li><strong>Device</strong>: Select your iPhone, iPad, or iOS simulator.</li>\n<li><strong>Initial Debug Point</strong>: Select a step to pause at, or leave as None.</li>\n<li><strong>App Source</strong>: Select how to specify the app (External link, Uploaded apps, or Add Manually). iOS apps use .ipa format.</li>\n<li><strong>Environment</strong>: Select the test environment.</li>\n</ul>\n<!-- screenshot: Run with Copilot dialog for iOS Local showing Device and App Source fields -->\n</li>\n<li>Click <strong>Launch</strong>.</li>\n</ol>\n<hr>\n<h2 id=\"complete-the-session\" style=\"position:relative;\"><a href=\"#complete-the-session\" aria-label=\"complete the session permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Complete the Session</strong></h2>\n<p>The completion flow for Local is the same as Cloud. When execution finishes, save your results and end the session. See <a href=\"https://testsigma.com/docs/test-management/qi-home/automation/copilot/execute-test-case-in-cloud/\">Execute Test Case in Cloud</a> for the save and end steps.</p>\n<div class=\"custom-block alert alert-info\"><div class=\"custom-block-heading\"><strong>NOTE</strong>:</div><div class=\"custom-block-body\"><p>For Local execution, there is no cloud VM to release. The session simply closes when you end it.</p></div></div>\n<hr>","frontmatter":{"title":"Execute Test Case in Local","page_title":"Execute Test Case in Local","metadesc":"Run a test case with Copilot on your local device or a connected mobile device using Testsigma Terminal, for applications that are not publicly accessible.","noindex":false,"contextual_links":[{"type":"section","name":"Contents","url":null},{"type":"link","name":"Prerequisites","url":"#prerequisites"},{"type":"link","name":"Local Web: Start Execution","url":"#local-web-start-execution"},{"type":"link","name":"Local Android: Start Execution","url":"#local-android-start-execution"},{"type":"link","name":"Local iOS: Start Execution","url":"#local-ios-start-execution"},{"type":"link","name":"Complete the Session","url":"#complete-the-session"}]},"fields":{"slug":"/docs/test-management/qi-home/automation/copilot/execute-test-case-in-local/"}}},"pageContext":{"slug":"/docs/test-management/qi-home/automation/copilot/execute-test-case-in-local/","prev":{"fields":{"slug":"/docs/test-management/qi-home/automation/copilot/execute-test-case-in-cloud/"},"frontmatter":{"title":"Execute Test Case in Cloud","metadesc":"Run a test case interactively in a cloud browser on Testsigma Lab with Copilot executing each step, without setting up anything locally.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}},"next":{"fields":{"slug":"/docs/test-management/qi-home/automation/copilot/execution-controls-in-copilot/"},"frontmatter":{"title":"Execution Controls in Copilot","metadesc":"The controls available in the Copilot panel during test case execution — panel controls, step tabs, step statuses, debug controls, and adding a new step.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}}}},
    "staticQueryHashes": ["2855385900","63159454"]}