{
    "componentChunkName": "component---src-templates-page-jsx",
    "path": "/docs/test-management/qi-home/automation/copilot/execute-test-case-in-cloud/",
    "result": {"data":{"markdownRemark":{"html":"<br>\n<p><strong>Run a test case interactively in a cloud browser with Copilot executing each step.</strong></p>\n<hr>\n<p>Copilot opens a cloud browser on Testsigma Lab and executes your test case steps with a live panel showing each step as it runs. Use Cloud execution when you want to run a test case without setting up anything locally.</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. Automated steps are required for Copilot execution. See <a href=\"https://testsigma.com/docs/test-management/qi-home/automation/agentic-learning/learn-test-case-live-cloud/\">Learn Test Case Live (Cloud)</a>.</li>\n<li>Your application is accessible from a cloud environment.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"start-a-copilot-session\" style=\"position:relative;\"><a href=\"#start-a-copilot-session\" aria-label=\"start a copilot 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>Start a Copilot Session</strong></h2>\n<ol>\n<li>Open a test case from your library.</li>\n<li>\n<p>In the top action bar, hover over the <strong>Run</strong> button. A dropdown appears with three options:</p>\n<ul>\n<li><strong>Run with AI</strong>: Re-runs the learning flow using AI browser control.</li>\n<li><strong>Run Automated Steps</strong>: Executes the saved automated script without a live browser.</li>\n<li><strong>Run with Copilot</strong>: Executes steps interactively in a live browser.</li>\n</ul>\n</li>\n<li>\n<p>Click <strong>Run with Copilot</strong>.</p>\n<!-- screenshot: Test case page showing Run button hover dropdown with three options -->\n</li>\n<li>\n<p>In the <strong>Run with Copilot</strong> dialog, confirm the settings:</p>\n<ul>\n<li><strong>Test Lab</strong>: Testsigma Lab (pre-selected for Cloud)</li>\n<li><strong>Debug Point</strong>: Select a step where you want execution to pause, 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 you want execution to stop at the first failed step.</li>\n<li><strong>Additional Settings</strong> and <strong>Desired Capabilities</strong>: Expand if needed.</li>\n</ul>\n<!-- screenshot: Run with Copilot dialog for Cloud showing Test Lab, Debug Point, Environment, and toggles -->\n</li>\n<li>Click <strong>Launch</strong>.</li>\n</ol>\n<hr>\n<h2 id=\"during-execution\" style=\"position:relative;\"><a href=\"#during-execution\" aria-label=\"during 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>During Execution</strong></h2>\n<p>The cloud VM takes 10 to 20 seconds to provision.</p>\n<!-- screenshot: \"Spinning up your cloud browser\" loading screen -->\n<p>When the browser is ready, the Copilot panel opens alongside it. Steps execute in sequence. Each completed step is marked with a green checkmark.</p>\n<!-- screenshot: Copilot panel showing steps executing with checkmarks and the browser in the background -->\n<p>For the full list of controls available during execution, 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=\"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>When all steps have been executed, a dialog confirms the result.</p>\n<ol>\n<li>\n<p>Click <strong>Save Test Case</strong> to save the execution results.</p>\n<!-- screenshot: \"Test Case Executed Successfully\" dialog with Save Test Case and Reject buttons -->\n</li>\n<li>In the <strong>Save to Library</strong> dialog, select the folder and click <strong>Save</strong>.</li>\n<li>\n<p>To end the session and release the cloud VM:</p>\n<ul>\n<li>Click <strong>Save and End</strong> to save all changes and close the browser.</li>\n<li>Click <strong>Reject and End</strong> to close the browser without saving.</li>\n<li>Click <strong>Dismiss</strong> to keep the browser open.</li>\n</ul>\n<!-- screenshot: End session dialog showing Save and End, Reject and End, and Dismiss options -->\n</li>\n</ol>\n<div class=\"custom-block alert alert-info\"><div class=\"custom-block-heading\"><strong>NOTE</strong>:</div><div class=\"custom-block-body\"><p>The cloud VM is released when you end the session. Dismissing the dialog keeps the VM running and continues to consume resources.</p></div></div>\n<hr>","frontmatter":{"title":"Execute Test Case in Cloud","page_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.","noindex":false,"contextual_links":[{"type":"section","name":"Contents","url":null},{"type":"link","name":"Prerequisites","url":"#prerequisites"},{"type":"link","name":"Start a Copilot Session","url":"#start-a-copilot-session"},{"type":"link","name":"During Execution","url":"#during-execution"},{"type":"link","name":"Complete the Session","url":"#complete-the-session"}]},"fields":{"slug":"/docs/test-management/qi-home/automation/copilot/execute-test-case-in-cloud/"}}},"pageContext":{"slug":"/docs/test-management/qi-home/automation/copilot/execute-test-case-in-cloud/","prev":{"fields":{"slug":"/docs/test-management/qi-home/automation/agentic-learning/run-automated-test-case-with-copilot/"},"frontmatter":{"title":"Run Automated Test Case with Copilot","metadesc":"After Agentic Learning generates automated steps, run them in a live browser session with Copilot to verify and save the automated test case.","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/execute-test-case-in-local/"},"frontmatter":{"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.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}}}},
    "staticQueryHashes": ["2855385900","63159454"]}