[{"pageContent":"Getting Started with HyperExecute \nWelcome to HyperExecute, an AI-Native Test Orchestration Cloud Platform, designed to accelerate your \ntesting process, enabling test automation teams worldwide to achieve an accelerated time to market by \nproviding JIT (Just-in-time) testing infrastructure. \nIf you want to learn more about HyperExecute and how it can enable your team, then you are the right \nplace. This guide will help you take your first steps with HyperExecute, from understanding the basics to \nrunning your first test. \n \nWhat is HyperExecute?  \nHyperExecute by LambdaTest is a cutting-edge, AI-powered platform designed for DevOps teams and \nQA engineers to significantly accelerate software testing pipelines. HyperExecute replaces traditional \nhub-and-node test grids with advanced orchestration techniques, eliminating network latency and \noptimizing resource usage. With HyperExecute:","metadata":{"loc":{"lines":{"from":3,"to":15}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"hub-and-node test grids with advanced orchestration techniques, eliminating network latency and \noptimizing resource usage. With HyperExecute: \n● Slash your time-to-market with parallel execution that distributes tests optimally across available \nresources improving efficiency. \n● Make data-driven testing decisions using historical performance trends that reveal patterns and \nhelp optimize your testing strategy \n● Never worry about infrastructure constraints with dynamic scaling to handle peak testing \ndemands, running 10 tests or 10,000. \n● Enable multiple teams using different frameworks to run tests simultaneously across various \nenvironments on same license. \nWhether testing web or mobile applications, HyperExecute empowers your team to deliver higher-quality \nsoftware rapidly and reliably. \nCompatible with All Major Frameworks  \nHyperExecute seamlessly supports all major test automation frameworks as shown below. Regardless of","metadata":{"loc":{"lines":{"from":14,"to":27}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"software rapidly and reliably. \nCompatible with All Major Frameworks  \nHyperExecute seamlessly supports all major test automation frameworks as shown below. Regardless of \nyour existing testing stack, it will integrate smoothly to enhance your workflows without disruption. \n● Selenium \n● Playwright \n● Puppeteer \n● Cypress \n● Appium \n● Espresso \n● Maestro \n● XCUI \n-------------------------------------------------------------------------------------------------------------------------- \nRunning Your First Job on HyperExecute","metadata":{"loc":{"lines":{"from":25,"to":38}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"This page outlines how you can run your first test execution job on HyperExecute. \nBefore you start  \nWe recommend running your first test execution job using a sample project on HyperExecute. This can be \ndone in three different ways, as mentioned below: \n1. Using Quick Run: Execute tests directly from the HyperExecute Portal. (Recommended for new \nusers) \n2. Using Local System: Execute tests from your Local System. (Requires HyperExecute CLI) \n3. Using GitPod: Execute tests using GitPod. (Requires a GitPod account) \n1. Using Quick Run  \nAs you are running tests directly from the HyperExecute GUI, you don't need to do anything. The platform \nautomatically gets the instructions from the HyperExecute YAML file and starts execution using the \nHyperExecute CLI. \nStep 1: Go to the Quickstart page. \nStep 2: Select your preferred test automation framework and hit Get Started. \nStep 3: Configure your HyperExecute YAML (optional), otherwise just click on Trigger test to run your first \njob.","metadata":{"loc":{"lines":{"from":40,"to":55}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Select your preferred test automation framework and hit Get Started. \nStep 3: Configure your HyperExecute YAML (optional), otherwise just click on Trigger test to run your first \njob. \nStep 4: Your test execution is initiated using the HyperExecute CLI in the background. \nStep 5: Click on View Test Result to navigate to HyperExecute Dashboard where you can see the job \ngetting executed and the test results. \n2. Using Local System  \n \nTo run your Test Scripts on HyperExecute from you Local system, you'll need the following: \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Your lambdatest Username and Access key \nWe will be taking care of everything one by one, just follow the steps given below: \nStep 1: Go to the Quickstart page. \nStep 2: Choose your test automation framework, Select Run on Local System and click on Get Started.","metadata":{"loc":{"lines":{"from":53,"to":67}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 1: Go to the Quickstart page. \nStep 2: Choose your test automation framework, Select Run on Local System and click on Get Started. \nStep 3: Download our sample project by clicking on Download Sample. (Skip this step if you already have \na project you want to test) \nStep 4: Download the HyperExecute CLI as per the OS that you are on. \nStep 5: Select the OS on which you want to run your tests and then download the HyperExecute YAML \nfile shown on screen. This contains all the configurations required for running tests on HyperExecute.","metadata":{"loc":{"lines":{"from":66,"to":72}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nNote: Your Yaml file should be in the root directory of your project. If you are renaming it, also change the \nfile name in the execution script as well. You can learn more about the advanced configurations here, \nhowever for the given sample projects you can simply download the file using the small icon on top right. \nStep 6: In order to run your tests, copy the command from screen and run in your terminal. \nStep 7: When you run this command, the HyperExecute CLI will send your test scripts to the \nHyperExecute Platform for execution across multiple parallel Test Execution Nodes. \nStep 8: Once your Job is running, you can click on View Test Results to navigate to HyperExecute \nDashboard where you can see the job getting executed along with the test results. \nnote \nThe generic command required to initiate test execution is given below. You will need to insert the name \nof your YAML file in place of the \nRELATIVE_PATH_OF_YOUR_YAML_FILE before running this","metadata":{"loc":{"lines":{"from":74,"to":86}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"note \nThe generic command required to initiate test execution is given below. You will need to insert the name \nof your YAML file in place of the \nRELATIVE_PATH_OF_YOUR_YAML_FILE before running this \ncommand. (Skip if you already used the command from Step 6. ) \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE \ntip \nIn case of MAC, if you get a permission denied warning while executing CLI, simply run chmod u+x \n./hyperexecute\n to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nIf you are facing any issues in running your first job? Watch our Webinar Video \n-------------------------------------------------------------------------------------------------------------------------- \nGuided Walkthrough of HyperExecute \nThis page gives you a guided walkthrough of all the things on the HyperExecute Dashboard and how you","metadata":{"loc":{"lines":{"from":83,"to":100}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Guided Walkthrough of HyperExecute \nThis page gives you a guided walkthrough of all the things on the HyperExecute Dashboard and how you \ncan get the most out of the platform once you have successfully run your first sample Job. \nJobs Page  \nAll the tests on HyperExecute get executed as a Job. All the Jobs can be found on our Jobs page. Each \nJob has a Status, a unique Job Number, a set of Labels, info on number of Tasks executed as part of that \nJob, and a Summary section followed by the details of the Job Duration and who initiated the Job. \nOn this page you have other things such as filters, help center, docs, secrets management and much \nmore. You can also filter through all of the jobs on the basis of the date, status, type etc. \n \nLearn more about Secrets Management, getting User Name and Access Key from our Knowledge Base \nTop Panel  \n \nThe top panel contains multiple items:","metadata":{"loc":{"lines":{"from":99,"to":112}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Parallel: It reflects the number of tasks running parallelly \n● Queued: It shows number of the tasks queued and are not yet started. \n● Configure Tunnel: Tunnel is used to ensure the security of your data for private websites. \n● Announcements: The latest announcements and updates can be found here. \n● Settings: Manage all of your account and organisation details in this section. \n● Upgrade: You can upgrade your LambdaTest subscription from here. \n \nJob Details Page  \nYou can click on a particular Job to navigate to the Job Details Page. \n● On the top you can see all the Job related details like Job Number, Summary etc. \n○ Job Number - The Number of your Job. \n○ Summary - A brief breakdown of all of your tests on the basis of their status. \n○ Status - The status of your Job. \n○ Created At - The date of the creation of the Job. \n○ User - Your user details who triggered the Job. \n○ Job Duration: The time it took to run your entire Job.","metadata":{"loc":{"lines":{"from":114,"to":129}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"○ Status - The status of your Job. \n○ Created At - The date of the creation of the Job. \n○ User - Your user details who triggered the Job. \n○ Job Duration: The time it took to run your entire Job. \n○ Test Duration: The time it took to run your tests. \n○ Type: The job type (Selenium, Playwright, etc) along with the mode of the job (AutoSplit \nor Matrix). \n○ Artifacts: Can be used to configure and generate custom reports and artifacts. \n○ Report: A detailed report for your test execution for the Job. \n● The left side shows all the Tasks (Just-in-time testing environments) that were a part of the Job. \n● Each Task has 3 types of Stages : Pre stages, Scenario stages, Post stages. \n \nTest Details  \nYou can access a much more detailed section for your test cases on the Automation dashboard by \nclicking on the Test button.","metadata":{"loc":{"lines":{"from":126,"to":140}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"It provides you with all the necessary data points that you need for your test. \nBasic Summary  \nYou can see the details of your test on the panel on the top of the screen. It contains several details like \nthe browser, the test status, the test name, and more. \n● Test Status: The status of your test. If the test has passed, the status will be passed. \n● Test Name: The name of your test. You can rename the test, copy the name and see all the tests \nin the build. \n● Test ID: The test ID of your test. You can copy the test ID by clicking on the Copy button. \n● Browser: The browser on which your tests are run. \n● OS: The Operating System on which your tests are run. \n● Resolution: The resolution of the screen. \n● Duration: The amount of time it took for your test to run. \n● Test Meta Data: You can view the test meta data by clicking on the info icon. \n● Tunnel Information: Tells whether you have used a tunnel to run your tests or not.","metadata":{"loc":{"lines":{"from":143,"to":156}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Test Meta Data: You can view the test meta data by clicking on the info icon. \n● Tunnel Information: Tells whether you have used a tunnel to run your tests or not. \n● Share: You can share the details of this test by clicking on the Share icon. \n● Delete: You can delete the test entirely by clicking on the Delete icon. \nVideos and Screenshots  \nHyperExecute provides you with tools like videos and screenshots of your tests to give you a clear picture \nof what goes on in the background. \nCommands and Logs  \nYou can access the commands involved in the test, and the logs on the right hand side on this \nDashboard. \n● All Commands: Each command that is run as a part of your test case is shown here. Each \ncommand also contains its own parameters, that can be accessed by hovering on the command \nand clicking on View Parameters. \n● Network: Access the network logs while your tests were getting executed on the Network tab.","metadata":{"loc":{"lines":{"from":155,"to":168}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"and clicking on View Parameters. \n● Network: Access the network logs while your tests were getting executed on the Network tab. \n● Logs: View all kinds of logs at one place. You can toggle between the Console Logs, Terminal \nLogs and the Test Framework Logs.","metadata":{"loc":{"lines":{"from":167,"to":170}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Note: You can download the logs by clicking on the Download button on the top right-hand corner of the \nlogs tab. \nTest Summary Hyperlink  \nThis introduces clickable links within your test summary. When you click on these hyperlinks, it \ndynamically redirects you to the automation dashboard, providing immediate access to detailed test \ninformation corresponding to the specific test status clicked. \nAdditionally, upon redirection, the automation dashboard opens the relevant tab that aligns with the \nselected test status, streamlining your experience.","metadata":{"loc":{"lines":{"from":173,"to":180}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"How to Activate Test Summary Hyperlinks  \n● Update your Org Configuration : \n● Frontend Configuration :  \nFor frontend activation, please contact us via our 24×7 chat support or you can also drop a mail \nto support@lambdatest.com. \n● Backend Configuration :  \nUpdate your designated HyperExecute YAML file with buildConfig configuration to activate the \n\"Test Summary Hyperlink\" feature. This configuration allows you to define specific parameters \nthat govern the behavior of the hyperlinks based on the test summary status. \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute vs Traditional Test Grids \nTraditional automation testing solutions are slow since the triggered test scenarios are first sent to the \nHub, which in turn are scheduled to run on the best-suited Node. This results in unnecessary lag as a","metadata":{"loc":{"lines":{"from":183,"to":195}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Hub, which in turn are scheduled to run on the best-suited Node. This results in unnecessary lag as a \nnumber of components are involved in the entire process. Over & above, multiple network hops with the \nnetwork separated components results in increased test flakiness, a factor that can be a huge hindrance \nto time-to-market. \nTraditional Tests Grids  \nTraditional tests refers to the conventional approach of executing software tests using a hub and node \ninfrastructure. In this method, test scenarios are sent to a central hub, which then schedules and \ndistributes them across multiple nodes (machines or virtual environments) for execution. The test \nscenarios are typically executed sequentially on the nodes, one after the other. \nHere is a diagrammatic representation of how tests are run using traditional solutions:","metadata":{"loc":{"lines":{"from":195,"to":204}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Limitations of Traditional Tests Grids  \n● Slower Execution: Traditional tests often suffer from slower execution times due to the \nsequential nature of test case execution. \n● Test Flakiness: The separation of network components introduces instability and unreliable test \nresults. \n● Limited Scalability: Traditional test automation environments may face challenges when it \ncomes to scaling. Adding more nodes or expanding the infrastructure requires additional \nhardware or virtual resources, which can be costly and time-consuming. \n● Limited Test Parallelism: Traditional test automation methods often lack efficient parallel \nexecution capabilities as in sequential execution, tests are unable to take full advantage of \navailable computing resources. \nHyperExecute  \nHyperExecute integrates all test automation components into a single environment, ensuring seamless \ncommunication and maximizing efficiency. By leveraging cloud infrastructure, HyperExecute harnesses","metadata":{"loc":{"lines":{"from":207,"to":220}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"communication and maximizing efficiency. By leveraging cloud infrastructure, HyperExecute harnesses \nthe power of distributed computing, enabling faster and more scalable test execution. HyperExecute \nprioritizes security by encrypting test execution logs and leveraging Azure cloud storage, ensuring data \nprotection during transit and at rest. \nHere is the diagrammatic representation of how tests are run on the HyperExecute infrastructure:","metadata":{"loc":{"lines":{"from":220,"to":224}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"As seen above, tests are securely run on dedicated machines on the Azure cloud. The cloud (for \nexecution) is chosen based on the location from where concierge (i.e. HyperExecute CLI) is triggered. \nFeatures and Advantages  \n● Auto Split Strategy: Enables parallel test execution by intelligently distributing test scenarios \nbased on custom filters, that reduces test execution time. \n● Matrix Multiplexing Strategy: Empowers users to execute a single command across multiple \nscenarios, conditions, and environments, facilitating efficient regression testing and improving \ncode stability. \n● Smart Caching : Optimizes regression testing by intelligently caching test artifacts, speeding up \nthe subsequent test runs. \n● Auto Purging of Environments: Automates the cleanup of test environments after build \ncompletion, maintaining a clean and optimized testing setup. \n● Fine-Grained Concurrency Control: Hyperscale of HyperExecute allows users to have fine","metadata":{"loc":{"lines":{"from":227,"to":239}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"completion, maintaining a clean and optimized testing setup. \n● Fine-Grained Concurrency Control: Hyperscale of HyperExecute allows users to have fine \ngrain control over test execution concurrency using YAML files. \nFor more details, please refer to our guide on Key Features of HyperExecute \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute YAML \nThe HyperExecute YAML file serves as the foundational component for test execution within the \nHyperExecute Platform. The subsequent list enumerates the diverse configuration options supported by \nHyperExecute YAML, providing you with the flexibility to tailor test execution according to the specific \nrequirements of your project. \nMandatory Parameters  \nKey Type Description","metadata":{"loc":{"lines":{"from":238,"to":249}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"versio\nn \nString The version of HyperExecute YAML you are using. \nrunson linux, mac, or \nwin \nThe OS on which you will run your Test. Can provide ${matrix.os} as well to \nrun a multi OS job. \npre List of Strings The actions that are performed before test execution. \nAutoSplit Mode Parameters  \nKey Type Description \nautosplit Boolea\nn \nAutosplit utilizes an AI-based algorithm to intelligently distribute your \ndiscovered tests among concurrent virtual machines (VMs). It takes \ninto account the previous test runs and statuses to achieve the most \noptimal distribution of tests. By doing so, it maximizes the efficiency \nand effectiveness of your test execution process. \nDefault value is false. \nconcurrency Integer Indicates the number of concurrent sessions on HyperExecute. \ntestDiscovery Map This key is used to locate or discover relevant tests via class names, \nfilters, file names, etc. \ntestRunnerComman\nd \nString A command used to run a single test entity in isolation.This entity","metadata":{"loc":{"lines":{"from":251,"to":274}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"filters, file names, etc. \ntestRunnerComman\nd \nString A command used to run a single test entity in isolation.This entity \ncould be a file , module, feature or scenario. \nMatrix Mode Parameters  \nKey Type Description \nmatrix String A matrix allows you to create multiple tasks by performing \nvariable substitutions in a single job definition. \ncombineTasksInMatrixMode Boolea\nn \nThis flag is passed in matrix mode to run the \n(matrix-multiplied) combinations as scenarios in the specified \nnumber of HyperExecute machines, instead of 1 machine per \nmatrix-combination. \ntestSuites String A command to run the tests that were mentioned in the \nscenario key for matrix based test execution. \nHybrid Mode Parameters  \nKey Type Description \nparallelism Intege\nr \nParallelism defines number VMs to be spawned in case of hybrid \nmode, if the user is not defining the parallelism then he must \ndefine platform specific parallelism (win , mac and linux). If both","metadata":{"loc":{"lines":{"from":271,"to":294}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"r \nParallelism defines number VMs to be spawned in case of hybrid \nmode, if the user is not defining the parallelism then he must \ndefine platform specific parallelism (win , mac and linux). If both \nare defined the preference will be given to platform base \nparallelism","metadata":{"loc":{"lines":{"from":291,"to":296}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"macParallelism Intege\nr \nIt defines number of mac VM to be spawned for job. \nwinParallelism Intege\nr \nIt defines number of win VM to be spawned for job. \nlinuxParallelism Intege\nr \nIt defines number of linux VM to be spawned for job. \ntestRunnerCommand String A command used to run a single test entity in isolation.This entity \ncould be a file , module, feature or scenario. \nmacTestRunnerCommand String Test runner command for MAC. \nwinTestRunnerCommand String Test runner command for Windows. \nlinuxTestRunnerComman\nd \nString Test runner command for Linux. \nBasic Parameters  \nKey Type Description \ncacheKey String File which can be used to generate unique key for cache. \nExample : package.json \ncacheDirectories List of \nStrings \nDependency directories that are cached to improve the \ntest execution speed. \nenv Map No \nruntime Map Install any dependent language/framework with any \nspecific version. \nretryOnFailure Boolean If set to true, then it will retry tests based on maxRetries","metadata":{"loc":{"lines":{"from":298,"to":325}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"env Map No \nruntime Map Install any dependent language/framework with any \nspecific version. \nretryOnFailure Boolean If set to true, then it will retry tests based on maxRetries \nkey as defined below. \nDefault value is false. \nmaxRetries Integer The maximum number of times your scenarios can be \nretried. \nIf retryOnFailure is true then Default value will be 2. Value \nRange 1 to 5. \npost List of \nStrings \nThe actions that are performed after test execution. \nreport Boolean To generate the test report at the end of the job using the \nframework generated reports, set this value to true. We \nalso need to set partialReports for generating report","metadata":{"loc":{"lines":{"from":322,"to":337}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"partialReports Map Configurations related to generate report. \nerrorCategorizedOnFailureOnl\ny \nBoolean Control the behavior of error categorization generated on \nyour tests \nerrorCategorizedReport Map, \nBoolean \nGenerate a RCA report for your failed tests. \njobLabel List of \nStrings \nAdd tags or labels to jobs. This allows you to search your \njobs using the labels or tags assigned to them. \nAdvanced Parameters  \nArtifacts  \nKey Type Description \nmergeArtifacts Boolea\nn \nMerge all the artifacts generated by each task. \nuploadArtefacts Map The uploadArtifacts key contains the path and the \nname of the file which you want to download later \nas an artifact when job finishes. \ncaptureCSVResult Boolea\nn \nIf this directive is enabled, it will generate the \nperformance stats artifact having aggregated \ninformation for the time taken by Selenium \nCommands. \nskipArtifactStageIfNoTest Boolea\nn \nWhen enabled, it will mark artifact stage as skipped","metadata":{"loc":{"lines":{"from":339,"to":368}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"performance stats artifact having aggregated \ninformation for the time taken by Selenium \nCommands. \nskipArtifactStageIfNoTest Boolea\nn \nWhen enabled, it will mark artifact stage as skipped \nwhen there is no selenium/cdp test executed in the \ntask. \nlinkValidity Integer Customize the duration of validity for report and \nartifact URLs generated after job completion. \nstripParentDirectory Boolea\nn \nWhen mergeArtifacts is true, providing this flag will \nstrip the parent directory from all the downloaded \nartifacts and place the artifacts in base path. \ngenerateArtifactAfterEveryStage Boolea\nn \nWith this flag artifacts will be generated after every \nstage, without this flag artifacts are generated after \nevery task and avoid any overrides for artifacts of \nthe same name. \ntaskIdentifierInNonConflictingArtifacts Boolea\nn \nThis flag when set to true specifies that the task ID \nshould be included in the non-conflicting artifacts. \nTimeout  \nKey Type Description","metadata":{"loc":{"lines":{"from":363,"to":389}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"globalTimeout Intege\nr \nIt sets the max duration (1-150 mins) for a HyperExecute job. It terminates \na job exceeding this limit. Default is 90 mins, but can be adjusted based on \nyour requirements. \ntestSuiteTimeou\nt \nIntege\nr \nIt is used to set the timeout on all scenario stages inside a task. If defined, \nyour complete test suite should get executed within this time. Its max value \nis 150 minutes. \ntestSuiteStep Intege\nr \nIt is used to timeout individual scenario stages in a task. Each scenario in \neach task should get completed before this time. \nTunnel  \nKey Type Description \ntunnel Boolean If set to true , tunnel will be spawn on run time , which connects system \nwhere we are running the cli to VM where tests are getting executed. \ntunnelOpts Map All the configuration related to tunnel will be mention here. Please note \ntunnelOpts will work along with either tunnel or tunnelNames. \ntunnelName\ns \nList of \nStrings \nList of tunnels name which has been registered and running with","metadata":{"loc":{"lines":{"from":391,"to":417}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"tunnelOpts will work along with either tunnel or tunnelNames. \ntunnelName\ns \nList of \nStrings \nList of tunnels name which has been registered and running with \nHyperExecute. \nOther Advanced Parameters  \nKey Type Description \nglobalPre Map This flag runs once before all tasks start, used for \nglobal setup such as installing dependencies or \nconfiguring environments. \nglobalPost Map This flag runs once after all tasks finish, used for \nglobal cleanup such as removing logs or finalizing \nreports. \nfailFast Map Flag to fail a job faster if there are x consecutive \nfailures. \ndifferentialUpload Map Minimize the time of upload of code. \nbackground Map It is used to trigger long-running Application \nServers tasks like running WebApps or databases \nretryOptions Array Retries the test case if found specific errors in the \nlogs. \nbase Map Inherit the configurations of a base YAML file into \nyour parent file.","metadata":{"loc":{"lines":{"from":412,"to":435}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"sourcePayload Map You can use this to define the source of your test \nscripts so that the scripts can directly be fetched \nfrom your git directly for execution on \nHyperExecute. \nhostsOverride List of \nMaps \nIf you want to add custom domain mappings in \nlocal DNS entry. \nframeworkStatusOnly Boolean Set status of scenario based on it’s tests status / \nremarks. \nvars Map Here we define all the variable which can be refer \nin other parts of yaml. You can use these variables \nin the YAML file as ${your_variable_name}. \ntestRunnerExecutor String To switch the test execution from powershell to the \ncommand line. \nworkingDirectory Path of \nLocation \nThis flag determines where test discovery and \nexecution commands operate, including the \ncreation of associated files or directories. \ncaptureScreenRecordingForScenari\nos \nbool If this key is set to true, the video will be recorded \nfor whole scenario execution \nbuildConfig Map For managing the Hyperlink behaviour.","metadata":{"loc":{"lines":{"from":437,"to":461}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"captureScreenRecordingForScenari\nos \nbool If this key is set to true, the video will be recorded \nfor whole scenario execution \nbuildConfig Map For managing the Hyperlink behaviour. \nmatrixEnvPrefix Boolean This flag is used to prefix env variables with \nHE_ENV_ being set when you run a job in \"matrix\" \nmode. Default is false. \ndynamicAllocation Boolean This flag dynamically allocate test cases to workers \nas they become available and ensures that all \navailable resources are used to run tests. \ncollectLocalGitData Boolean This flag is used to store the git diff data related to \nthe repository used to run HyperExecute Jobs. \nsmartGrid Boolean When enabled, it will reduce the browser setup \ntime in case of windows. \nscenarioCommandStatusOnly Boolean When enabled, it will mark the scenario as passed \neven if no test is associated with it or will mark the \nstatus of scenario based on the status of the last \ntest executed.","metadata":{"loc":{"lines":{"from":457,"to":475}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"even if no test is associated with it or will mark the \nstatus of scenario based on the status of the last \ntest executed. \ncypress Boolean This is required to be true in case user is running \nCypress test suite. \ncypressOps Map This map is used to pass cypress specific options.","metadata":{"loc":{"lines":{"from":473,"to":478}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"shell String Defines the shell on which all your commands \nshould run. \ndataJsonPath Array of \nString \nDataJsonPaths helps to distribute data over VMs \nbased on different Jsons. \ndataJsonBuilder Array of \nString \ndataJsonBuilder flag reads the data from your \nspecified JSON files for distributed testing \nscenarios. \nstrict Boolean If strict is set to true in yaml then the variables used \nin yaml must be present in either vars or \nenvironment variables on the user machine. \ncodeDirectory String Defines in which directory all of your commands \ndefined in yaml would run. Your code would be \ndownloaded in this directory. \npreDirectives Map Similar to pre with option to retry and specify shell. \npostDirectives Map Similar to post with option to retry. \nalwaysRunPostSteps Boolean Execute the Post Steps in every scenario case \ncacheTestURL Boolean It enables users to cache static test files. \nproject String Segregate data at a project/repo level","metadata":{"loc":{"lines":{"from":480,"to":501}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"alwaysRunPostSteps Boolean Execute the Post Steps in every scenario case \ncacheTestURL Boolean It enables users to cache static test files. \nproject String Segregate data at a project/repo level  \nslackChannel String Allows you to receive notifications of your Job \nupdates directly in your preferred Slack channel. \nafterEachScenario List of \nStrings \nAllows you to trigger your define tasks after each \ntest scenario. \n-------------------------------------------------------------------------------------------------------------------------- \nGenerate your HyperExecute YAML file \nYou can also generate the HyperExecute YAML directly from the HyperExecute Portal. To accomplish \nthis, follow the below mentioned steps: \nStep 1: Go to HyperExecute dashboard, click on the Help Center and select Generate YAML from the \ndropdown. \nStep 2: Select your preferred test automation framework. \nStep 3: You will be redirected to the configuring section, where you can configure the HyperExecute","metadata":{"loc":{"lines":{"from":499,"to":515}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"dropdown. \nStep 2: Select your preferred test automation framework. \nStep 3: You will be redirected to the configuring section, where you can configure the HyperExecute \nYAML parameters. Click on Generate YAML button. \nStep 4: Once done, you can download the YAML file using the small icon on top. Alternatively, you can \ncopy the contents of the file and modify them further according to your needs on your favorite IDE. \nSample HyperExecute YAML  \nA sample HyperExecute YAML file looks like this:","metadata":{"loc":{"lines":{"from":513,"to":520}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n--- \nversion: 0.1 \nrunson: linux \nautosplit: true \nconcurrency: 2 \npre: \n - mvn dependency:resolve \ntestDiscovery: \n type: raw \n mode: static \n command: grep 'test name' xml/testng_linux.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/>//g' \ntestRunnerCommand: mvn test -Dplatname=linux -Dmaven.repo.local=./.m2 dependency:resolve \n-DselectedTests=$test \nretryOnFailure: true \nmaxRetries: 1 \njobLabel: [selenium-testng, linux, v1, autosplit] \n-------------------------------------------------------------------------------------------------------------------------- \nDeep Dive into HyperExecute YAML \nThis document contains detailed explanations for all YAML flags, providing an in-depth understanding of \neach configuration parameter. \nMandatory Parameters  \nversion  \nThe version of HyperExecute YAML being used to run the tests. Currently there are two supported \nversions are 0.1 and 0.2. \n \nversion: 0.1 \n \nrunson","metadata":{"loc":{"lines":{"from":522,"to":553}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Mandatory Parameters  \nversion  \nThe version of HyperExecute YAML being used to run the tests. Currently there are two supported \nversions are 0.1 and 0.2. \n \nversion: 0.1 \n \nrunson  \nIn this flag, you will define your required Operating System on which you want to run your tests. \nCurrently we support linux, mac (macOS Monterey), mac13 (macOS Ventura), win (Windows 10) and \nwin11 (Windows 11). \n \nrunson: linux # mac, mac13, win, win11 \nIf you want to run a multi OS job, you can use matrix method as shown below \n \nrunson: ${matrix.os}","metadata":{"loc":{"lines":{"from":546,"to":561}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nmatrix: \n os: [linux, mac, mac13, win, win11] \n \npre  \nAll actions you need to perform before each test execution, such as installing dependencies. You’ll ideally \nwant to use this parameter to \"pre\" run simple commands like npm install, yarn install, mvn install etc \n \npre: \n - npm install \n - mvn install \n Refer to \nglobalPre command to perform a common global setup for all your tasks, such as installing \ndependencies or configuring environments. \n \nAutoSplit Mode Parameters  \nautosplit  \nAuto-Split mode automatically splits your scenarios among the concurrent number of tasks and executes \nthem parallelly. This ensures optimal utilization of resources and significantly reduces the overall \nexecution time of your test suite. \nFor instance, if you have a concurrency of 10 and you want to run 50 tests in total, AutoSplit mode will \ndistribute these 50 tests on 10 VMs in the most efficient manner possible to reduce your overall job \nexecution time.","metadata":{"loc":{"lines":{"from":563,"to":587}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"distribute these 50 tests on 10 VMs in the most efficient manner possible to reduce your overall job \nexecution time. \nNote: In local mode, these commands will be smartly distributed among the VMs using history data, such \nthat each VM (task) gets to run for almost the same amount of time to reduce your total job time. \n \nautosplit: true   \n Take a closer look at the \nAutoSplit mode. \n \nconcurrency  \nThis indicates the total number of concurrent sessions that can run in parallel for processing your \ntest-cases. Your job will have as many virtual machines (tasks) as you have defined for this flag. \nif you are using the AutoSplit strategy then it is mandatory for you to define the concurrency. \n \nconcurrency: 10   \nPro Tip \n● After analyzing your test cases and usage patterns, the platform will automatically recommend \nthe optimal concurrency settings tailored to your needs. These recommendations are displayed in \nthe banner on the left-hand side. Learn more here.","metadata":{"loc":{"lines":{"from":586,"to":604}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n● You can see the overall concurrency trends using our analytics widgets. \n \ntestDiscovery  \nThis is used to locate or discover relevant tests via class names, filters, file names, etc. \n \ntestDiscovery: \n type: raw \n mode: local \n command: grep 'public class' src/test/java/hyperexecute/*.java | awk '{print$3}' \nIt contains the following attributes: \ntype  \n \n#(Recommended). When we are passing a command to discover tests. \ntype: raw   #or \n \n#(Advanced). For more advanced use cases. \ntype: automatic \ntype: raw \n● Purpose: Perform a basic test discovery based on the provided command. \n● Functionality: Directly executes the specified command and displays the discovered tests. \n● Limitations: Doesn't utilize any built-in logic or advanced discovery capabilities. \n● Suitable for: Simple test discovery scenarios where the command directly identifies the desired \ntests. \ntype: automatic \n● Purpose: Utilize backend logic to discover tests using external tools.","metadata":{"loc":{"lines":{"from":606,"to":633}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Suitable for: Simple test discovery scenarios where the command directly identifies the desired \ntests. \ntype: automatic \n● Purpose: Utilize backend logic to discover tests using external tools. \n● Functionality: Relies on a backend tool, such as Snooper, to perform test discovery. \n● Limitations: Cannot be used directly with a command-based approach. \n● Suitable for: Complex test discovery scenarios where advanced logic or external tools are \nrequired. \nIn summary, type:raw is a basic and straightforward approach for discovering tests based on a specified \ncommand, while type:automatic provides more flexibility and advanced capabilities by leveraging external \ntools and backend logic. \nmode  \nThis attribute defines where the test discovery occurs and how it is executed. HyperExecute now supports \nthree discovery modes: local, and remote. \n \n#test discovery happens on machine where CLI is running \nmode: local  #or","metadata":{"loc":{"lines":{"from":630,"to":646}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n# test discovery happens in designated HyperExecute VMs \nmode: remote \nmode: local \n● Purpose: Test discovery is performed locally on the machine where the CLI is running. \n● Use Case: Ideal for small projects or when tests need to be discovered locally. \n● Limitations: Requires dependencies installed locally and doesn’t support matrix-based \ndistributions. Debugging logs are generated locally, limiting visibility. \nmode: remote NEW \nThe remote discovery mode addresses the limitations of local modes. Instead of running test discovery on \nyour local machine (local), this mode centralizes the process by using a dedicated remote Virtual \nMachines. \nThis setup helps to ease the discovery process and makes it more efficient, especially for complex test \nsetups. Additionally, it fully supports matrix-based testing, which allows you to discover and manage tests \nacross different configurations more effectively. \nNOTE : type is not required with remote discovery. \nKey Features:","metadata":{"loc":{"lines":{"from":649,"to":666}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"across different configurations more effectively. \nNOTE : type is not required with remote discovery. \nKey Features:  \n● Centralized Discovery Tasks: Tests are discovered remotely in a Virtual Machines designed for \nthis purpose. Discovery tasks focus solely on identifying the tests without executing them, \noptimizing the discovery process. \n● Orchestration Support: Once tests are identified, orchestration algorithms ensure they are \nefficiently distributed across Virtual Machines, reducing idle time and improving resource \nutilization. \n● Matrix Support: Fully supports matrix configurations, allowing individual test discovery for each \nmatrix combination, particularly useful for YAML 0.2 runners. \n● Optimized Caching: Remote Discovery Mode reduces redundant cache operations by performing \nthem once in the discovery task, and sharing the cache across all Execution Tasks. This speeds \nup the overall process and minimizes resource wastage.","metadata":{"loc":{"lines":{"from":664,"to":677}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"them once in the discovery task, and sharing the cache across all Execution Tasks. This speeds \nup the overall process and minimizes resource wastage. \n● Code Caching: For users cloning their codebase via Git, Remote Discovery caches the code \nduring the discovery task, reducing Git rate limits and accelerating the execution tasks. \ncommand  \nThe command that fetches the list of test scenario that would be further executed using the value passed \nin testRunnerCommand \n \ncommand: grep 'public class' src/test/java/hyperexecute/*.java | awk '{print$3}' \ntip \n● Test orchestration will happen with mode: local only. \n● \n Learn how to perform \ndependent test discovery. \ntestRunnerCommand  \nThe testRunnerCommand used to run a single test entity in isolation. This entity could be a file, module, \nfeature, or scenario. It is defined in the YAML file and tells the system how to run the test entity.","metadata":{"loc":{"lines":{"from":676,"to":692}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\ntestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" -DOs=\"win 10\" \n \n# This command runs the test using Maven and passes in the options for Cucumber, the scenario \nto run, and the operating system to use. \n \nMatrix Mode Parameters  \nmatrix  \nThe matrix mode allows you to run the same set of tests across multiple combinations of environments, \nconfigurations, or parameters. This is particularly useful for ensuring that your software works correctly \nunder different conditions, such as various operating systems, browser versions, or dependency files. \n \nrunson: ${matrix.os} \n \nmatrix: \n os: [\"win\", \"mac\", \"linux\"] \n version: [\"latest, dev\"] \n browser: [\"Chrome\", \"Firefox\"] \n files: [\"@File1\",\"@File2\"] \n \nexclusionMatrix  \nThe exclusion matrix allows you to omit specific combinations of parameters from being tested. For \ninstance, if Safari on Windows is not a valid combination, you can exclude it using the exclusionMatrix","metadata":{"loc":{"lines":{"from":695,"to":718}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"instance, if Safari on Windows is not a valid combination, you can exclude it using the exclusionMatrix \nparameter, ensuring that invalid or irrelevant test combinations are skipped. \n \n#runson defines the OS of your test execution node. \nrunson: ${matrix.os} \n \nmatrix: \n # Browser version(s) separated by Comma \n version: [\"latest\"] \n # OS name sepataed by Coma \n os: [\"win\", \"mac\", \"linux\"] \n # Browser name separated by Comma \n browser: [\"Chrome\", \"Firefox\", \"Safari\"] \n # Test Files separated by Comma \n files: [\"@File1\",\"@File2\",\"@File3\",\"@File4\"] \n \nexclusionMatrix: \n - os: [win]","metadata":{"loc":{"lines":{"from":718,"to":735}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n   browser: [\"Safari\"] \n   files: [\"@File2\",\"@File3\"] \n \ncombineTasksInMatrixMode  \nIn matrix mode, the concurrency flag is not recognized. Therefore, in order to use the limited \nconcurrencies that come with your license for a matrix-mode job, you need to set \ncombineTasksInMatrixMode to true. This will run the (matrix-multiplied) combinations as scenarios in the \nnumber of HyperExecute machines that was specified in concurrency, as opposed to using one machine \nper matrix combination. \nFor example, the below-mentioned YAML snippet will generate a total of 8 scenarios, and since the \nconcurrency is set to 2, these 8 scenarios will run in parallel on 2 HyperExecute machines. In each \nmachine (let's say each has 4 scenarios to execute), they will be running sequentially only. \nTotal Scenarios = [Entries in os List] x [Entries in browser List] x [Entries in Files List] \n \nconcurrency: 2 \ncombineTasksInMatrixMode: true \n \nmatrix: \n  os: [\"mac\", \"linux\"]","metadata":{"loc":{"lines":{"from":737,"to":758}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Total Scenarios = [Entries in os List] x [Entries in browser List] x [Entries in Files List] \n \nconcurrency: 2 \ncombineTasksInMatrixMode: true \n \nmatrix: \n  os: [\"mac\", \"linux\"] \n  browser: [\"edge\", \"brave\"] \n  files: [\"Test1\", \"Test2\"] \ntestSuites  \nA command to run the tests that were mentioned in the scenario key for matrix based test execution. \n \ntestSuites: - mvn test -Dtest=$files \n \nHybrid Mode Parameters  \nparallelism  \nparallelism defines the number of virtual machines ('tasks') to be spawned in the case of hybrid mode. If \nyou are not defining the parallelism, then you must define operating system-specific parallelism (win, mac, \nand  Linux). If both are defined, then preference will be given to OS-based parallelism. \n \nrunson: {matrix.os} \nparallelism: 2 \n \nmatrix:","metadata":{"loc":{"lines":{"from":752,"to":775}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nos: [win, mac] \nversion: [1, 2, 3] \nbrowser: [chrome] \nIn the above example we have total of 3 combinations for each os i.e. \nFor win: \nVersion: 1, Browser: Chrome \nVersion: 2, Browser: Chrome \nVersion: 3, Browser: Chrome \n \nFor mac: \nVersion: 1, Browser: Chrome \nVersion: 2, Browser: Chrome \nVersion: 3, Browser: Chrome \nSo each combination will run on a parallelism provided in the yaml. Here all combinations will run on a \nparallelism of 2. \nPlatform specific parallelism -> macParallelism, winParallelism, and linuxParallelism  \nIf you want to provide different parallelism for macOS, linux and windows. If any of the specific operating \nsystem parallelism is not present it will consider the parallelism as the default value. \n \nparallelism: 2 \nlinuxParallelism: 2 \nwinParallelism: 1 \nmacParallelism: 3 \n \nmatrix: \nos: [win, mac] \nversion: [1, 2, 3] \nbrowser: [chrome] \nIn the above example linux combinations will run on a parallelism on 2, windows combinations will run on","metadata":{"loc":{"lines":{"from":777,"to":807}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"macParallelism: 3 \n \nmatrix: \nos: [win, mac] \nversion: [1, 2, 3] \nbrowser: [chrome] \nIn the above example linux combinations will run on a parallelism on 2, windows combinations will run on \na parallelism on 1, and mac combinations will run on a parallelism defined of 3. \ntestRunnerCommand  \nThe testRunnerCommand used to run a single test entity in isolation. This entity could be a file, module, \nfeature, or scenario. It is defined in the YAML file and tells the system how to run the test entity. \n \ntestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" -DOs=\"win 10\" \n \n# This command runs the test using Maven and passes in the options for Cucumber, the scenario \nto run, and the operating system to use. \nPlatform specific testRunnerCommand  \nIn hybrid mode, you can run your tests on multiple operating system using the same yaml. You can \nprovide different testRunnerCommand for macOS, linux and windows.","metadata":{"loc":{"lines":{"from":801,"to":819}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nIf any of the specific operating system testRunnerCommand is not present it will consider the \ntestRunnerCommand as the default value. \n \ntestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" -DOs=\"win 10\" \nlinuxTestRunnerCommand: mvn test `-Dcucumber.options=\"$test\"`  `-Dscenario=\"$test\"`   \n`-DOs=\"linux\"` \nwinTestRunnerCommand: mvn test `-Dcucumber.options=\"$test\"` `-Dscenario=\"$test\"`  \n`-DOs=\"win 10\"` \nmacTestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" -DOs=\"mac\" \n \nBasic Parameters  \ncacheKey  \nIt is a unique identifier that enables HyperExecute to store and retrieve cached results efficiently. \nHyperExecute generates a hash value for the files specified in the cacheKey and checks the database to \nsee if an entry with this hash already exists. \nIf an entry exists and the dependencies haven't changed, HyperExecute reuses the cached directives. If","metadata":{"loc":{"lines":{"from":821,"to":840}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"see if an entry with this hash already exists. \nIf an entry exists and the dependencies haven't changed, HyperExecute reuses the cached directives. If \nno entry exists, a new one is created. Upon successful job completion, the directives are cached for future \nuse. This process avoids redundant downloads of dependencies, ensuring faster test execution. \n \ncacheKey: '{{ checksum \"pom.xml\" }}' \ntip \nIf you also use Windows, you can use forward slashes to specify the cache file's path if your file is inside \none of the directories, as demonstrated below: \n \ncacheKey: {{ checksum \"dir1/dir2/package-lock.json\" }} \ncacheDirectories  \nIt is used to cache files that do not change frequently, such as dependency files for your tests (e.g., \nnode_modules, .m2). By caching these files, HyperExecute can significantly speed up your test execution \ntime in subsequent runs. \n \ncacheDirectories: \n - .m2 \ninfo","metadata":{"loc":{"lines":{"from":839,"to":857}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"node_modules, .m2). By caching these files, HyperExecute can significantly speed up your test execution \ntime in subsequent runs. \n \ncacheDirectories: \n - .m2 \ninfo \nIn version 0.2 YAML, the support for caching is by default, you don't have to specify any directories to \ncache for faster performance. For example, in Maven, we cache the entire .m2 directory in the home \nfolder so that subsequent tasks run faster.","metadata":{"loc":{"lines":{"from":852,"to":860}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nIf you add the cacheDirectories and cacheKey keys in your YAML file, then the default caching gets \ndisabled and preference is given your specified cache. \n \ncacheKey: '{{ checksum \"pom.xml\" }}' \ncacheDirectories: \n - .m2 \n \nenv  \nThis is helpful to set environment variables on the machine and use it in your code or install \ndependencies to run your test cases. \n \nenv: \n USERNAME: abc \n PLATFORM: windows \n \nruntime  \nThe runtime flag is used to: \n● Download and install the dependent language and framework that is needed to execute your \ntests. \n● You can provide the language and the version you want to be installed. \ninfo \nCurrent Languages Supported: maven, java, dotnet, node, ruby, android-sdk, katalon and python \n Check the \nsupported versions of all the languages along with the respective operating system. \n \nruntime: \n - language: java \n   version: \"11\" \n● You can also install gauge and gradle only as an additional frameworks or tools independent of","metadata":{"loc":{"lines":{"from":862,"to":894}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"runtime: \n - language: java \n   version: \"11\" \n● You can also install gauge and gradle only as an additional frameworks or tools independent of \nthe language defined. \n \nruntime: \n - language: java \n   version: 11 \n   addons: \n     - name: \"gauge\" \n       version: \"1.4.0\"","metadata":{"loc":{"lines":{"from":891,"to":902}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n     - name: \"gradle\" \n       version : \"7.0\" \n● You can also provide multiple languages and their specified versions that you want installed on \nyour machine. \n \nruntime: \n - language: java \n   version: '17' \n   addons: \n     - name: gauge \n       version: '1.5.6' \n     - name: gradle \n       version: '7.6' \n - language: python \n   version: '3.10' \n - language: node \n   version: '16' \n \nretryOnFailure  \nThis allows you to configure automatic retries for failed test scenarios. When set to true (retryOnFailure: \ntrue), tests will be retried based on the maxRetries value specified. The default setting is false. \nThis feature eliminates the need to rerun the entire job to verify if a test scenario is genuinely failing or \nencountering an intermittent issue. By enabling retryOnFailure, you can promptly retry tests upon failure, \nhelping determine if the test consistently fails or passes in subsequent attempts.\" \n \nretryOnFailure: true \n \nmaxRetries","metadata":{"loc":{"lines":{"from":904,"to":934}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"helping determine if the test consistently fails or passes in subsequent attempts.\" \n \nretryOnFailure: true \n \nmaxRetries  \nThe maxRetries key defines the number of retries allowed for a failed test scenario. It is used in \nconjunction with the retryOnFailure key. When retryOnFailure is set to true, maxRetries specifies how \nmany times each test will be retried upon failure. \nWith maxRetries and retryOnFailure, you don't need to rerun the entire job to retry failed test scenarios. \nInstead, your tests are automatically retried immediately after a failure, allowing you to determine if they \npass in subsequent attempts. \nYou can set a value between 1 and 5 for maxRetries, indicating the maximum number of retries for your \ntests.","metadata":{"loc":{"lines":{"from":930,"to":942}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nretryOnFailure: true \nmaxRetries: 2 \n \npost  \nThis parameter is used for executing actions after every test execution, such as printing an output file or \nuploading a report via a curl API request. It's ideal for performing post-run tasks. \n \npost: \n - echo <some-dir>/output/output.log \n - curl https://www.example.com \n Refer to \nglobalPost command to perform a common global setup for all your tasks, such as clean up \ntasks and or killing the environments. \n \nreport  \nThis allows you to generate a consolidated report across the VMs. To use this feature, provide report: \ntrue, and the relative path of the data where it is expected to store and generate the reports after your test \nexecution. You can also define the type and frameworkName of the report inside partialReports as shown \nin below example. \n \nreport: true \npartialReports: \nlocation: target/surefire-reports/html \ntype: html \nframeworkName: extent","metadata":{"loc":{"lines":{"from":945,"to":972}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"in below example. \n \nreport: true \npartialReports: \nlocation: target/surefire-reports/html \ntype: html \nframeworkName: extent \nIt helps you to view the report on the dashboard itself. You can download the report either from the jobs \ndetail page or you can pass-–download-report flag in the job triggering command from HyperExecute CLI. \ninfo \nIf you want to generate multiple reports of different types supported by HyperExecute: \n \npartialReports: \n - location: reports/json \n   type: json \n   frameworkName: extent-native \n   email: \n       to: \n         - johndoe@example.com","metadata":{"loc":{"lines":{"from":966,"to":984}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n - location: target/surefire-reports \n   type: html \n   frameworkName: testng \n   email: \n       to: \n         - johndoe@example.com \nnote \nSet defaultReport as false in the framework if you are using YAML version 0.2 and you want to generate a \nreport using partialReports as shown below. \n \nframework: \n name: maven/testng \n defaultReports: false \ntip \n● \n Take a closer look at the \nHyperExecute Reports \n● Understand how you can email the generated report \n● How you can generate different types of report based on your requirements \n \nerrorCategorizedOnFailureOnly  \nThe errorCategorizedOnFailureOnly flag allows you to control the behavior of error categorization after \nyour job is executed based on the status of your stage. By default, error categorization is applied to each \nstage, regardless of it's status. This means that error categorization is generated for every stage, whether \nit succeeds or fails.","metadata":{"loc":{"lines":{"from":986,"to":1013}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"stage, regardless of it's status. This means that error categorization is generated for every stage, whether \nit succeeds or fails. \nWhen you enable this flag as mentioned below, the error categorization will only be generated for stages \nthat are not passed. \n \nerrorCategorizedOnFailureOnly: true \n \nerrorCategorizedReport  \nThe errorCategorizedReport flag is used to export a RCA report that has been generated by the failed \ntests. \n \nerrorCategorizedReport: \n enabled: true \nRefer to the Error Categorized Report documentation for detailed instructions on generating this RCA \nreport.","metadata":{"loc":{"lines":{"from":1012,"to":1026}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n \njobLabel  \nThe jobLabel YAML key is used to add tags or labels to jobs. This allows you to search your jobs using \nthe labels or tags assigned to them. \nPrioritize Your Job Pipeline  \nTo prioritize your jobs, you need to add the required priority to the jobLabel key in the YAML file e.g high, \nlow, and 'medium'. With 'high' priority jobs triggered first, followed by 'medium' priority jobs and finally 'low' \npriority jobs. The values are case insensitive and the default priority is 'medium'. \nYou can also use it along with your existing job labels like this: \n \njobLabel: ['chrome', 'linux', 'low'] \n \nAdvanced Parameters  \nmergeArtifacts  \nIt is used to combine the artifacts created under each task to one. \n \nmergeArtifacts: true \n \nuploadArtefacts  \nIt uploads the artifacts generated from running the tests, these artifacts are uploaded, preserved and can \nbe downloaded once the job ends. \n \nuploadArtefacts:","metadata":{"loc":{"lines":{"from":1028,"to":1053}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"uploadArtefacts  \nIt uploads the artifacts generated from running the tests, these artifacts are uploaded, preserved and can \nbe downloaded once the job ends. \n \nuploadArtefacts: \n \n# Will upload your reports from target/site/** to HyperExecute as FinalReport \n - name: FinalReport \n   path: \n   - target/site/** \n \n # Will upload your Surefire reports from target/surefire-reports/**to HyperExecute as Surefire \nReport \n - name: Surefire Report \n    path: \n    - target/surefire-reports/** \nYou can use the flag --download-artifacts-zip to download the single zip file for all the artifacts that are \ngenerated. \n \nglobalPre","metadata":{"loc":{"lines":{"from":1049,"to":1068}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nThe globalPre flag allows you to define a pre-execution step that runs once before any of your tasks \nstarts. This flag ensures that all necessary setup tasks, such as installing dependencies, configuring \nenvironments, or initializing resources, are completed before test execution begins. \nFunctionality  \n● Runs before any test execution starts, ensuring the environment is properly configured. \n● Executes on a separate machine (VM) or the local machine, based on the test discovery mode \nselected. \n● Useful for setup tasks, such as fetching credentials, initializing databases, or downloading \nrequired files. \nLimitations  \n● This feature is supported in YAML version 0.1 and 0.2 only. \n● remote mode is not supported for XCUI and Espresso framework jobs. Default mode for these \nframeworks is local. \nhyperexecute.yaml \n \nglobalPre: \n mode: remote #local or remote \n commands: \n   - \"echo 'Setting up environment'\" \n   - \"apt-get update && apt-get install -y curl\"","metadata":{"loc":{"lines":{"from":1070,"to":1091}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"frameworks is local. \nhyperexecute.yaml \n \nglobalPre: \n mode: remote #local or remote \n commands: \n   - \"echo 'Setting up environment'\" \n   - \"apt-get update && apt-get install -y curl\" \n   - \"curl -X POST https://api.example.com/init\" \n runson: win \n cache: true \ninfo \nYou can also use beforeAll as an alias for the globalPre command: \n \nbeforeAll: \n commands: \n   - \"apt-get update && apt-get install -y curl\" \n mode: remote \n runson: win \n cache: true \nParameters  \nParameter Type Description \nmode string Defines where the pre-step commands will be executed. \nOptions: local or remote. Default mode is remote. \ncommands list List of shell commands to execute before test execution begins.","metadata":{"loc":{"lines":{"from":1084,"to":1108}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nrunson string It specifies the operating system on which all the task would run in case of \nremote mode. By default, it is set to linux. \ncache boolean It is used to cache the payload after all commands have executed. It is useful \nin cases like: \n - If you want to made some modification in the payload at runtime by \nexecuting some set of commands. \n - If the payload is fetched from git source. By caching the payload, git \nrate limiting can be avoided as the payload will only be fetched once per job \nwith cache: true. \nDifference between globalPre and pre flags  \nScenario globalPre pre \nPurpose Global setup (e.g., install dependencies, \ninitialize environment) \nTask-specific setup (e.g., prepare \ntest data) \nExecution \nFrequency \nExecutes once per entire test execution Executes once per task \nExecution \nLocation \nSeparate VM or local machine Inside the task environment \nExample Usage apt-get update, docker pull export ENV=staging \n \nglobalPost","metadata":{"loc":{"lines":{"from":1110,"to":1134}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Execution \nLocation \nSeparate VM or local machine Inside the task environment \nExample Usage apt-get update, docker pull export ENV=staging \n \nglobalPost  \nThe globalPost flag defines a post-execution step that runs once after all tasks have completed. This step \nensures that cleanup tasks, such as removing temporary files, logging results, or notifying external \nsystems, are performed after test execution. \nFunctionality  \n● Runs after all test execution is completed, ensuring final cleanup and reporting. \n● Executes on a separate machine (VM) or the local machine, based on the mode selected. \n● Useful for cleanup tasks, such as deleting test artifacts, summarizing reports, or deallocating \ncloud resources. \nLimitations  \n● This feature is supported in YAML version 0.1 and 0.2 only. \n● remote mode is not supported for XCUI and Espresso framework jobs. Default mode for these \nframeworks is local. \nhyperexecute.yaml \n \nglobalPost: \n mode: remote #local or remote \n commands:","metadata":{"loc":{"lines":{"from":1129,"to":1151}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● remote mode is not supported for XCUI and Espresso framework jobs. Default mode for these \nframeworks is local. \nhyperexecute.yaml \n \nglobalPost: \n mode: remote #local or remote \n commands: \n   - \"echo 'Cleaning up test environment'\" \n   - \"rm -rf /tmp/test-results\"","metadata":{"loc":{"lines":{"from":1145,"to":1153}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n   - \"curl -X POST https://api.example.com/cleanup\" \n runson: linux \ninfo \nYou can also use afterAll as an alias for the globalPost command: \n \nafterAll: \n commands: \n   - \"curl -X POST https://api.example.com/cleanup\" \n mode: local \n runson: linux \nParameters  \nParameter Type Description \nmode string Defines where the post-step commands will be executed. \nOptions: local or remote. Default mode is remote. \ncommands list List of shell commands to execute after test execution completes. \nrunson string It specifies the operating system on which all the task would run in case of \nremote mode. By default, it is set to linux. \nDifference between globalPost and post flags  \nScenario globalPost post \nPurpose Global cleanup (e.g., remove logs, \nfinalize reports) \nTask-specific cleanup (e.g., delete \ntemporary files) \nExecution \nFrequency \nExecutes once after all tasks complete Executes once per task \nExecution \nLocation \nSeparate VM or local machine Inside the task environment","metadata":{"loc":{"lines":{"from":1155,"to":1184}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"temporary files) \nExecution \nFrequency \nExecutes once after all tasks complete Executes once per task \nExecution \nLocation \nSeparate VM or local machine Inside the task environment \nExample Usage rm -rf /logs, curl -X POST ... rm -rf temp/* \n \ncaptureScreenRecordingForScenarios  \nIf this key is set to true, it will record whole scenario execution, and then video is accessible from your \nHyperExecute dashboard. This can be majorly used for non selenium based tests to have the recorded \nvideo of the whole scenario.","metadata":{"loc":{"lines":{"from":1178,"to":1190}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n \ncaptureScreenRecordingForScenarios: true \ninfo \nTo avoid test failures, ensure the video capability is false before enabling the \ncaptureScreenRecordingForScenarios flag in your YAML file. If both video capability and \ncaptureScreenRecordingForScenarios flag is set to true simultaneously, the tests will fail. To prevent this \nconflict, always pass the capability \nvideo: false in your tests. \n \nskipArtifactStageIfNoTest  \nIt is used to gracefully handle the scenario stage inside the tasks in which there are no selenium/cdp tests \nexecuted. Instead of marking the artifact stage as failed (if artifacts are not found at the defined location, \nHyperExecute marks it as failed) and hence the task and job as failed, the stage would be marked as \nskipped and hence task and job as skipped. \n \nskipArtifactStageIfNoTest: true \n \nglobalTimeout  \nThe globalTimeout value determines the maximum duration (in minutes) of a Job . It can be set between","metadata":{"loc":{"lines":{"from":1192,"to":1214}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"skipped and hence task and job as skipped. \n \nskipArtifactStageIfNoTest: true \n \nglobalTimeout  \nThe globalTimeout value determines the maximum duration (in minutes) of a Job . It can be set between \n1 and 150 minutes, and has a default value of 90 minutes. \nFor example, if you set the globalTimeout to 120 minutes, a Job that exceed this duration will be \nautomatically terminated. If you’re expecting that running all your test-cases despite parallelism is going to \ntake more than 90 mins, set it to an appropriate value, for example, 120. If you have tests that run for \nlonger than the maximum limit of 150 minutes, you need to get in touch with our support team. \n \nglobalTimeout: 90   \n \nfailFast  \nFailFast feature allows you to stop running your tests in case there is a series of tests failure. failFast flag \ncan be used to abort your job if the number of consecutive test failures for that job(jobID) across multiple \ntasks equals or exceeds the maxNumberOfTests value. \n \nfailFast:","metadata":{"loc":{"lines":{"from":1209,"to":1228}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"can be used to abort your job if the number of consecutive test failures for that job(jobID) across multiple \ntasks equals or exceeds the maxNumberOfTests value. \n \nfailFast: \n maxNumberOfTests: 2 \nIn case retryOnFailure flag is enabled in yaml, then there will be multiple retries for a failed test. In that \ncase, only the failure of last retry will be considered to increment the test failure count. \n \nbase","metadata":{"loc":{"lines":{"from":1225,"to":1233}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nThis feature allows you to use one YAML as a base for another YAML file. By inheriting the configurations \nof the base (or parent) YAML file, you don't need to specify those fields in the inheriting (child) file again. \nLearn more. \n \nbase: \n yamls: \n   - ./<baseConfiguration1.yaml> \n   - ./<baseConfiguration2.yaml> \n \nsourcePayload  \nYou can use this flag to use to define the source of your test scripts so that the scripts can directly be \nfetched from your git directly for execution on HyperExecute. Your test code is directly sourced from your \nGit provider with the help of secure access tokens and only your HyperExecute YAML file is encrypted \nand uploaded through the HyperExecute CLI. To learn more about how this feature works, go through this \npage. \n \nsourcePayload: \n platform: git \n link: https://-------- \n ref: master \n accessToken: <your_personal_access_token> \n commit: <optional> \n \nhostsOverride","metadata":{"loc":{"lines":{"from":1235,"to":1261}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"page. \n \nsourcePayload: \n platform: git \n link: https://-------- \n ref: master \n accessToken: <your_personal_access_token> \n commit: <optional> \n \nhostsOverride  \nThis field allows you to add domain mappings which are required to be added in the local DNS entry \nrepresented by the /etc/hosts file. This is required if you want to map a custom domain name to an ip \n(local or otherwise) so that any requests on this domain name resolves to the provided ip on \nHyperExecute machines where your tests are running. For instance, suppose for a domain \n\"example.com\", global DNS is having the entry which resolves the network call to the public IP address. \nWith hostsOverride flag you can explicitly route the network call to a local IP address, instead of allowing \nthe call to go through a public IP address. \n \nhostsOverride: \n - host: example.com \n   ip: 127.0.0.1 \n - host: example1.com \n   ip: 127.0.0.1 \n \nframeworkStatusOnly","metadata":{"loc":{"lines":{"from":1252,"to":1276}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nSet status of scenario based on framework tests status. For instance, if you run a job where the \nframework uses lambda hooks to mark the status of tests and you want the status of the scenario to be \nbased on the status of the tests, you need to set frameworkStatusOnly : true in the yaml. This flag will \nconsider the status of the tests and will use this status to mark the status of scenarios giving you the \nability to control the status of stages based on test status. \n \ntestSuiteTimeout  \nIt is used to set the timeout on all scenario stages in a task. If defined, your complete test suite should get \nexecuted within this time. Its max value is 150 minutes. If you want to increase this time beyond the \ndefault maximum limit of 150 minutes, you need to contact the support team. \n \ntestSuiteTimeout: 30   \nIn the above example, your scenario stage should finish within 30 mins otherwise the task and Job would \nget marked as timed out after 30 minutes of execution.","metadata":{"loc":{"lines":{"from":1278,"to":1294}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"testSuiteTimeout: 30   \nIn the above example, your scenario stage should finish within 30 mins otherwise the task and Job would \nget marked as timed out after 30 minutes of execution. \n \ntestSuiteStep  \nIt is used to timeout individual scenario stages in a task. Each scenario in separate tasks should get \ncompleted before this time. If you want to increase this time beyond the default maximum limit of 150 \nminutes, you need to contact the support team. \n \ntestSuiteStep: 15   \nIn the above example, if any of your scenario stages take more than 15 minutes to execute, then it will get \ntimed out . \n \nretryOptions  \nRegular Expressions provides more granular control over when test retries are triggered. You can achieve \nthis through retryOptions flag. \n● You can specify precise error patterns using regular expressions to determine which errors should \ninitiate retries. \n● It works seamlessly with Cypress, CDP, and Selenium framework tests. \n● It is supported in both YAML 0.1 and 0.2","metadata":{"loc":{"lines":{"from":1292,"to":1311}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"initiate retries. \n● It works seamlessly with Cypress, CDP, and Selenium framework tests. \n● It is supported in both YAML 0.1 and 0.2 \nConfiguration:  \n● Set retryOnFailure: true to activate the retry feature. \n● Indicate the maximum number of retry attempts with maxRetries: <number>. \n● Within the retryOptions section, create an errorRegexps array to list the regular expressions that \nrepresent the errors you want to trigger retries. \n \nretryOnFailure: true \nmaxRetries: 3 \nretryOptions:","metadata":{"loc":{"lines":{"from":1309,"to":1320}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n errorRegexps: [\"org.openqa.selenium.NoSuchElementException\"] \n \npreDirectives  \nThis is an advanced version of pre where you can control how your pre commands should be executed in \na parallel HyperExecute Task. If both pre and preDirectives flags are provided at the same time, then the \nprecedence is given to the preDirectives flag. preDirectives currently has the ability to take the following \nadditional inputs: \n● maxRetries: You can retry the commands that failed in the pre-step by using this directive. The \nnumerical value assigned to this field determines the amount of times you can retry the failed pre \ncommands. \n● commands: The actual commands that needs to run like npm install or mvn install \n● shell: shell to execute the commands under. This is typically helpful if you want to run your pre \ncommands in a specific shell. For example, powershell for Windows or bash for Linux and \nMacOS.","metadata":{"loc":{"lines":{"from":1322,"to":1337}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● shell: shell to execute the commands under. This is typically helpful if you want to run your pre \ncommands in a specific shell. For example, powershell for Windows or bash for Linux and \nMacOS. \n● workingDirectory: This specifies the location of the directory in which all test discovery and \nexecution commands will run, as well as the location of any files or directories that are created as \na result of the command execution. \n \npreDirectives: \n   commands: ['mvn -Dmaven.repo.local=./.m2 dependency:resolve', sleep 60] \n   maxRetries: 0 \n   shell: \"\" \n   workingDirectory: \"\" \n \npostDirectives  \nThis is an advanced version of post where you can control \"how\" your post commands should be \nexecuted in a parallel HyperExecute Executor. If both post and postDirectives flags are provided at the \nsame time, then the precedence is given to the postDirectives flag. \npostDirectives currently has the ability to take the following additional inputs:","metadata":{"loc":{"lines":{"from":1335,"to":1352}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"same time, then the precedence is given to the postDirectives flag. \npostDirectives currently has the ability to take the following additional inputs: \n● commands: actual commands that needs to run like echo <some-dir>/output/output.log \n● shell: shell to execute the commands under. This is typically helpful if you want to run your post \ncommands in a specific shell. For example, powershell for Windows or bash for Linux and \nMacOS. (Coming Soon) \n● workingDirectory: This specifies the location of the directory in which all test discovery and \nexecution commands will run, as well as the location of any files or directories that are created as \na result of the command execution. \n \npostDirectives: \n   commands: [cat yaml/linux/v1/testng_hyperexecute_autosplit_sample.yaml] \n   shell: \"\" \n   workingDirectory: \"\"","metadata":{"loc":{"lines":{"from":1351,"to":1364}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n \nalwaysRunPostSteps  \nProblem : Test scenarios failing led to the cancellation of post-steps, being unable to upload reports, and \nother actions that you need to perform after all test executions. \nSolution : The alwaysRunPostSteps flag ensures that post-steps execute even if the scenario stage fails. \n \nalwaysRunPostSteps: true \n \nproject  \nThis flag is used to set the Name of your Projects which would later allow you to see all jobs of that \nProject at one place. \n \nproject: \n name: 'demo-project' #project name \nnote \nOnce you have created a project, you can either pass in your project ID or project name to trigger your job \non the same project. \n \nproject: \n name: 'demo-project' #project name \n id: '1abc2345-56de-7890-f1cg-h2ij34k56789' #project id \n \n \n \ndifferentialUpload","metadata":{"loc":{"lines":{"from":1366,"to":1393}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nWhen you are working with relatively large codebases, and constantly updating and upgrading your test \nscripts. Getting them onto the HyperExecute platform for every run might consume extra time. \nTo overcome this challenge, you can use differentialUpload flag, which is used to minimize the time taken \nto upload the codebase, especially when there are incremental changes. \nThis flag optimizes codebase uploads by fetching only the parts of the codebase that have been updated \nor newly added, significantly reducing upload times. \n● enabled (boolean): Set to true to activate the optimization, and false to maintain the default \nbehavior. \n● ttlHours (integer): Specifies the Time-To-Live (TTL) for the uploaded code. Users can control the \nduration for which the optimized upload remains active, with valid values ranging from 1 hour to \n360 hours. \nWhen you pass the differentialUpload flag, it ensures that whenever you upload the same codebase a","metadata":{"loc":{"lines":{"from":1395,"to":1408}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"360 hours. \nWhen you pass the differentialUpload flag, it ensures that whenever you upload the same codebase a \nsecond time with less than 75% changes, only the modified or new parts are fetched. The rest is mapped \nto the previously uploaded version of the codebase. This approach is beneficial in scenarios where \nnetwork issues or a large codebase contribute to slow upload times. \nNOTE: The default value for ttlHours is 60 hours \n \nproject: \n name: XYZ Name \ndifferentialUpload: \n enabled: #true/false \n ttlHours: #int value, with possible range of values [1 hour to 360 hours] \ninfo \nIf the project flag is not passed then the name for the project will be set to \"Default Project\". \nBy activating this feature, you can experience a significant reduction in upload times, enhancing the \nefficiency of running and debugging multiple jobs on HyperExecute. \nlinkValidity  \nThe linkValidity flag is used to customize the duration of validity for report and artifact URLs generated","metadata":{"loc":{"lines":{"from":1407,"to":1424}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"efficiency of running and debugging multiple jobs on HyperExecute. \nlinkValidity  \nThe linkValidity flag is used to customize the duration of validity for report and artifact URLs generated \nafter job completion. Currently URLs are inherently valid for 48 hours post-generation but you can tailor \nthe validity period to align with the specific requirements, ensuring you can access the associated \nresources within the defined timeframe. \nNote: If linkValidity is not defined or 0, then the default link validity to access the artifacts and reports is 2 \ndays. The maximum validity is 60 days. \n \nreport: true \n \npartialReports: \n location: target/surefire-reports/html \n type: html \n frameworkName: extent \n email: \n   to: \n     - johndoe@example.com \n   linkValidity: 5","metadata":{"loc":{"lines":{"from":1422,"to":1440}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n \n \nuploadArtefacts: \n - name: ExecutionSnapshots \n   path: \n     - <path of artifact> \n   email: \n     to: \n       - \n     linkValidity: 5 \n \nstripParentDirectory  \nWhen mergeArtifacts is true, providing this flag will strip the parent directory from all the downloaded \nartifacts and place the artifacts in the base path. \n \nstripParentDirectory: true \n \ngenerateArtifactAfterEveryStage  \nWith this flag artifacts will be generated after every stage,without this flag artifacts are generated after \nevery task and avoid any overrides for artifacts of the same name. \n \ngenerateArtifactAfterEveryStage: true \n \ntaskIdentifierInNonConflictingArtifacts  \nThis flag when set to true specifies that the task ID should be included in the non-conflicting artifacts. The \nnon-conflicting artifacts are those artifacts that can be safely shared between tasks. By default, the task \nID is not included in the non-conflicting artifacts.","metadata":{"loc":{"lines":{"from":1442,"to":1472}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"non-conflicting artifacts are those artifacts that can be safely shared between tasks. By default, the task \nID is not included in the non-conflicting artifacts. \n● When the taskIdentifierInNonConflictingArtifacts flag is set to true and the mergeArtifacts flag is \nalso set to true, the task ID will be appended to all the filenames of artifacts. This is done to \nensure that the artifacts can be uniquely identified. \n● For example, if you have a task that creates a file called index.html, and the \ntaskIdentifierInNonConflictingArtifacts flag is set to true, the file will be renamed to \nindex.html.task-id. This ensures that the file can be uniquely identified, even if it is merged with \nother files called index.html from other tasks. \n \nmergeArtifacts: true \ntaskIdentifierInNonConflictingArtifacts: true","metadata":{"loc":{"lines":{"from":1471,"to":1482}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n●  \nIf the taskIdentifierInNonConflictingArtifacts flag is set to false and the mergeArtifacts flag is set to \ntrue, the task ID will only be appended to the filename if the filename already exists. This is done \nto avoid appending the task ID to the filename of an artifact that already exists. \n● For example, if you have a task that creates a file called index.html, and the \ntaskIdentifierInNonConflictingArtifacts flag is set to false, the file will not be renamed. However, if \nyou have another task that also creates a file called index.html, the second task will rename its \nfile to index.html.task-id \n \nmergeArtifacts: true \ntaskIdentifierInNonConflictingArtifacts: false \n \nsmartGrid  \nIf enabled, it will try to reduce the browser setup time [currently only for windows]. Default value is false. \n \nsmartGrid: true \nAfter a test is run, it caches the browser name, version, and all the capabilities used for this particular","metadata":{"loc":{"lines":{"from":1484,"to":1502}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"smartGrid: true \nAfter a test is run, it caches the browser name, version, and all the capabilities used for this particular \nstate and test case. When running a test case, it tries to fetch from cache, which browser was used for \nthe next stage in the previous run, and launches that browser in the background. This makes sure that, \nwhen the next test is run, the browser session is already running. \nIf you feel that browser setup time is more than expected, you should enable this feature. However, \nplease note that it will reduce the browser setup time of the next test only if the current test takes enough \ntime to launch the browser for the next test in background. \nThis would work only for version 0.1 and local discovery mode. \nAs this is dependent on the previous run of a job, any change in the browser capability or test name or \ntest order might render the cache invalid. And browser setup time reduction might not be visible in this \nrun, rather, it would appear in the next run.","metadata":{"loc":{"lines":{"from":1501,"to":1512}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"test order might render the cache invalid. And browser setup time reduction might not be visible in this \nrun, rather, it would appear in the next run. \nNote : Currently this is available for Windows - edge, firefox, chrome - recent 5 versions. Linux and MAC \nare not supported currently. \n \nscenarioCommandStatusOnly  \nWhen enabled, it will mark the scenario as passed even if no test is associated with it or will mark the \nstatus of scenario based on the status of the scenario executed. This can be utilised for advanced use \ncases where teams want to define status in HyperExecute platform based on there needs of custom \nframeworks. \nThere are two scenarios associated with it: \nScenario 1: When Sessions do not open up for certain scenarios:  \n● For certain scenarios that do not open up a session hence no tests are associated with that \nscenario, because of this the scenario gets marked as skipped and the task as partially","metadata":{"loc":{"lines":{"from":1511,"to":1524}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● For certain scenarios that do not open up a session hence no tests are associated with that \nscenario, because of this the scenario gets marked as skipped and the task as partially \ncompleted. Need a way to mark those scenarios as completed/passed instead of skipped and \nsee a green tick instead of a grey tick. \nSolution : When scenarioCommandStatusOnly is set true in YAML, it will mark the task as passed even \nthough no test is associated to it. In the given screenshot task 8 is passed even though no test is \nassociated to it.","metadata":{"loc":{"lines":{"from":1523,"to":1529}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Scenario 2: When test cases are run n no of times:  \n● Some times a user might runs some test cases n no of times inherently due to framework retries \netc. Those test cases are considered as separate entries for us, and if one fails, scenario is \nmarked as failed and hence the task and job is marked as fail. Need a way to update status of the \ntask as if a test case first fails and then passes, it should be shown as passing and with green \ntick. Currently it shows as failed. \nSolution : When scenarioCommandStatusOnly is set true in YAML, it will mark the status of scenario as \npassed. \nTest Edge Case Working Case \nTest 1 Passes Passes \nTest 2 Failed Failed \nTest 2 Retry - (Actually Test 3 for us) Failed Passes \nTest 3 Passes Passes \nFinal Status of Stage Failed Success \nAs seen in the screenshot, when one of the tests is marked as failed while the other tests are marked as \npassed, the overall scenario is marked as passed.","metadata":{"loc":{"lines":{"from":1532,"to":1547}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \ncypress  \nThis option signifies that the test suite is a cypress test suite and should be pass as true in case of \ncypress suite. \n \ncypress: true \n \ncypressOps  \nThis parameter is used to pass cypress specific options from the CLI. Learn more \nAdditional options include: \n● Dedicated Proxy: This is a boolean parameter to be passed in cypressOps. When enabled user’s \ntraffic will be passed to a dedicated proxy server, this feature has to be enabled from customer \nsupport team. \n● Network: This is a boolean parameter which when set to true enables network proxy logs for the \ntest. \n● GeoLocation: This parameter is used to pass the test traffic through a specific geolocation. Value \nto be passed here is geolocation code \n● FullHar: This flag generates the HAR logs that offer a comprehensive view of your application's \nnetwork activity during testing. \n \ncypressOps: \n Build: \"Hyperexecute Cypress Sample Build\" \n Tags: [\"Hyperexecute\",\"Cypress\", \"Windows\", \"Matrix\"]","metadata":{"loc":{"lines":{"from":1549,"to":1573}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"network activity during testing. \n \ncypressOps: \n Build: \"Hyperexecute Cypress Sample Build\" \n Tags: [\"Hyperexecute\",\"Cypress\", \"Windows\", \"Matrix\"] \n BuildTags: [\"Hyperexecute-Cypress\"] \n Network: true","metadata":{"loc":{"lines":{"from":1569,"to":1575}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n FullHar: true \n geoLocation: IN \n \nshell  \nShell defines the shell/terminal type on which all of the commands defined under pre, post, \ntestRunnerCommand mentioned in yaml should run. If shell is also defined under PreDirectives then for \nPreDirectives command that shell would be used. \n \nshell: bash \n \ndataJsonPath  \nDataJsonPaths helps to distribute data/configs over the VMs. In this you can create a json files and put \nconfigurations/data required for your suite as json array inside the file. For example: \n \n[ \n{ \n \"Username\": \"user1\", \n \"Password\": \"pass1\" \n}, \n{ \n \"Username\": \"user2\", \n \"Password\": \"pass2\" \n} \n] \nTo access the data from the JSON files, there are primarily 2 methods: \n1. By reading the JSON file  \nIn the JSON file, we have a data object and not an array of objects, hence you can directly read the data \nfrom the file. \n \n{ \n \"Username\": \"user1\", \n \"Password\": \"pass1\" \n} \n2. Using via env variables","metadata":{"loc":{"lines":{"from":1577,"to":1613}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"from the file. \n \n{ \n \"Username\": \"user1\", \n \"Password\": \"pass1\" \n} \n2. Using via env variables  \nYou can use the env variables to access the defined parameters as:","metadata":{"loc":{"lines":{"from":1607,"to":1614}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nUnset\n \nSTATIC_DATA_1_<ParameterName> \nNOTE:- In the above syntax, 1 represents the file passed in the yaml file and not the data object within the \nfile. \nFor instance, to access data from file1.json, the syntax would be: \n \nSTATIC_DATA_1_Username \nSimilarly, to access the data from the second file i.e file2.json: \n \nSTATIC_DATA_2_Username \n \ndataJsonBuilder  \nThe dataJsonBuilder flag in the HyperExecute YAML file is used to facilitate efficient and distributed test \nexecution by processing JSON data. It reads JSON data from a specified file, applies optional filters, and \nindexes the JSON objects based on a defined key. This ensures that the data is prepared and distributed \naccording to the testing requirements, optimizing test execution across multiple environments. \nhyperexecute.yaml \n \ndataJsonBuilder: \n path: <path_to_json_file> \n index: <indexing_key> \n filters: \n   query: <filter_query> \n   attributes: \n     - key: <attribute_key>","metadata":{"loc":{"lines":{"from":1616,"to":1645}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"hyperexecute.yaml \n \ndataJsonBuilder: \n path: <path_to_json_file> \n index: <indexing_key> \n filters: \n   query: <filter_query> \n   attributes: \n     - key: <attribute_key> \n       values: [<value1>, <value2>, ...] \nConfiguration  \n● path (required) : Specifies the path to the JSON file containing the data. Example: \n●  \n● path: data/file/abc.json \n● index (optional) : Specifies the JSON key on which the indexing is required. Example:","metadata":{"loc":{"lines":{"from":1637,"to":1651}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n●  \n● index: username \n● filters (optional) : Applies filtering on the JSON objects before indexing. Either query or attributes \ncan be used, if both are mentioned then the attributes will have higher precedence. \n○ query: These are used for more complex filtering operations. If both attributes and \nqueries are provided, attributes take precedence. This means that if there’s a conflict, the \nfilter based on attributes will be used. Example: \n○  \n○ query: (username == \"abc\" or username == \"bcd\") \n○ attributes: These are key-value pairs used for filtering. You can provide a list of attributes \nwith their corresponding values, and the filtering will include only those JSON objects \nwhere each specified attribute matches one of the provided values. Attributes are applied \nwith an \"AND\" logic between different keys and an \"OR\" logic within the same key. \nExample: \n○  \n○ attributes: \n○  - key: username \n    \nvalue: [\"abc\", \"bcd\"] \n  \n- key: tags","metadata":{"loc":{"lines":{"from":1653,"to":1677}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"with an \"AND\" logic between different keys and an \"OR\" logic within the same key. \nExample: \n○  \n○ attributes: \n○  - key: username \n    \nvalue: [\"abc\", \"bcd\"] \n  \n- key: tags \n    \nvalues: [\"@x\", \"@y\"] \n \nWorking of dataJsonBuilder  \n● The input JSON data should follow this format: \nsample.json \n●  \n● [ \n●  { \n    \n\"accesskey\": \"jhscuystc7ewgucu79as8yc9\", \n    \n\"username\": \"abc\", \n    \n\"tags\": \"@x\" \n  }, \n  \n{ \n    \n\"accesskey\": \"cjdy87328yeiqhd93urd28hh\", \n    \n\"username\": \"bcd\", \n    \n\"tags\": \"@y\" \n  }, \n  \n{ \n    \n\"accesskey\": \"jhscuystc7ewgucu79as8yc9\", \n    \n\"username\": \"abc\",","metadata":{"loc":{"lines":{"from":1669,"to":1708}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n    \"tags\": \"@y\" \n  }, \n  \n{ \n    \n\"accesskey\": \"cjdy87328yeiqhd93urd28hh\", \n    \n\"username\": \"bcd\", \n    \n\"tags\": \"@a\" \n  } \n] \n \n●  \ndataJsonBuilder flag passed in the HyperExecute YAML file: \nhyperexecute.yaml \n●  \n● dataJsonBuilder: \n●  path: sample.json \n  \nfilters: \n    \nattributes: \n      \n- key: username \n        \nvalues: [\"abc\", \"bcd\"] \n      \n- key: tags \n        \nvalues: [\"@x\", \"@y\"] \n \n●  \nThe filtered JSON data will be: \nsample.json \n●  \n● [ \n●  { \n    \n\"accesskey\": \"jhscuystc7ewgucu79as8yc9\", \n    \n\"username\": \"abc\", \n    \n\"tags\": \"@x\" \n  }, \n  \n{ \n    \n\"accesskey\": \"cjdy87328yeiqhd93urd28hh\", \n    \n\"username\": \"bcd\", \n    \n\"tags\": \"@y\" \n  }, \n  \n{ \n    \n\"accesskey\": \"jhscuystc7ewgucu79as8yc9\", \n    \n\"username\": \"abc\", \n    \n\"tags\": \"@y\" \n  } \n]","metadata":{"loc":{"lines":{"from":1710,"to":1775}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nThe objects with usernames \"abc\" and \"bcd\" and tags \"@x\" and \"@y\" are selected as they meet the \ncriteria defined by the attributes filter. \nIndexing and Test Case Distribution:  \nAfter filtering, the JSON data is indexed to distribute test cases. Here’s how the distribution works: \n● VM Allocation: Each filtered JSON object corresponds to a separate VM. If the filtered JSON \ncontains 3 objects, 3 VMs are allocated. \n● Test Case Distribution: Test cases are then distributed across these VMs. For each VM, test \ncases are distributed based on the username present in the filtered JSON objects. All test cases \nrelated to the same username are assigned to the VMs containing that username. \nSo as per the above filtered JSON data: \n● VM1 will receive all test cases related to username: \"abc\" \n●  \n● { \n●  \"accesskey\": \"jhscuystc7ewgucu79as8yc9\", \n  \n\"username\": \"abc\", \n  \n\"tags\": \"@x\" \n} \n \n●  \nVM2 will receive all test cases related to username: \"bcd\". \n●  \n● {","metadata":{"loc":{"lines":{"from":1778,"to":1804}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"●  \n● { \n●  \"accesskey\": \"jhscuystc7ewgucu79as8yc9\", \n  \n\"username\": \"abc\", \n  \n\"tags\": \"@x\" \n} \n \n●  \nVM2 will receive all test cases related to username: \"bcd\". \n●  \n● { \n●  \"accesskey\": \"cjdy87328yeiqhd93urd28hh\", \n  \n\"username\": \"bcd\", \n  \n\"tags\": \"@y\" \n} \n \n●  \nVM3 will handle the JSON object: \n●  \n● { \n●  \"accesskey\": \"jhscuystc7ewgucu79as8yc9\", \n  \n\"username\": \"abc\", \n  \n\"tags\": \"@y\" \n} \n \nTest cases related to username: \"abc\" will be split between VM1 and VM3, while test cases related to \nusername: \"bcd\" will be handled by VM2. \nUse Cases  \n● Filtering and Indexing : When both filtering and indexing are required, filters are applied first, \nfollowed by indexing of the filtered results.","metadata":{"loc":{"lines":{"from":1792,"to":1827}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n●  \n● dataJsonBuilder: \n●  path: data/file/abc.json \n  \nindex: username \n  \nfilters: \n    \n#either query or attributes can be used, if both are mentioned then the attributes will \nhave higher precedence. \n    query: (username == \"abc\" or username == \"bcd\") \n    \nattributes: \n      \n- key: username \n        \nvalues: [\"abc\", \"bcd\"] \n \n●  \nOnly Filtering : If only filtering is required without indexing, omit the index key. In this case, no \nindexing will occur, and each JSON object will be distributed in a round-robin manner among \nparallel executions. \n●  \n● dataJsonBuilder: \n●  path: data/file/abc.json \n  \nfilters: \n    \nquery: (username == \"abc\" or username == \"bcd\") \n \n●  \nOnly Indexing : If only indexing is required without filtering, omit the filters section. \n●  \n● dataJsonBuilder: \n●  path: data/file/abc.json \n  \nindex: username \n \nnote \nYou can access the data on the machines using environment variables: ${STATIC_DATA_1_username} - \nfor the username key","metadata":{"loc":{"lines":{"from":1829,"to":1872}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● dataJsonBuilder: \n●  path: data/file/abc.json \n  \nindex: username \n \nnote \nYou can access the data on the machines using environment variables: ${STATIC_DATA_1_username} - \nfor the username key \n \nstrict  \nIf strict is set to true in yaml then the variables used in yaml must be present in either vars or environment \nvariables on the user machine. If not present then only a warning is displayed. But in case of strict: true, \nthe execution will throw an error. \n \ncacheTestURL  \nIt enables you to cache static test files in the browser.","metadata":{"loc":{"lines":{"from":1865,"to":1880}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n \ncacheTestURL: true \nIn case your test, loads some URLs which can be cached but the server or browser’s configuration \nprevents these static files from being cached in the browser, you can enable cacheTestURL in these \ncases. \nFor instance, if your test loads jquery static library multiple times and for some reason it is getting \ndownloaded each time. Enable cacheTestURL to cache it. It will decrease file load time from the second \ntime onwards. \nNote: These cached resources are not yet shared across VMs. So, each VM has its own copy of cache. \n \nafterEachScenario  \nThe afterEachScenario flag is used to define tasks that should be executed after each test scenario. This \ncan be particularly useful for cleanup activities, such as clearing cookies, resetting databases, or \ncapturing logs, ensuring that each test scenario starts with a clean state. This flag allows you to specify a","metadata":{"loc":{"lines":{"from":1882,"to":1898}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"capturing logs, ensuring that each test scenario starts with a clean state. This flag allows you to specify a \nlist of commands or scripts that will run sequentially after the completion of each scenario. This ensures \nthat any necessary teardown steps are consistently applied, maintaining the integrity and isolation of your \ntest scenarios. \n \nafterEachScenario: \n - echo \"Running a script\" \n - pwsh run.test \n \nbuildConfig  \nThis is used to manage hyperlink behavior based on test status. Here's a breakdown of the parameters \nwithin buildConfig: \n● buildPrefix: This parameter sets a custom prefix for dynamically generated build names. The \nformat employs ${name} as a placeholder, which will be replaced with a specific value during \nconfiguration. \n● buildName: This parameter allows you to define a specific name for the build. Similar to \nbuildPrefix, ${name} acts as a placeholder for a custom value. \n \nbuildConfig: \n buildPrefix: myCustomBuildPrefix-${name}","metadata":{"loc":{"lines":{"from":1898,"to":1917}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"buildPrefix, ${name} acts as a placeholder for a custom value. \n \nbuildConfig: \n buildPrefix: myCustomBuildPrefix-${name} \n buildName : \"name=${name}\" \nThe value for ${name} in the above command can be passed through the vars command either by the CLI \nas mentioned below or through YAML.","metadata":{"loc":{"lines":{"from":1914,"to":1920}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \nDynamic Build Naming via CLI \nIf you prefer to set buildPrefix and buildName values through the command-line interface (CLI), the \nfollowing commands can be used: \nTo set buildPrefix: \n \n--labels buildPrefix --vars \"name=xyz\" \nTo set buildName: \n \n--labels buildName --vars \"name=xyz\" \nThese commands utilize --labels to specify the parameter being configured and --vars \"name=xyz\" to \ndefine the value to be replaced for \n${name}. \nKey Pointers  \n● Build Configuration Handling:  \nIf buildConfig is not provided, then the build_id column within the job table remains empty. When \nyou specify the buildConfig, it populates the build_id column with the corresponding value. \n● Build Configuration Precedence:  \nWhen both buildConfig and the build capability are defined, buildConfig takes priority. \n● Priority of Build Naming Parameters:  \nIf both buildConfig.buildName and buildConfig.buildPrefix are specified, preference is given to \nbuildPrefix. \n● Association with Build Name:","metadata":{"loc":{"lines":{"from":1922,"to":1946}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Priority of Build Naming Parameters:  \nIf both buildConfig.buildName and buildConfig.buildPrefix are specified, preference is given to \nbuildPrefix. \n● Association with Build Name:  \nDefining buildName associates test results with the designated name, enabling organized \ntracking and management. \n● Dynamic Build Creation:  \nSpecifying buildPrefix results in the creation of a new build for each executed job. The build name \nformat follows buildPrefix-{jobID} to ensure uniqueness. \n● Compatibility of Build Naming Variables:  \nBoth buildPrefix and buildName are compatible with vars and can be used together or \nindependently based on your requirements. \n \ncaptureCSVResult  \nBy enabling the boolean yaml directive   captureCSVResult, you can get the statistics of the time taken by \nSelenium Commands run across the job. It will gather the time taken by the Selenium commands, \ncalculate the aggregated info for the statistics like Average, 95, 99 percentiles etc and publish it in the","metadata":{"loc":{"lines":{"from":1943,"to":1959}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"calculate the aggregated info for the statistics like Average, 95, 99 percentiles etc and publish it in the \nform of a separate artifact.","metadata":{"loc":{"lines":{"from":1959,"to":1960}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \ncaptureCSVResult: true \nBelow mentioned custom Lambda hooks are also required to be added in the Selenium script: \nlambda-start-timer=<some_label> lambda-end-timer=<some_label> These custom lambda hooks are \nbasically used to track the amount of time taken by the Selenium command. \nAbove performance stats artifact would be of the CSV format with headers as Label, Average, Min, Max, \nMedian, P95, P99. Here is a brief information about these headers: \n1. Label: Identifier passed in the custom lambda hook to identify the Selenium command \n2. Average: Average time taken by the Selenium command across the whole job \n3. Min: Minimum time taken by the Selenium command across the whole job \n4. Max: Maximum time taken by the Selenium command across the whole job \n5. Median: Median of the time taken by the Selenium command across the whole job \n6. P95: 95th percentile of the time taken by the Selenium command across the whole job","metadata":{"loc":{"lines":{"from":1962,"to":1976}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"5. Median: Median of the time taken by the Selenium command across the whole job \n6. P95: 95th percentile of the time taken by the Selenium command across the whole job \n7. P99: 99th percentile of the time taken by the Selenium command across the whole job \nHere is the sample code showing how we can use the above mentioned Lambda hooks: \n \n((JavascriptExecutor) driver).executeScript(\"lambda-start-timer=t1\"); \n \n /* Add 5 items in the list */ \n Integer item_count = 15; \n for (int count = 1; count <= item_count; count++) \n { \n     /* Enter the text box for entering the new item */ \n     elem_new_item.click(); \n     elem_new_item.sendKeys(\"Adding a new item \" + count + Keys.ENTER); \n     Thread.sleep(2000); \n } \n Object t1 =  ((JavascriptExecutor) driver).executeScript(\"lambda-end-timer=t1\"); \n System.out.println(t1); \nNote: t1 will denote the time taken by each selenium command between start and end. \n \nmatrixEnvPrefix","metadata":{"loc":{"lines":{"from":1975,"to":1995}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"System.out.println(t1); \nNote: t1 will denote the time taken by each selenium command between start and end. \n \nmatrixEnvPrefix  \nWhen we run a job in matrix mode, we set the keys with their resolved value as env variables in the \nscenario being run. The keys are not prefixed and hence, in some cases, we had found out that some \nvariables like \"os\" can affect your test runs (for example in dotnet build commands). So, if one has an os \nkey in matrix, it may affect dotnet build command if one doesn’t set the matrixEnvPrefix: true in yaml to \nhave the \"os\" key of matrix available to us as `HE_ENV_os \n \ndynamicAllocation  \nWhen we set dynamicAllocation true, the test cases are distributed among parallels at the runtime. This is \nvalid in case of local test discovery. In this case, the parallels are utilised in the most optimised manner.","metadata":{"loc":{"lines":{"from":1992,"to":2004}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n \ndynamicAllocation: true \n \ncollectLocalGitData  \nIt is a default flag which captures the git information of your repository that you have used to trigger the \njob in HyperExecute which are later utilized in AI-based Root Cause Analysis (RCA) generation. In order \nto turn off the collection of any git information after executing your HyperExecute jobs, you can define the \nvalue false. \n \ncollectLocalGitData: false, \n \nbackground  \nThis feature allows you to run long-running Application Server tasks like \"running a webapp\" or a \"my-sql \ndatabase server\" in the background. \nTo enable this feature from the YAML file you can use either of the below mentioned methods: \n1. Using backgroundDirectives  \n \nbackgroundDirectives: \n shell: bash \n commands: \n   - name: YOUR_SERVICE_NAME \n     command: npx static-server \n   - name: Database \n     command: mysql-server \nIt contains the following attributes:","metadata":{"loc":{"lines":{"from":2006,"to":2034}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"backgroundDirectives: \n shell: bash \n commands: \n   - name: YOUR_SERVICE_NAME \n     command: npx static-server \n   - name: Database \n     command: mysql-server \nIt contains the following attributes: \n● The shell property defines the terminal it should use to run the background service. \n● The command property specifies the command to be executed in the background. \n● The **name **property specifies the name of your Background Service. \n2. Using background  \n \nbackground: \n - npx static-server \n - mysql-server \nTo learn more about it, refer to the Background Service page. \n \nvars","metadata":{"loc":{"lines":{"from":2027,"to":2045}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nThis method allows you to name your variables. This will make the process of modifying the YAML file \neasier. You can use these variables in the YAML file as ${your_variable_name}. Below example shows \nhow to use vars keyword and how to use the variables define under it at other places in yaml. \nvars: \ntest: e2e \nframework: net5.0 \nruntime: win-x64 \ntestPath: ${test}\\bin\\build\\${framework}\\${runtime} \npreDirectives: \nCommands: \n - echo ${framework} \nYou can also use the vars method using the CLI. \n \ntunnel  \nIndicates whether to enable a tunnel for accessing your applications which are locally hosted or behind a \nfirewall. The cli will launch a tunnel as sub process if tunnel is set to true \ntunnel: true \n \ntunnelOpts  \nThe options to use when running the tunnel. \nOptions Type Description \nargs List of \nstrings \nThe arguments to pass to your tunnel. For a list of arguments \ncheckout our tunnel flags","metadata":{"loc":{"lines":{"from":2047,"to":2073}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"tunnelOpts  \nThe options to use when running the tunnel. \nOptions Type Description \nargs List of \nstrings \nThe arguments to pass to your tunnel. For a list of arguments \ncheckout our tunnel flags \npreOnly Boolean Should the tunnel be enabled for only the pre step. Default \nfalse. \npostOnly Boolean Should the tunnel be enabled for only the post step. Default \nfalse. \nglobal Boolean Should the tunnel be enabled for all the steps? Default true. \nsystemProxy Boolean Should the tunnel be OS system wide? Default false. \ncheckTunnelOnFailure Boolean Check tunnel on failure adds a check on our system to check \nthe tunnel connection if a test fails and the tunnel is set to true. \nThis option will retry the test 2 times if tunnel connection is \nflaky.","metadata":{"loc":{"lines":{"from":2067,"to":2083}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n--expose  This flag takes arguments in the form of \nservice_name:host_name_host_port. \nWhen you trigger a test, there are environment variables \nexposed in the machine with the variable name :- \n1. service_name_PROXY_HOST \n2. service_name_PROXY_PORT \n \ntunnel: true \ntunnelOpts: \n args: \n  - \"--verbose\" \n \ntunnel: true \ntunnelOpts: \n preOnly: true \n #------OR------ \n postOnly: true \n #------OR------ \n global: true \n #------OR------ \n systemProxy: true \n \npre: \n - echo %LT_PROXY_PORT% \n - echo %LT_PROXY_HOST% \n - echo %MYSQL_PROXY_HOST% \n - echo %MYSQL_PROXY_PORT% \ntunnel: true \ntunnelOpts: \n args: \n   - \"--expose mysql:localhost:3306\" \n \ntunnelNames  \nSpecify the list of already running tunnel names which you want to use for accessing your applications \nwhich are locally hosted or behind a firewall.","metadata":{"loc":{"lines":{"from":2085,"to":2122}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\ntunnelNames: [\"lambdatest_tunnel\"] \n \ntestRunnerExecutor  \nWhen utilizing the testRunnerCommand to execute a job on a Windows Virtual Machine, the default \nbehavior is to run the command in PowerShell. However, in situations where test names include special \ncharacters, you may encounter an error like below. \n \nTo address this, it is necessary to include this specific flag to switch the test execution from powershell to \nthe command line as intended. \ntestRunnerExecutor: bat \n \nworkingDirectory  \nThe working directory specifies the location of the directory in which all test discovery and execution \ncommands will run, as well as the location of any files or directories that are created as a result of the \ncommand execution. If the workingDirectory option is not specified, then the working directory will be the \ndirectory where the YAML file is located. \n \nframework: \n name: maven/testng \n discoveryType: method \n workingDirectory: src/main \n flags:","metadata":{"loc":{"lines":{"from":2125,"to":2149}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"directory where the YAML file is located. \n \nframework: \n name: maven/testng \n discoveryType: method \n workingDirectory: src/main \n flags: \n   - \"-Dplatname=win\" \n \n-------------------------------------------------------------------------------------------------------------------------- \nUsing Snooper Command on Hyperexecute","metadata":{"loc":{"lines":{"from":2143,"to":2153}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nA snooper is a command that can be used to discover the list of Feature file scenarios that would be \nfurther executed using the value passed in the testRunnerCommand. The snooper command takes two \narguments: \n● featureFilePaths: This argument specifies the path to the Feature files that you want to discover. \n● frameWork: This argument specifies the framework that you are using for your tests. \nFor example, the following command will discover the list of Feature file scenarios in the features folder \nthat are using the Java framework: \n \nsnooper --featureFilePaths=features/ --frameWork=java \nHow to implement Snooper on HyperExecute  \nsnooper command works only with HyperExecute YAML 0.1 \nTo implement the snooper command on HyperExecute, we simply need to update our YAML file's \ntestDiscovery and testRunnerCommand parameters. \ntestDiscovery  \nThis command helps to discover all the test scenarios within the project. It offers two methods to \nimplement it:","metadata":{"loc":{"lines":{"from":2155,"to":2173}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"testDiscovery and testRunnerCommand parameters. \ntestDiscovery  \nThis command helps to discover all the test scenarios within the project. It offers two methods to \nimplement it: \nMethod 1: Discovering test cases on Hyperexecute machines:  \n● featureFilePaths: Path where all feature files are located \n● frameWork: Framework of Testing \n● specificTags: (optional) Tags that need to be tested \n \ntestDiscovery: \n type: automatic \n mode: static \n args: \n   featureFilePaths: src/test/java/Features/ \n   frameWork: java \n   specificTags: [\"\"] \nMethod 2: Discovering test cases on Local machines  \n● command: It is a mandatory parameter in the yaml file and would throw an error if not found by \nthe compiler. \n \ntestDiscovery: \n type: raw \n mode: static \n command: snooper  --targetOs=win --featureFilePaths=src/test/java/Features/ --frameWork=java \n--specificTags=@tag1,@tag2 \ntestRunnerCommand  \nThis command helps to execute the test cases and needs a command that will help to execute the single","metadata":{"loc":{"lines":{"from":2170,"to":2196}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"--specificTags=@tag1,@tag2 \ntestRunnerCommand  \nThis command helps to execute the test cases and needs a command that will help to execute the single \ntest. It is executed on the Hyperexecute VMs for each scenario at an individual level.","metadata":{"loc":{"lines":{"from":2194,"to":2197}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nUnset\nUnset\nThere are two methods to execute the runner command for cucumber: \nMethod 1: Using options flag  \n \ntestRunnerCommand: mvn test -Dcucumber.options=\"$test\" \n● -Dcucumber.options: This parameter is used to specify the feature that will help execute on VMs. \nMethod 2: Using features flag  \nNote: This flag is applicable for cucumber version 7 and above only. \n \ntestRunnerCommand: mvn test -Dcucumber.features=\"$test\" \n● -Dcucumber.features: This parameter is used to execute one single feature file. \nDebug  \nWe can also debug testDiscovery using snooper to check whether all the desired test scenarios have \nbeen discovered or not. This can be implemented using the Snooper CLI binary present in the \n.hyperexecute folder. \nTo debug the discovery of the snooper, configure the following command as per the desired parameters: \n \n.hyperexecute/snooper --targetOs=win --ignoredTags=@ignore @skipDaily","metadata":{"loc":{"lines":{"from":2199,"to":2221}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":".hyperexecute folder. \nTo debug the discovery of the snooper, configure the following command as per the desired parameters: \n \n.hyperexecute/snooper --targetOs=win --ignoredTags=@ignore @skipDaily \n--featureFilePaths=src/test/java/Features --frameWork=java | sed 's/:.*//' | uniq \nNote: .hyperexecute and snooper binary are created only after first execution of the yaml file. \nHow to effectively utilize tags incorporating various custom parameters for enhanced \nfunctionality?  \n● Snooper discovery can be customized where you can use set of tags that you want to discover \nthe tests. \n \nspecificTags: [\"@tag1\",\"@tag2\"] \n● Discovery can also be customized by passing logical query in the snooper using query tag: \nquery: \"((@tag1 or @tag2) and not @tag3)\" \n● You can also skip the tests that have some specific tags using ignoredTags: \nignoredTags : [\"@tag3\",\"@tag2\"] \nSample YAML File","metadata":{"loc":{"lines":{"from":2218,"to":2234}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nHere is a sample HyperExecute file with cucumber 7 and above to discover all the feature files without \nany tags. \n \n--- \nversion: \"0.1\" \nrunson: win \nautosplit: true \nconcurrency: 1 \nretryOnFailure: true \nmaxRetries: 1 \ncacheKey: '{{ checksum \"package-lock.json\" }}' \ncacheDirectories: \n - node_modules \npre: \n - npm install \ntestDiscovery: \n type: automatic \n mode: dynamic \n args: \n   featureFilePaths: features/sample_website \n   frameWork: javascript \n   specificTags: [ \"@test\" ] \n#  command: .hyperexecute/snooper  --targetOs=win \n--featureFilePaths=features/onepass_website --frameWork=javascript --specificTags=@test | sed \n's/:.*//' | uniq \ntestRunnerCommand: npm run execute-tests $test \njobLabel: [snooper, autosplit] \n-------------------------------------------------------------------------------------------------------------------------- \nInherit Your YAML Configurations \nYAML inheritance in HyperExecute allows you to reuse common configuration settings across multiple","metadata":{"loc":{"lines":{"from":2236,"to":2266}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Inherit Your YAML Configurations \nYAML inheritance in HyperExecute allows you to reuse common configuration settings across multiple \nYAML files, improving efficiency, consistency, and flexibility. \nFor example, you can create a base YAML file with common settings like browsers, OS versions, and \ndevices, and then inherit from it in other YAML files for different environments or test types. This reduces \nboilerplate code and errors while making it easy to switch between environments and manage complex \ntest execution configurations. \nPrerequisites  \n● You must inherit a YAML file of the same version as your original file. \n● The mode of execution, i.e. Matrix, AutoSplit, or Hybrid, must remain the same in both of the \nYAML files. \n● The files that you want to inherit cannot be cyclically dependent. If you want to inherit A.yaml in \nB.yaml, then A.yaml cannot inherit B.yaml. \nHow do you use the Inheritance feature?","metadata":{"loc":{"lines":{"from":2265,"to":2278}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● The files that you want to inherit cannot be cyclically dependent. If you want to inherit A.yaml in \nB.yaml, then A.yaml cannot inherit B.yaml. \nHow do you use the Inheritance feature?  \nYou can use the inheritance feature by entering the following flag in your YAML file:","metadata":{"loc":{"lines":{"from":2276,"to":2279}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \nbase: \n yamls: \n   - ./<baseConfiguration1.yaml> \n   - ./<baseConfiguration2.yaml> \n● Insert the path of the YAML files you want to inherit in place of the placeholder value \n<baseConfiguration.yaml>. The path of the YAML file that you want to inherit is relative to the \nmain YAML file. \n \n● If the configuration YAML file is passed via the HyperExecute CLI, then it will be treated as the \nmain YAML. Hence, all values of the base YAML will be overwritten by the values from the parent \nYAML file. However, if the configuration YAML file has a flag that contains the Boolean value \nFalse or numeric value '0', then the values from the parent YAML are used (if they are present). \nNote: If you want to inherit two YAML files, then the second YAML file takes precedence. If a key is not \ndefined in the first file or the main YAML file, but it is defined in the second, then that key will take the","metadata":{"loc":{"lines":{"from":2281,"to":2297}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"defined in the first file or the main YAML file, but it is defined in the second, then that key will take the \nvalue of the second file. Similarly, if a key is defined in the two YAML files that are inherited but not in the \nmain file, then the value defined in the second file is used. \nGo through the example attached below to understand how the resultant YAML will function if you inherit \na base YAML in your parent YAML file. \nParent YAML  \n \n--- \nversion: 0.1 \nrunson: linux \n \nautosplit: true \nconcurrency: 4 \n \nbase:","metadata":{"loc":{"lines":{"from":2297,"to":2311}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n yamls: \n   - ./base.yaml \n \npre: \n - mvn dependency:resolve \n \ntestDiscovery: \n mode: remote \n command: grep 'test name' xml/testng_linux.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/>//g' \n \ntestRunnerCommand: mvn test -Dplatname=linux -Dmaven.repo.local=./.m2 dependency:resolve \n-DselectedTests=$test \n \nretryOnFailure: true \nmaxRetries: 1 \n \njobLabel: [selenium-testng, linux, v1, autosplit] \nBase YAML  \n \n--- \nversion: 0.1 \nrunson: win \nautosplit: true \nconcurrency: 2 \npre: \n - mvn dependency:resolve \ntestDiscovery: \n type: raw \n mode: static \n command: grep 'test name' xml/testng_linux.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/>//g' \ntestRunnerCommand: mvn test -Dplatname=linux -Dmaven.repo.local=./.m2 dependency:resolve \n-DselectedTests=$test \nretryOnFailure: true \nmaxRetries: 1 \njobLabel: [selenium-testng, autosplit] \nResultant YAML  \n \nversion: 0.1 \nrunson: linux","metadata":{"loc":{"lines":{"from":2313,"to":2353}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"autosplit: true \nconcurrency: 4 \nbase: \n   yamls: \n       - ./base.yaml \n \npre: \n   - mvn dependency:resolve \ntestDiscovery: \n   command: grep 'test name' xml/testng_linux.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/>//g' \n   mode: remote \ntestRunnerCommand: mvn test -Dplatname=linux -Dmaven.repo.local=./.m2 dependency:resolve \n-DselectedTests=$test \nmaxRetries: 1 \nretryOnFailure: true \njobLabel: [selenium-testng, linux, v1, autosplit] \nTo learn more about the HyperExecute YAML file, go through this page. \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute Yaml Version 0.2 \nThis version introduces several new features and improvements over Version 0.1. This documentation \noutlines the changes and provides guidance on when to use Version 0.2 instead of Version 0.1. \ninfo \n● Currently supported frameworks are maven/testng, maven/junit4, maven/junit5, wdio/mocha, and \nwdio/jasmine framework.","metadata":{"loc":{"lines":{"from":2355,"to":2378}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"info \n● Currently supported frameworks are maven/testng, maven/junit4, maven/junit5, wdio/mocha, and \nwdio/jasmine framework. \n● Version 0.2 supports all the fields available in Version 0.1, except for testDiscovery and \ntestRunnerCommand \n● The new framework flag has been introduced to configure the test framework. \nWhy to use HyperExecute YAML Version 0.2?  \n● The new framework feature supports caching by default. You do not have to specify any \ndirectories to cache for faster performance. If you adds the cacheKey and cacheDirectories keys \nin your yaml, the default caching gets disabled and preference is given to user specified cache. \n● In Version 0.2, the support for matrix mode has been removed, and only static discovery is \navailable. This means that the discovery command will run on your system rather than in a matrix. \n● Since the support for testRunnerCommand is removed, the test orchestration will be managed \nautomatically. \nframework","metadata":{"loc":{"lines":{"from":2376,"to":2390}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Since the support for testRunnerCommand is removed, the test orchestration will be managed \nautomatically. \nframework  \nThe framework field in Hyperexecute YAML Version 0.2 allows you to configure the test framework \nsettings. It provides more flexibility and customization options for your testing needs with the following \nparameters. \nParameters Type Mandatory Description \nname String Yes You need to specify which testing framework you are \nusing in your repo.","metadata":{"loc":{"lines":{"from":2388,"to":2396}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nflags Array No Command line flags to pass to the custom runner for \nboth test discovery and execution. \ndiscoveryFlags Array No Command line flags to pass to the custom runner for test \ndiscovery only. \nrunnerFlags Array No Command line flags to pass to the custom runner for test \nexecution only. \ndiscoveryType String No Specifies the type of test discovery to use. Supported \nvalues are \"method\" and \"class\". The default is \n\"method\". \nworkingDirectory String No Specifies the working directory where all discovery and \nexecution commands will be executed. \ndefaultReports Boolean No Specifies whether to create default reports for the \nspecified framework. \nregion String No Specifies in which region you want to spin your appium \ntests. \nartifacts Boolean No Specifies whether to generate artifacts or not \nname  \nSpecifies the testing framework used in your repository. \n \nframework: \n name: \"maven/testng\"","metadata":{"loc":{"lines":{"from":2398,"to":2421}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"tests. \nartifacts Boolean No Specifies whether to generate artifacts or not \nname  \nSpecifies the testing framework used in your repository. \n \nframework: \n name: \"maven/testng\" \nTo enable maven runner with Appium, you have to pass appium: true before the framework field \n \nappium: true \nframework:  \n  name: \"maven/testng\" \nflags  \nSpecifies the command line flags to pass to the custom runner for both test discovery and execution. \n \nframework: \n name: \"maven/testng\" \n flags: [\"-Dplatname=win\", \"-Dgroups=selenium-test\"]","metadata":{"loc":{"lines":{"from":2415,"to":2432}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\ndiscoveryFlags  \nSpecifies the command line flags to pass to the custom runner for test discovery only. \n \nframework: \n name: \"maven/testng\" \n discoveryFlags: [\"-Dgroups=selenium-test\"] \nrunnerFlags  \nSpecifies the command line flags to pass to the custom runner for test execution only. \n \nframework: \n name: \"maven/testng\" \n runnerFlags: [\"-Dgroups=database\"] \ndiscoveryType  \nSpecifies the level at which user wants to discover the tests. Supported values are \"method\" and \"class\". \nThe default is \"method\". \n \nframework: \n name: maven/testng \n discoveryType: method \n # instead of method you can also use xmltest or class as a discovery type \n flags: \n   - \"-Dplatname=win\" \ninfo \n● For maven/testng the supported discovery types are method, class and xmltest. The default is \nmethod. \n● For maven/junit4 and maven/junit5 the supported discovery types are method and class. The \ndefault is method.","metadata":{"loc":{"lines":{"from":2434,"to":2464}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"method. \n● For maven/junit4 and maven/junit5 the supported discovery types are method and class. The \ndefault is method. \n● For wdio/mocha and wdio/jasmine the supported discovery types are test, spec, suite and \nwdiosuite. The default is spec. \nworkingDirectory  \nThe working directory specifies the location of the directory in which all test discovery and execution \ncommands will be run, as well as the location of any files or directories that are created as a result of the \ncommand execution. If the workingDirectory option is not specified, then the working directory will be the \ndirectory where the YAML file is located. \n \nframework:","metadata":{"loc":{"lines":{"from":2462,"to":2473}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n name: maven/testng \n discoveryType: method \n workingDirectory: src/main \n flags: \n   - \"-Dplatname=win\" \ndefaultReports  \nSpecifies whether to create default reports for the specified framework. \n \nframework: \n name: maven/testng \n defaultReports: false \n flags: \n   - \"-Dplatname=win\" \nregion  \nThe region parameter specifies the region or location where the Appium tests will be executed. Our \nplatform supports the following three regions: \n● ap (Asia-Pacific) \n● us (United States) \n● eu (European Union) \nThe region parameter should always be defined under the args parameter, as shown in the below sample \ncode. \n \nframework: \n args: \n   region: us \nartifacts  \nTo generate artifacts for your Espresso tests, add the artifacts: true flag in your YAML file: \n \nframework: \n args: \n   artifacts: true \n Learn \nhow to perform group-based test discovery in TestNG \nSample Yaml Version 0.2","metadata":{"loc":{"lines":{"from":2475,"to":2511}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n \n--- \nversion: 0.2 \nrunson: win \n \nautosplit: true \nconcurrency: 2 \n \npre: \n # Skip execution of the tests in the pre step \n - mvn dependency:resolve \n \nframework: \n name: maven/testng \n flags: \n   - \"-Dplatname=win\" \n discoveryFlags: [\"-Dgroups=selenium-test\"] \n runnerFlags: [\"-Dgroups=database\"] \n discoveryType: method \n workingDirectory: src/main \n defaultReports: false \n args: \n   region: us \n \nretryOnFailure: true \nmaxRetries: 1 \n \npost: \n - ls target/surefire-reports/ \n \nmergeArtifacts: true \nuploadArtefacts: \n- name: ExecutionSnapshots \n  path: \n   - target/surefire-reports/html/** \n \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute CLI - Run test on HyperExecute \nHyperExecute CLI is a command line interface that is required to run tests on HyperExecute. This page \noutlines all you need to know about the CLI and also explains about the different flags & functionalities","metadata":{"loc":{"lines":{"from":2513,"to":2553}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"outlines all you need to know about the CLI and also explains about the different flags & functionalities \nsupported by the HyperExecute CLI. \nDownload the HyperExecute CLI  \nYou can download the HyperExecute CLI for your OS from the links given below : \nPlatform Download Link","metadata":{"loc":{"lines":{"from":2553,"to":2557}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Linux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nmacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nHyperExecute CLI Supported Flags  \nHyperExecute CLI provides different command-line flags that let you control the HyperExecute platform \nas per your customised requirements. You can run hyperexecute.exe --help on your terminal to explore \nthe different flags. \n \nThe various flags that are supported are listed below. \nFlags Type Description \n--concurrency Numerical Indicates the number of concurrent sessions on \nHyperExecute. \n--config string Custom location for hyperexecute.yaml. \n--download-artifacts NA Download the artifacts for a job. \n--download-artifacts-path string Path of the directory to download artifacts for a job \n--download-artifacts-zip NA Download the artifacts for a job as a zip.","metadata":{"loc":{"lines":{"from":2559,"to":2574}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"--download-artifacts-path string Path of the directory to download artifacts for a job \n--download-artifacts-zip NA Download the artifacts for a job as a zip. \n--download-logs NA Downloads console logs of your every tests of a job. \n--download-report NA Whether reports have to be downloaded or not. \n--force-clean-artifacts NA Download the updated artifacts of your job.","metadata":{"loc":{"lines":{"from":2573,"to":2577}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n-h, --help NA Help for hyperexecute. \n--job-secret-file string Enter your secrets file path \n-k, --key string LambdaTest Access Key. \n--labels string Incorporates the labels in your job. \n--no-track NA Stops updating the progress of the uplodaed jobs. \n--preserve-payload string Preserves the job payload after its successful completion. \n--runson string (comma-separated values of) OS on which the tests should \nrun. \n-s --scan NA Runs the network logs \n--server-port string Port number for the server (default \"9191\") \n-t, --target-directory string Directory where the test script has to be uploaded. \n--target-path string Upload the files and folders as part of the suite payload. \n--tests-per-tunnel INT Run the number of tests via tunnel. \n-z, --use-zip string Path of the zip file that needs to be uploaded. \n-u, --user string LambdaTest username. \n--vars string Method used to name keys. \n--verbose NA Logging of every proxy request to stdout.","metadata":{"loc":{"lines":{"from":2579,"to":2596}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-u, --user string LambdaTest username. \n--vars string Method used to name keys. \n--verbose NA Logging of every proxy request to stdout. \n--version NA Version of the HyperExecute CLI. \n--concurrency  \nThis flag allows you to define the number of concurrent sessions running on HyperExecute. For more \ninformation on concurrency, go to this page. \n \n--concurrency 2 \n \n--config  \nThis flag allows you to enter a custom location where you can download the HyperExecute YAML file. To \nlearn more about the HyperExecute YAML, visit this page.","metadata":{"loc":{"lines":{"from":2594,"to":2606}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n \n--config \"/home/users/work/yaml/\"  \n \n--download-artifacts  \nThis flag allows you to download all the test related results that are generated by your testing framework. \nYou can use this key if you want to download the artifacts. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE --download-artifacts \nnote \n● For Espresso with private devices HyperExecute can download user generated artefacts. \n--download-artifacts-path  \nIn case you want the artifacts to be downloaded to a specific directory, please provide the exact path \nfollowed by the flag as shown in the example below. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE --download-artifacts-path \n\"PATH_OF_YOUR_SPECIFIED_DIRECTORY\" \n--download-artifacts-zip  \nIf you want to download the zip file of the artifacts for a job.","metadata":{"loc":{"lines":{"from":2608,"to":2633}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"RELATIVE_PATH_OF_YOUR_YAML_FILE --download-artifacts-path \n\"PATH_OF_YOUR_SPECIFIED_DIRECTORY\" \n--download-artifacts-zip  \nIf you want to download the zip file of the artifacts for a job. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE --download-artifacts-zip \n \n--download-logs  \nThis flag allows you to download the detailed console logs of your entire job including your individual tests \nand your pre and discovery phase. \n \n--download-report  \nThis flag allows you to download all the test related results that are generated by your testing framework. \nYou can use this key if you want to download the reports. \n \n--force-clean-artifacts","metadata":{"loc":{"lines":{"from":2630,"to":2647}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nThis flag will download the new artifacts of your job and will store it into the artifacts folder. If you have \npreviously downloaded artifacts, it will be renamed as artifacts-old. \n \n-h, --help  \nYou can run this command if you need any help in understanding the definition of the flags on the CLI \nitself. However, if you need any further assistance we're just a ping away. \n \n--help \n \n--job-secret-file  \n● This flag allows you to specify the Secrets file containing the necessary secrets (credentials, API \nkeys, ) for a particular job. \n● The contents of this file will be accessible only within the scope of that specific job execution, \nenhancing security and streamlining secret management. \n● This eliminates the need to store secrets on the service account and prevents their accidental \nexposure through the --vars flag. \n \n--job-secret-file <RELATIVE_PATH_OF_YOUR_SECRET_FILE> \nSample Secret File  \nsecretFile.txt \n \nsecret1=value1 \nsecret2=value2 \ninfo","metadata":{"loc":{"lines":{"from":2649,"to":2676}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"exposure through the --vars flag. \n \n--job-secret-file <RELATIVE_PATH_OF_YOUR_SECRET_FILE> \nSample Secret File  \nsecretFile.txt \n \nsecret1=value1 \nsecret2=value2 \ninfo \nThe secrets file contains highly sensitive information and must be strictly excluded from public exposure. \nHere's how to ensure its security: \nStore Outside the Repository (Recommended) \n● Store the secrets file in a location outside your project repository altogether. This method is more \nsecure as it automatically gets excluded from your code scripts zip file. \nExclude from Version Control \n● Adding the relative path of the file (in which you have stored your secret data) to your .gitignore or \n.hyperexecuteignore file. This prevents accidental inclusion of the file in your code repository. \n \n-k, --key  \nThe access key of your LambdaTest account. To find out how to retrieve your access key, visit this page.","metadata":{"loc":{"lines":{"from":2668,"to":2687}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nUnset\n--key tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv \n \n--labels  \nThis flag allows you to pass the labels of your Job. \n \n--labels \"testing\" \n \n--no-track  \nYou can track the progress of your uploaded jobs with HyperExecute. However, this flag allows you to opt \nout of receiving those updates. \n \n--no-track \n \n--preserve-payload  \nThis flag allows you to preserve the job payload after the job is completed successfully. \n \n--preserve-payload \n \n--runson  \nThis flag overrides the defined OS value in your YAML file's runson flag. You can also define multiple \nvalues for OS (comma separated) in the case of Matrix and Hybrid mode execution. \nIn case of AutoSplit mode: \n \n--runson linux \nIn case of Matrix or Hybrid mode: \n \n--runson linux,win,win11,mac,mac13 \n \n-s, --scan","metadata":{"loc":{"lines":{"from":2690,"to":2723}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nThis flag runs the network logs in your local machine console . \n \n--scan \n \n--server-port  \nThe --server-port flag is used to specify the port number that the HyperExecute server will use for \ncommunication. This can be useful if you need to run the server on a specific port due to network \nconfigurations or to avoid port conflicts with other applications. \n \n--server-port=8080 \n \n-t, --target-directory  \nThe targetDirectory option in the HyperExecute CLI specifies the directory where the output of the \nexecuted command will be stored. If this option is not specified, the output will be stored in the current \nworking directory. \n \n--target-directory \"/home/users/work/yaml/scripts/\" \n \n--target-path  \nThe target-path flag allows you to selectively upload specific files and folders as part of the suite payload. \nThis can be used for streamlining the uploading process and ensuring that only relevant files are included","metadata":{"loc":{"lines":{"from":2725,"to":2749}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"This can be used for streamlining the uploading process and ensuring that only relevant files are included \nin the payload. It can also be useful if a user wants to run tests in a monorepo for multiple services. \n \n--target-path \"src/test-suite/**\" \n \n--tests-per-tunnel  \nThis flag allows you to run a certain number of tests via tunnel. The default maximum number of tests is \n10.","metadata":{"loc":{"lines":{"from":2749,"to":2756}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nUnset\n \n--tests-per-tunnel 5 \n \n-z, --use-zip  \nThis flag allows you to indicate the path of the zip file that needs to be uploaded for your tests to run. Let's \nsay you already have a zipped payload that you want to upload, so you can provide the path of that \npayload and upload it. \nWhenever you zip your test files, it creates a folder, let's say tests.zip. Now, when this zip folder is \nunarchived, HyperExecute searches for a file named hyperexecute.yaml. \nIn another scenario, suppose you first created a folder. Inside that folder, you put all your required test \nfiles and then zip that folder (say folder.zip). When this zip folder is unarchived, HyperExecute will again \nsearch for the hyperexecute.yaml file, which in this case won't be available as it will be inside the folder, \nwhich will throw an error. \n \n--use-zip \"/home/users/work/yaml/zip/\" \n \n-u, --user  \nThe username of your LambdaTest account. \n \n--user anmolg \n \n--vars","metadata":{"loc":{"lines":{"from":2758,"to":2784}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"which will throw an error. \n \n--use-zip \"/home/users/work/yaml/zip/\" \n \n-u, --user  \nThe username of your LambdaTest account. \n \n--user anmolg \n \n--vars  \nThis method allows you to name your variables. It helps you optimize the content of your YAML file by \nallowing for more flexibility. \nYou can specify the email address for sharing reports or artifacts in a YAML configuration file using a \nvariable. This allows you to dynamically set the email address and pass it via CLI, providing more \nflexibility than hardcoding the email address in the YAML file. Learn about this in detail. \n \n--vars \"org=Lambdatest\" --vars \"product=HyperExecute\" --vars \"email=xyz@abc.com\" --vars \n\"email1=abc@xyz.com\" \n \n--verbose  \nThis flag allows you to log all of your proxy requests to the output section (stdout).","metadata":{"loc":{"lines":{"from":2775,"to":2795}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n--verbose \n \n--version  \nThis flag indicates the version of HyperExecute CLI binary that you are running on your system. \n \n--version \n \nanalyze  \nThis flag runs HyperExecute Analyze, which is a language and environment detection tool used to render \nevery language and framework detail the user has in his project, which includes finding private \ndependencies. \n \nhyperexecute analyze \n \nTrigger your Test from HyperExecute CLI  \nIn order to trigger your job on HyperExecute, execute the following command in your terminal. You will \nneed to insert the name of your YAML file in place of the RELATIVE_PATH_OF_YOUR_YAML_FILE \nbefore running this command. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE \ntip \nIn case of macOS, if you get a permission denied warning while executing CLI, simply run chmod u+x \n./hyperexecute","metadata":{"loc":{"lines":{"from":2798,"to":2826}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"RELATIVE_PATH_OF_YOUR_YAML_FILE \ntip \nIn case of macOS, if you get a permission denied warning while executing CLI, simply run chmod u+x \n./hyperexecute\n to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nnote \nIf you're running on a minimal alpine image, please make sure to install essential linux dependencies for \nHyperExecute CLI to work. (An example with our sample repo has been given below): \n \napk add libc6-compat git bash \ngit clone https://github.com/LambdaTest/behave-selenium-hyperexecute-sample.git \ncd behave-selenium-hyperexecute-sample/","metadata":{"loc":{"lines":{"from":2823,"to":2835}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nwget https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nchmod +x hyperexecute \n./hyperexecute --user <lt_user> --key <lt_access_key> --config \nyaml/win/behave_hyperexecute_autosplit_sample.yaml \nRunning HyperExecute CLI in Quiet Mode  \nEach time a job is run in Hyperexecute, a large number of logs are produced. These logs are sometimes \nbeneficial for thorough debugging and analysis, it occasionally overwhelms Continuous Integration (CI) \nsystems with an excessive amount of logs, especially when handling a large number of test executions. \nHyperexecute provides a \"Quiet mode\" as a solution to this issue and to give users more control over the \nlogging output. By only displaying significant updates during the test execution, this enables you to run \ntests with less logs. \nTo enable the Quiet Mode, you need to paas these commands in your terminal and then trigger the \ncommand to execute your job. \n● Linux / macOS \n● Windows","metadata":{"loc":{"lines":{"from":2837,"to":2852}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"tests with less logs. \nTo enable the Quiet Mode, you need to paas these commands in your terminal and then trigger the \ncommand to execute your job. \n● Linux / macOS \n● Windows \n \nenv | grep CI # Used to check if the CI variable is set to true or not \nexport CI=true # If it's not set to true, then use this command to set as true \nOutput  \n \n \n Use the HyperExecute CLI's \nFrequently Asked Questions to gain more knowledge about \nit. \n \n \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute-GUI App: A Simplified Approach to Test Execution","metadata":{"loc":{"lines":{"from":2848,"to":2865}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"note \nThe HyperExecute GUI is currently in BETA. \nAt this stage, it only supports the TestNG framework from the available languages and frameworks in \nHyperExecute. If you have specific requests for additional framework and language support, please reach \nout to our support team. \nHyperExecute has been a cornerstone for automation testing, offering unparalleled flexibility with its \nYAML configurations and command-line interface. To further elevate your testing experience, we are \nintroducing the new HyperExecute-GUI, a user-friendly graphic interface designed to simplify your test \nexecution process. \nWith HyperExecute-GUI, you can seamlessly leverage the full capabilities of HyperExecute without the \nneed for YAML files or command-line interactions. This intuitive graphical interface allows you to execute \nyour existing test scripts with ease, saving you valuable time and effort and enabling a more efficient and \neffective testing process. \nSteps to trigger your tests","metadata":{"loc":{"lines":{"from":2867,"to":2880}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"your existing test scripts with ease, saving you valuable time and effort and enabling a more efficient and \neffective testing process. \nSteps to trigger your tests  \nStep 1: Download and Install the HyperExecute-GUI installer  \nTo begin, access the LambdaTest dashboard and download the HyperExecute-GUI installer (as \ndemonstrated in the video below). This tool is essential for triggering your tests through a user-friendly \ninterface. After downloading, install the application on your system. \nStep 2: Browse your Project  \nLaunch the HyperExecute-GUI installer app and log in using your existing LambdaTest credentials. If \nyou're new to LambdaTest, you can start by signing up for a free trial. Once logged in, browse your \nproject from your local system to begin the test setup. \n \n \nStep 3: Analyze Project Details  \nThe HyperExecute-GUI will automatically analyze your test scripts to identify the framework and language","metadata":{"loc":{"lines":{"from":2878,"to":2892}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 3: Analyze Project Details  \nThe HyperExecute-GUI will automatically analyze your test scripts to identify the framework and language \nused. The GUI will then verify and check all required dependencies to ensure your project is ready for \nexecution. \nNow click on the Proceed button to move to the next step. \nStep 4: Discover and Select Tests  \nHyperExecute-GUI will automatically identify all test cases within your project and present them in a \ncomprehensive list. You can then select specific tests, an entire test project, or groups of test suites \naccording to your needs and preferences. \nStep 5: Test Execution Configuration  \nBefore executing your tests, customize the test run settings. Specify the operating system, concurrency \nlevel to optimize performance, and retries for failed tests and add a job label for easy identification and \ntracking. \nNote : For detailed information on these configuration options, please refer to our HyperExecute YAML \ndocumentation.","metadata":{"loc":{"lines":{"from":2891,"to":2905}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"tracking. \nNote : For detailed information on these configuration options, please refer to our HyperExecute YAML \ndocumentation. \nStep 6: Run the Tests  \nClick on the \"Run Test\" button to start the test execution. Click on the \"View Job\" button to get redirected \nto the HyperExecute dashboard. \nMonitor and View Results","metadata":{"loc":{"lines":{"from":2903,"to":2909}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"The HyperExecute-GUI displays the job logs in real-time as your tests run. Once complete, you can view \nthe detailed test results in the HyperExecute Dashboard.\n \n-------------------------------------------------------------------------------------------------------------------------- \nKey Features of HyperExecute \nHyperExecute provides you with the tools that you need to run your tests at the fastest speeds possible. \nIn addition to all of the core features that LambdaTest cloud provides to your tests (for example: detailed \nlogs, smart CI features, network insights, video recording, access to browsers & platforms on the cloud), \nHyperExecute takes a step forward to improve your experience. It supports all programming languages \nand major test automation frameworks. \nCheck out LambdaTest HyperExecute on Microsoft Azure Marketplace \nTest Splitting and Multiplexing \nUse Smart Auto Split Strategy, Matrix Strategy or Hybrid Strategy modes to split and execute tests as per","metadata":{"loc":{"lines":{"from":2911,"to":2923}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Test Splitting and Multiplexing \nUse Smart Auto Split Strategy, Matrix Strategy or Hybrid Strategy modes to split and execute tests as per \nyour requirements. \nDetailed Test Reports and Logs \nGet a detailed test report for every job and stream the terminal logs in real time to understand everything \nthat happened with your test. \nFailFast \nRun your jobs faster or fail them quickly to receive instant feedback and save your test time. \nJobs Prioritization \nLabel the jobs that you want to run first on HyperExecute by giving them a higher priority. \nTest Artifact Management \nHyperExecute also manages all of your test artifacts and provides you with the option to implement smart \nworkflows on your test code without modifying it. \nAI Native Root Cause Analysis \nRoot Cause Analysis and Error Classification features in HyperExecute to view different kinds of errors \nand directly land on corrective measures or fixes. \nBackground Services","metadata":{"loc":{"lines":{"from":2922,"to":2938}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Root Cause Analysis and Error Classification features in HyperExecute to view different kinds of errors \nand directly land on corrective measures or fixes. \nBackground Services \nTriggers long-running Application Servers tasks like running WebApps or Databases and generates the \nlogs report in the Dashboard. \nAuto Healing \nAuto Healing Feature allows you to automatically rеcovеr from cеrtain typеs of failurеs during thе \nеxеcution of your tеst scripts. \nProjects \nSetup your custom projects using HyperExecute GUI itself and initiate the tests execution from the \nplatform only. \nJobs Archiving \nJobs Archiving allows you to archive the non important jobs so that you and your team can focus only on \nrequired ones. \nTest Muting \nMute scenarios that have been continuously failing for a pre-defined number of times, ignore expected \nfailures, achieve better runtimes and faster feedback on the executed Jobs. \nTask Metrics","metadata":{"loc":{"lines":{"from":2936,"to":2953}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Mute scenarios that have been continuously failing for a pre-defined number of times, ignore expected \nfailures, achieve better runtimes and faster feedback on the executed Jobs. \nTask Metrics \nTrack your CPU, and Memory utilization of the virtual machines for a seamless user experience. \nAvailability  \nHyperExecute is available on Windows, Linux and Mac. You can use HyperExecute in more than 60 \nregions that are supported by Microsoft Azure. \nIntegrations  \nTo ensure that your testing environment can be optimised, HyperExecute provides you with multiple \nIntegrations, such as: \nIntegrations with CI/CD Tool","metadata":{"loc":{"lines":{"from":2951,"to":2961}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Explore a range of CI/CD tool integrations to optimize your testing pipeline. \nIntegration with Products \nEffortlessly integrate with products like Tosca, Katalon and more for streamlined test execution and \nmanagement. \nIntegration with LambdaTest Products \nIntegrate seamlessly with other LambdaTest products sucha as Smart UI or Real Device and enhance \nyour testing environment's efficiency. \nSecurity  \nHyperExecute prioritises the safety and security of your data above everything else. The entirety of your \ndata is encrypted for the entire duration of your testing lifecycle. HyperExecute is compliant with the \nindustry leading security standards offering you: \n● Data Encryption and Compliance : HyperExecute prioritizes data safety through full encryption, \nadhering to industry standards like (SOC2, GDPR, and CCPA). \n● Dedicated Proxy Server Option : Ensure secure connections by utilizing dedicated proxy servers \nfor your testing activities.","metadata":{"loc":{"lines":{"from":2963,"to":2977}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"adhering to industry standards like (SOC2, GDPR, and CCPA). \n● Dedicated Proxy Server Option : Ensure secure connections by utilizing dedicated proxy servers \nfor your testing activities. \n● Automatic Tunnel Management : Maintain data security for private websites with automatic tunnel \nmanagement through Network Address Translation (NAT) instances. \nEnterprise  \nFor enterprises that want to keep everything behind their own firewalls, HyperExecute comes with private \ncloud facilities. You can set up your own cloud runners and storage which ensures that no data leaves \nyour organisation’s firewalls. \nYou can use HyperExecute’s Quickstart feature to run your first test, and go through our Concepts page \nto understand the ins and out of HyperExecute. \nFrequently asked questions about HyperExecute Features. \n-------------------------------------------------------------------------------------------------------------------------- \nTest Splitting and Multiplexing","metadata":{"loc":{"lines":{"from":2975,"to":2988}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-------------------------------------------------------------------------------------------------------------------------- \nTest Splitting and Multiplexing \nHyperExecute has 3 different modes to select and execute tests: \n● Auto Split Strategy \n● Matrix Strategy \n● Hybrid Strategy \nYou can utilise these modes to split and execute tests as per your requirements. \nAuto Split Strategy \nAllows you to distribute your tests over multiple nodes by intelligently distributing them over multiple \nnodes to reduce the test execution time. \nMatrix Multiplexing Strategy \nAllows you to split the test cases across different combinations of browsers, OS and custom parameters \nlike files, folders, features, scenarios, etc. \nHybrid Strategy \nCombination of both Auto Split Strategy and Matrix Multiplexing Strategy to run tests in parallel on our \nvirtual machines. \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":2987,"to":3003}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"virtual machines. \n-------------------------------------------------------------------------------------------------------------------------- \nAutoSplit Strategy \nThe Smart Auto Split Strategy enables you to distribute tests across multiple virtual machines efficiently. \nThis strategy ensures optimal utilization of concurrency by allowing you to split tests based on various \nlevels, such as files, modules, and scenarios. \nKey Benefits of Auto Split Strategy  \n● Efficient distribution of tests across nodes. \n● Fine-grained control over test distribution. \n● Maximization of concurrency for faster results.","metadata":{"loc":{"lines":{"from":3002,"to":3011}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n● Automatic reordering of test cases, prioritizing failed ones for faster feedback in subsequent \nexecutions. \n \nHyperExecute provides flexibility to distribute tests at file level, scenario level, module level, and \npractically anything, provided you have a way to list down all the possible values of the entity that has to \nbe distributed. \nEnabling Auto-Test Splitting  \nFor enabling auto-test splitting, set the autosplit key to true in the HyperExecute YAML file. \n \nautosplit: true \nAlong with that, you need to provide testDiscovery and testRunnerCommand flags in your YAML file as \nwell. \nConfiguration Parameters  \n1. concurrency  \nThe concurrency key indicates the total number of concurrent sessions that can run in parallel. With both \nof these commands (testDiscovery and testRunnerCommand), HyperExecute intelligently distributes tests \nover multiple virtual machines as specified by the concurrency directive in the YAML file.","metadata":{"loc":{"lines":{"from":3013,"to":3030}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nFor example, assume that the total number of test scenarios [discovered via testDiscovery] are 27 and \nconcurrency is set to 7. In this case, HyperExecute would allocate 7 nodes for running the 27 tests in \nparallel. \n \nconcurrency: 7 \n2. testDiscovery  \n● It is used to list down all the values to be distributed. HyperExecute will execute the testDiscovery \ncommand verbatim and expects distinct values to be on separate lines. It can be as simple as a \nlist of files on different lines. \n● This can be used later to split tests over files, modules, or any level supported by your language \nand framework. \n● It is used for locating/discovering the tests that are a part of the project. You can use the \ncombination of grep, awk, sed, or any valid command to locate the tests that you intend to run. \nFor NodeJS, usually at file level, for Python at class level, in Java at class and module level. For","metadata":{"loc":{"lines":{"from":3032,"to":3048}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"combination of grep, awk, sed, or any valid command to locate the tests that you intend to run. \nFor NodeJS, usually at file level, for Python at class level, in Java at class and module level. For \nCucumber based frameworks at scenario level or feature level or at tag level. \nA few samples are given below: \n \n# The following command (or value) when assigned to testDiscoverer key searches for the \nscenarios by matching the string Scenario [or Scenario Outline] in the .feature  files located in the \n*src* directory of the project. \ntestDiscovery: \n type: raw \n mode: dynamic \n command: grep -nri 'Scenario:\\^|Scenario Outline:' src -ir --include=\\*.feature |  awk '{print $1}' | \nsed 's/\\.\\///g' | sed 's/\\(.*\\):/\\1 /' \n \n \ntestDiscovery: \n type: raw \n mode: dynamic \n command: grep 'class name' testng.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/\\x3e//g' \n3. testRunnerCommand  \n● It is used to run a single item from the testDiscovery. You need to add $test in the","metadata":{"loc":{"lines":{"from":3047,"to":3067}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"3. testRunnerCommand  \n● It is used to run a single item from the testDiscovery. You need to add $test in the \ntestRunnerCommand for interpolating one of the values from the testDiscovery. \n● It tells the system how to run a single test entity in isolation. This entity could be a file, module, \nfeature or scenario. Test runner command will run over each of the values extracted from the \ntestDiscovery command. \nAdvanced Concepts  \nAutomatic Reordering of Test Cases  \nSuppose you are performing regression testing in your large test suite project via github actions, but some \ntest cases are failing unexpectedly for no reason. These flaky tests have become a time-consuming","metadata":{"loc":{"lines":{"from":3066,"to":3075}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"nightmare for QA and developers. After fixing the issues, you trigger the testing pipeline again, but you \nhave to wait to check the status of that particular test. \nIt would be much better if those flaky tests ran first in the sequence, so you don't have to wait longer to \nsee the status of your previously failed tests. \nThat's exactly the problem HyperExecute's autosplit with automatic re-ordering aims to solve! It's like \nhaving a testing assistant who remembers which tests were tricky last time. \nHow does it work?  \nWhen you run tests with HyperExecute's autosplit feature, your tests are divided up and run \nsimultaneously on multiple machines, executing them in parallel. This is great for speeding things up, but \nduring this run, HyperExecute keeps track of which tests fail. \nAfter the initial run is complete, HyperExecute takes note of the failing tests. It may use this information to \nautomatically reorder your tests for the next time you run them.","metadata":{"loc":{"lines":{"from":3077,"to":3088}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"After the initial run is complete, HyperExecute takes note of the failing tests. It may use this information to \nautomatically reorder your tests for the next time you run them. \nOn subsequent runs, HyperExecute might prioritize the failing tests from the previous run for faster \nfeedback. \n \n-------------------------------------------------------------------------------------------------------------------------- \nMatrix Multiplexing Strategy \nHyperExecute's Matrix Multiplexing Strategy allows you to execute test cases across a variety of \ncombinations efficiently. This strategy is especially useful when dealing with browser and OS \ncombinations or other parameters like files, tags, and more. \nBy utilizing the Matrix Multiplexing Strategy, you can parallelize your testing process and achieve faster \nresults. HyperExecute generates permutations and combinations using key-value pairs, launching virtual \nmachines for each combination and running tests in parallel.","metadata":{"loc":{"lines":{"from":3087,"to":3099}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n \nConfiguration and Execution  \nSetting Up Matrix Multiplexing  \nTo initiate Matrix Multiplexing, define key-value pairs in the HyperExecute YAML file. Each pair represents \na combination of parameters under consideration, such as browser versions, OS, files, folders, tags, \nfeatures, scenarios, input values, etc. \nGenerating and Running Virtual Machines  \nHyperExecute will generate and manage virtual machines for each key-value combination, injecting them \nas environment variables or command-line variables. The specified commands will then run for each \ncombination. \nConsider a scenario where the matrix calculation results in 10 different possible combinations. In such a \ncase, 10 different Test Execution nodes, known as Tasks will be spawned in parallel and all the tests will \nbe run in parallel on the respective node. \nYou can use a key as [browser], [files] or any other unique key name. \n \nmatrix: \n files: [\"Test1\",\"Test2\",\"Test3\"] \ntestSuites: \n - mvn test -Dtest=$files","metadata":{"loc":{"lines":{"from":3101,"to":3120}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"You can use a key as [browser], [files] or any other unique key name. \n \nmatrix: \n files: [\"Test1\",\"Test2\",\"Test3\"] \ntestSuites: \n - mvn test -Dtest=$files \nIn the YAML file shown above, files is a user-generated key. Files and its associated value(s) are opaque \nto HyperExecute. You can also name it as Files1, FileNames, etc., as long as the Key is unique in that \nYAML file. \nWhen to opt for Matrix Strategy  \nMatrix multiplexing strategy is ideally used when you have to run specific test scenarios across different \ninput (or value) combinations. For example, this approach would be useful if you have to run \"scenario1\" \non \"N\" version(s) of Chrome and Firefox browsers (that are installed on the Windows 10 platform). \nHere, ‘N’ could be browser version number(s) that are common between the two web browsers e.g. 68.0, \n69.0, 89.0, etc. You can also leverage matrix multiplexing strategy to run scenarios based on different","metadata":{"loc":{"lines":{"from":3115,"to":3129}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"69.0, 89.0, etc. You can also leverage matrix multiplexing strategy to run scenarios based on different \ntags, files, features, and more. You can specify required key:value pairs in the HyperExecute YAML file or \nyou can specify the same in the source code. \nIn matrix multiplexing strategy, key:value pairs mentioned in the source code override the same key:value \npairs mentioned in the HyperExecute YAML file.","metadata":{"loc":{"lines":{"from":3129,"to":3133}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nLet’s modify the above YAML file to run the scenarios on \"latest\" version of the Firefox browser: \n \n#runson defines the OS of your test execution node. \nrunson: ${matrix.os} \n \nmatrix: \n os: [\"win\", \"linux\"] \n version: [\"latest\", \"beta\", \"dev\"] \n browser: [\"Chrome\", \"Firefox\"] \n files: [\"@File1\",\"@File2\"] \n \nA combination of test scenarios is generated using the following formula: \nTotal Test Scenarios = [Entries in os List] x [Entries in browser version List] x [Entries in browser List] x \n[Entries in Files List] \nLet’s take a case where the test scenarios are implemented in Java. Files File1.java and File2. java \ncontains one test method each. In such a scenario, the total number of test combinations would be (1 x 1 \nx 2 x 2) → 4. Here is the list of the total test scenarios that would be run on HyperExecute (based on the \nYAML file shown earlier): \nTest Number FileName OS Browser Browser Version \n1 @File1 (Test Method_1) Win (Windows 11) Chrome latest","metadata":{"loc":{"lines":{"from":3135,"to":3156}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"YAML file shown earlier): \nTest Number FileName OS Browser Browser Version \n1 @File1 (Test Method_1) Win (Windows 11) Chrome latest \n2 @File1 (Test Method_1) Win (Windows 11) Firefox latest \n3 @File2 (Test Method_2) Win (Windows 11) Chrome latest \n4 @File2 (Test Method_2) Win (Windows 11) Firefox latest \nExclusion in Matrix Strategy  \nAssuming that you created a matrix but there is one specific combination that you don't want the system \nto consider. This can happen for instance if you have a combination of Safari and Windows which won't \nbe a valid combination, in such cases you can exclude such a combination using the exclusionMatrix \nparameter as shown below. \n \n#runson defines the OS of your test execution node. \nrunson: ${matrix.os} \n \nmatrix: \n # Browser version(s) separated by Comma \n version: [\"latest\"] \n # OS name sepataed by Coma \n os: [\"win\", \"mac\", \"linux\"] \n # Browser name separated by Comma","metadata":{"loc":{"lines":{"from":3154,"to":3174}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"browser: [\"Chrome\", \"Firefox\", \"Safari\"] \n # Test Files separated by Comma \n files: [\"@File1\",\"@File2\",\"@File3\",\"@File4\"] \n \nexclusionMatrix: \n - os: [win] \n   browser: [\"Safari\"] \n   files: [\"@File2\",\"@File3\"] \n \n \n-------------------------------------------------------------------------------------------------------------------------- \nHybrid Strategy in HyperExecute \nHyperExecute’s Hybrid Strategy is a combination of AutoSplit and Matrix Strategy. You can run all of the \ncombinations of Matrix Strategy, and use the AutoSplit Strategy to run them in parallel on our virtual \nmachines. \nWhy do you need the Hybrid Strategy?  \n● Addressing Long-Running Matrix Jobs : For Matrix jobs involving numerous combinations, \nexecution time might be longer. Hybrid Strategy mitigates this by distributing tests across \nspecified machines. \n● Time-Saving Potential of Hybrid Approach : The Hybrid Strategy is a time-saving solution for","metadata":{"loc":{"lines":{"from":3176,"to":3195}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"specified machines. \n● Time-Saving Potential of Hybrid Approach : The Hybrid Strategy is a time-saving solution for \nmatrix-intensive jobs. By harnessing parallelism, you can expedite testing without compromising \ncoverage. \n \nBased on the above instructions passed as parameters in your YAML file, HyperExecute will now \ngenerate Virtual Machines. \n● 1 VM for Win + Chrome \n● 1 VM for Win + Firefox \n● 1 VM for Linux + Chrome \n● 1 VM for Linux + Firefox","metadata":{"loc":{"lines":{"from":3194,"to":3204}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\nNow the given parallelism is 2, hence it will create the same set of the above combination, and since \nHybrid Mode is the combination of Autosplit and Matrix method, HyperExecute will intelligently distribute \ntests over these Virtual Machines. \nUsing Hybrid Strategy with HyperExecute  \nPrerequisites:  \n● The version of the YAML file that you are using is 0.1. \n● The test discovery mode has to be dynamic. \nYou can run your tests in Hybrid Strategy by configuring the following flags in your YAML file. \n● autosplit: To use HyperExecute’s AutoSplit Strategy, you need to set this flag to true. Similarly, \nthis flag should be set to true in Hybrid Strategy too. \n \nautosplit: true \n●  \nparallelism: This key indicates the number of tests that can run in parallel. \n \nparallelism: 5 \n● You can define the parallelism for each operating system. If you have not defined the parallelism","metadata":{"loc":{"lines":{"from":3206,"to":3226}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"parallelism: This key indicates the number of tests that can run in parallel. \n \nparallelism: 5 \n● You can define the parallelism for each operating system. If you have not defined the parallelism \nfor any particular OS, then the value for that OS will be set to the global parallelism value. \n \nParallelism: 4 \nwinParallelism: 2 \nmacParallelism: 3 \n●  \nIn the example given above, the parallelism for Linux tests is not defined and if any tests are run \non Linux OS, then they will be run in 4 different virtual machines because the global value of \nparallelism is set to 4. \n● matrix: This flag is used to define the combination of tests you want to run in your job. You can \nuse the matrix flag to define combinations of browsers, operating systems, and even custom \nparameters like files, folders, tags, scenarios, and more. \n \nmatrix: \n os: [mac, win, linux] \n var: [1,2,3] \nrunson: ${matrix.os} \n●","metadata":{"loc":{"lines":{"from":3223,"to":3244}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"parameters like files, folders, tags, scenarios, and more. \n \nmatrix: \n os: [mac, win, linux] \n var: [1,2,3] \nrunson: ${matrix.os} \n●  \nIf you want to run a combination of different operating systems in Hybrid Strategy, then you can","metadata":{"loc":{"lines":{"from":3238,"to":3245}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nconfigure the runson key as ${matrix.os}. This will only work if you have added some input for the \nos flag under matrix in your YAML file. \n● testDiscovery: The testDiscovery command is used to list down all the values that have to be \ndistributed. It can be used to split tests over files, modules, or any level supported by your \nlanguage and framework. \n \ntestDiscovery: \n type: raw \n mode: dynamic \n command: snooper --featureFilePaths=src/main//Features/ --frameWork=java \n● It can also be defined selectively for every platform. If you have not defined the testDiscovery \ncommand for a specific OS, then it takes the global value of the command. \n \ntestDiscovery: \n type: raw \n mode: dynamic \n command: snooper --featureFilePaths=src/main//Features/ --frameWork=java \n   winCommand: snooper --featureFilePaths=src/main//Features/ --frameWork=java \n   macCommand: snooper --featureFilePaths=src/main/**/Features/ --frameWork=java \n●","metadata":{"loc":{"lines":{"from":3247,"to":3269}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"winCommand: snooper --featureFilePaths=src/main//Features/ --frameWork=java \n   macCommand: snooper --featureFilePaths=src/main/**/Features/ --frameWork=java \n●  \nIn the example given above, the testDiscovery command for Linux will be: snooper \n--featureFilePaths=src/main//Features/ --frameWork=java \n● testRunnerCommand: The testRunnerCommand tells the system how to run a single test entity in \nisolation. This entity could be a file, module, feature or scenario. It will run over each of the values \nextracted from the testDiscovery command. \n \ntestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" -DOs=\"win 10\" \n winTestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" -DOs=\"win \n10\" \n macTestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" \n-DOs=\"Mac\" \n linuxTestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" \n-DOs=\"linux\"","metadata":{"loc":{"lines":{"from":3267,"to":3282}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"10\" \n macTestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" \n-DOs=\"Mac\" \n linuxTestRunnerCommand: mvn test -Dcucumber.options=\"$test\" -Dscenario=\"$test\" \n-DOs=\"linux\" \n● If the testRunnerCommand is not defined for a particular OS, then it takes the global value of the \nparameter that is defined. In the example given above, if the testRunnerCommand was not \ndefined for macOS, then it would have taken the value: mvn test -Dcucumber.options=\"$test\" \n-Dscenario=\"$test\" -DOs=\"win 10\" \nSample YAML file  \nA sample YAML file used to run a job on Hybrid Strategy for your reference below:","metadata":{"loc":{"lines":{"from":3278,"to":3288}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n \n--- \nversion: 0.1 \nrunson: ${matrix.os} \n \nautosplit: true \nconcurrency: 3 \n \nmatrix: \n os: [mac, win, linux] \nparallelism: 2 \n \nenv: \n CACHE_DIR: m2_cache_dir \n \ncacheKey: '{{ checksum \"pom.xml\" }}' \ncacheDirectories: \n - ${CACHE_DIR} \n \npre: \n - mvn -Dmaven.repo.local=${CACHE_DIR} -Dmaven.test.skip=true clean install \n \ntestDiscovery: \n type: raw \n mode: dynamic \n macCommand: | \n   grep 'test name' xml/testng_mac.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/\\x3e//g' \n winCommand: | \n   grep 'test name' xml/testng_win.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/\\x3e//g' \n linuxCommand: | \n   grep 'test name' xml/testng_linux.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/\\x3e//g' \n${param} \n \nlinuxTestRunnerCommand: mvn test -Dplatname=linux -Dmaven.repo.local=./.m2 \ndependency:resolve -DselectedTests=$tests \nwinTestRunnerCommand: mvn test `-Dplatname=win `-Dmaven.repo.local=.m2 \ndependency:resolve `-DselectedTests=$tests","metadata":{"loc":{"lines":{"from":3290,"to":3327}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"dependency:resolve -DselectedTests=$tests \nwinTestRunnerCommand: mvn test `-Dplatname=win `-Dmaven.repo.local=.m2 \ndependency:resolve `-DselectedTests=$tests \nmacTestRunnerCommand: mvn test -Dplatname=mac -Dmaven.repo.local=./.m2 \ndependency:resolve -DselectedTests=$tests \n \nretryOnFailure: false \nmaxRetries: 1 \n \npost: \n - cat yaml/${matrix.os}/testng_hyperexecute_matrix_sample.yaml","metadata":{"loc":{"lines":{"from":3325,"to":3335}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \nmergeArtifacts: true \n \nuploadArtefacts: \n - name: XmlReports \n   path: \n     - target/surefire-reports/html/** \n \njobLabel: ['hybrid-mode'] \n \n-------------------------------------------------------------------------------------------------------------------------- \nJob Artifacts \nArtifacts are files generated during test execution, including reports and logs. You can refer to these files \nfor obtaining consolidated information about the executed test cases, and can seamlessly interact with \nartifacts through the HyperExecute UI. \nFollowing the completion of a Job, these artifacts are automatically stored in the artifacts folder, \ndistinguishing previous files into old-artifacts on subsequent runs while retaining the recent files in \nartifacts. \nSteps to Generate and Download Artifacts  \nFollow the below mentioned steps to generate the Artifacts for your desired framework: \nStep 1: Go to the HyperExecute YAML file","metadata":{"loc":{"lines":{"from":3337,"to":3359}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"artifacts. \nSteps to Generate and Download Artifacts  \nFollow the below mentioned steps to generate the Artifacts for your desired framework: \nStep 1: Go to the HyperExecute YAML file \nStep 2: Add the below mentioned parameters in the YAML file to generate the Artifacts \n \nuploadArtifacts: \n   - name: Executed-Job-Artifacts #user defined name of the artifact \n     path: \n       - src/test/index.html #path of the generated artifact \n   - name: My-Job-Artifacts \n     path: \n       - src/collect/info.html \nnote \n● If you are generating multiple artifacts, then it is recommended to use this parameter, \nmergeArtifacts in your YAML, as it will zip all your Artifacts files while downloading from the \ndashboard. \n● You can replace the Artifacts folder name value with any of the Matrix parameters value. \n \nmatrix: \n  os: [win] \n  browser: [\"chrome-latest-1\", \"firefox-latest-2\"]","metadata":{"loc":{"lines":{"from":3356,"to":3377}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"mergeArtifacts: true \nuploadArtefacts: \n - name: $browser \n   path: \n     - allure-results/ \nAs shown in the above code, the artifacts folder generated will be named chrome-latest-1 and \nfirefox-latest-2 \nStep 3: Now trigger your job and go to the HyperExecute dashboard. \nStep 4: Click on any of the artifacts generated. You can also download the artifacts from the dashboard \n \nHere is the sample artifact generated. \n\n \n \n \n-------------------------------------------------------------------------------------------------------------------------- \nTest Artifacts Management \nHyperExecute now allows you to access your Artifacts directly from the HyperExecute UI and create \nURLs for them. \n \nNavigating Artifacts  \nTo view or download your Artifacts, click the Artifacts button. \n \nFor a Single file  \nIf you only have one file as an Artifact, then a preview of the file will be opened on your browser.","metadata":{"loc":{"lines":{"from":3380,"to":3404}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"For Multiple files  \nIf you have multiple files as an Artifact, then you will get an option to download all the files directly. \n \nManaging Test Artifacts URL  \nTo make the most of this feature, follow the steps below. \nPrioritize: To access your Artiacts for a particular Job ID, they must have a name. \n1. Constructing the URL  \nThe URL to view an Artifact in a standard job is: \nhttps://hyperexecute.lambdatest.com/artifact/view/<job-id>?artifactName=<artifact-name> \n● Insert the Job ID of your test and the name of your Artifact in place of the <job-id> and \n<artifact-name> placeholder values. \n● This URL will take you to a page where you can access the Artifact and its contents.","metadata":{"loc":{"lines":{"from":3407,"to":3418}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"For example, if you want to access the Artifacts for a job with Job ID: \n2d835a95-e7ea-4ea7-83e8-608c2f71d95c, and the name of your Artifact is ExecutionSnapshots, then \nyour URL should be: \nhttps://hyperexecute.lambdatest.com/artifact/view/2d835a95-e7ea-4ea7-83e8-608c2f71d95c?artifactNam\ne=ExecutionSnapshots \n \n2. Additional Filters  \nYou can also use this feature to cycle through the files in your Artifacts. \n1. filter=*.log: You can filter through all of your files by adding this at the end of your URL. However, you \nwill have to insert the entire path of your Artifacts folder or the names of the folder you want to use the \nfilter in. \n● For example, if you want to filter through the .html files of a folder called site with the path \n/target/site/, for the same job that was used above, then your URL will be: \nhttps://hyperexecute.lambdatest.com/artifact/view/2d835a95-e7ea-4ea7-83e8-608c2f71d95c?artifactNam\ne=ExecutionSnapshots&filter=target/site/*.html","metadata":{"loc":{"lines":{"from":3420,"to":3434}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"https://hyperexecute.lambdatest.com/artifact/view/2d835a95-e7ea-4ea7-83e8-608c2f71d95c?artifactNam\ne=ExecutionSnapshots&filter=target/site/*.html \n \n2. view=flat: If you add this at the end of the Artifact URL, then you will be able to view your artifacts in a \nlist instead of a tree structure. \n● For example, if you want to view the results of the filter used above in a flat manner, then your \nURL will be: \nhttps://hyperexecute.lambdatest.com/artifact/view/2d835a95-e7ea-4ea7-83e8-608c2f71d95c?artifactNam\ne=ExecutionSnapshots&filter=target/site/*.html&view=flat","metadata":{"loc":{"lines":{"from":3433,"to":3441}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"3. &taskId=<task-id>: If you want to access the Artifacts for a particular task, then add this in your URL. \n● For example, if you want to view the Artifacts for a task with Task ID \ndf8604cf-7af2-48b6-903d-786028078640 for the same job that was used above, then your URL \nwill be: \nhttps://hyperexecute.lambdatest.com/artifact/view/2d835a95-e7ea-4ea7-83e8-608c2f71d95c?artifactNam\ne=ExecutionSnapshots&taskId=2731df9f-bc9f-4fbc-85c4-fe675aeffeb7","metadata":{"loc":{"lines":{"from":3444,"to":3449}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n \n \n-------------------------------------------------------------------------------------------------------------------------- \nJob Reports \nReports provide summarized job information, including status counts and links to tests. You can generate \nand download detailed reports at the end of job execution that helps you analyze the outcome of your \ntests based on your framework. \nnote \nRefer to this detailed Job Reports page to learn more about the types of reports being offered and how to \nconfigure them. \nSteps to Generate and Download Reports  \nFollow the below mentioned steps to generate the Reports for your desired framework: \nStep 1: Go to the HyperExecute YAML file \nStep 2: Add the below mentioned parameters in the YAML file to generate the Reports \n● You must set the report flag to true. \n● You will have to specify the location, type and framework associated with your report in the \npartialReports field to generate it. \n \nreport: true \npartialReports:","metadata":{"loc":{"lines":{"from":3451,"to":3471}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● You will have to specify the location, type and framework associated with your report in the \npartialReports field to generate it. \n \nreport: true \npartialReports: \n frameworkName: testng \n location: target/surefire-reports/html \n type: html \nNote: If you do not specify a framework but you do mention the type of the report, then a report of the \ndefault framework is created. \nStep 3: Now trigger your job and go to the HyperExecute dashboard. \nStep 4: Click on the Open button of the Reports.","metadata":{"loc":{"lines":{"from":3467,"to":3478}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n \nHere is the sample report generated. \n \nGenerate Multiple Reports  \nIf you want to generate multiple reports of different types supported by HyperExecute, simply add the \nrequired specifications in the partialReports field as shown below: \n \npartialReports: \n - location: reports/json \n   type: json \n   frameworkName: extent-native \n   email:","metadata":{"loc":{"lines":{"from":3480,"to":3492}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\n       to: \n         - johndoe@example.com \n - location: target/surefire-reports \n   type: html \n   frameworkName: testng \n   email: \n       to: \n         - johndoe@example.com \n \n \n-------------------------------------------------------------------------------------------------------------------------- \nReceive Job Reports and Artifacts via Email \nDownloading Job Reports and Artifacts manually from the HyperExecute UI can be a time-consuming and \nrepetitive task. To address this pain point, HyperExecute now provides the convenience of receiving Job \nReports and Artifacts directly to your specified email addresses. This eliminates the need for manual \ndownloads, allowing you to access critical job information instantly and effortlessly. Embrace the efficiency \nof automated delivery and spend less time navigating the UI and more time focusing on your development \ntasks. \nYAML Configuration","metadata":{"loc":{"lines":{"from":3494,"to":3515}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"of automated delivery and spend less time navigating the UI and more time focusing on your development \ntasks. \nYAML Configuration  \nTo receive the Artifacts and Reports via mail, you will have to add the email flag with a to tag to select the \nemail IDs where the report or artifacts should be sent. The example added below shows you how to add \nyour email IDs: \n \nemail: \n to: \n   - <your_email_id@example.com> \n   - <another_email_id@example.com> \nYou can also use the currentUser and org tag to send the reports to the email ID of your choice. \n● currentUser: This tag will allow you to send the report to the email ID associated with your \nLambdaTest account. \n \nemail: \n to: \n   - currentUser \n● org: This tag will allow you to send the report to all the email IDs associated with your \norganization on LambdaTest.","metadata":{"loc":{"lines":{"from":3513,"to":3532}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nemail: \n to: \n   - org \nHow to receive your Artifacts via Email?  \nFollow the below mentioned steps to receive your Artifacts via email: \nStep 1: You need to mention the email flag along with the to tag under the uploadArtifacts flag in the \nYAML file configuration. \nNOTE: You can also add a separate email ID for each report generated, as mentioned below in the YAML \ncode. \n \nuploadArtifacts: \n - name: Reports 1 \n   path: \n     - ProtractorTestReport.html \n     - xmlresults.xml \n   email: \n     to: \n       - <your_email_id@example.com> \n       - <another_email_id@example.com> \n       \n - name: Reports 2 \n   path: \n     - ProtractorTestReport.html \n     - xmlresults.xml \n   email: \n     to: \n       - currentUser \n       \n - name: Reports 3 \n   path: \n     - ProtractorTestReport.html \n     - xmlresults.xml \n   email: \n     to: \n       - org \nHow to receive your Job Report via Email?  \nFollow the below mentioned steps to receive your Job Reports via email:","metadata":{"loc":{"lines":{"from":3535,"to":3572}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"- xmlresults.xml \n   email: \n     to: \n       - org \nHow to receive your Job Report via Email?  \nFollow the below mentioned steps to receive your Job Reports via email: \nStep 1: Set the report flag to true in the HyperExecute YAML. \nStep 2: Make sure to check the location, type and frameworkName fields in the partialReports flag are \nconfigured correctly. \nStep 3: Add the email flag with to tag in the YAML file configuration:","metadata":{"loc":{"lines":{"from":3567,"to":3576}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nUnset\nUnset\n \nreport: true \npartialReports: \n frameworkName: testng \n location: target/surefire-reports/html \n type: html \n email: \n   to: \n     - <your_email_id@example.com> \n     - <another_email_id@example.com> \nCorrect format of entering the Email IDs  \nThe Email IDs that you enter must be valid. You can enter your email IDs in the formats mentioned below. \n \n- John Doe <johndoe@example.com> \n- John <johndoe@example.com> \n- johndoe@example.com \nHowever, if your email IDs are added in an unsupported format, the feature will not work. A few examples \nof unsupported email ID formats are added below. \n \n- John Doe johndoe@example.com> \n- John <<johndoe@example.com> \n- John johndoe@example.com \n- John Doe \nNow that you have added your email IDs successfully, you can access your job reports. Download the \nreport from the email, and get all the information that you need. Alternatively, you can also open the \nclickable link in the email and view the report on your browser.","metadata":{"loc":{"lines":{"from":3578,"to":3607}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"report from the email, and get all the information that you need. Alternatively, you can also open the \nclickable link in the email and view the report on your browser. \nHow to dynamically set your email address?  \nIn your YAML configuration file instead of hardcoding the email address to which you want to share the \nreport or artifacts, you can use a variable that can be set dynamically when you pass the execution \ncommand. \nIn this example, the ${email} and ${email1} variables are used to specify the email address. You can pass \nthe value of this variable using the vars flag as an argument when executing your test via CLI. \nhyperexecute.yaml \n \nreport: true \npartialReports:","metadata":{"loc":{"lines":{"from":3606,"to":3617}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n location: target/surefire-reports/html \n type: html \n frameworkName: extent \n email: \n     to: \n       - \"${email}\" \n       - \"${email1}\" \n \nuploadArtifacts: \n - name: Reports 1 \n   path: \n     - ProtractorTestReport.html \n   email: \n     to: \n       - \"${email}\" \n       - \"${email1}\" \nThis is how you can pass the value of your email address via CLI by running the command \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE --vars \"email=xyz@abc.com\" \n--vars \"email1=abc@xyz.com\" \nnote \nIf you have a pipeline that requires multiple email values, consider consolidating them into a single \nvariable separated by commas. This approach eliminates the need for multiple variables or manual \npipeline edits whenever the email list changes. \nhyperexecute.yaml \n \nreport: true \npartialReports: \n location: target/surefire-reports/html \n type: html \n frameworkName: extent \n email: \n     to: \n       - \"${email}\" \n \nuploadArtifacts: \n - name: Reports 1 \n   path:","metadata":{"loc":{"lines":{"from":3619,"to":3658}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"report: true \npartialReports: \n location: target/surefire-reports/html \n type: html \n frameworkName: extent \n email: \n     to: \n       - \"${email}\" \n \nuploadArtifacts: \n - name: Reports 1 \n   path: \n     - ProtractorTestReport.html","metadata":{"loc":{"lines":{"from":3647,"to":3659}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n   email: \n     to: \n       - \"${email}\" \n \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE --vars \n\"email=xyz@abc.com,abc@xyz.com,def@wxy.com\" \n \n-------------------------------------------------------------------------------------------------------------------------- \nFailFast \nHyperExecute's FailFast feature lets you to optimize your testing regimen by automatically aborting jobs \nthat surpass a specified number of consecutive failures. This intelligent feature ensures that you receive \nprompt feedback and maintain a well-orchestrated testing process. \n \nmaxNumberOfTests  \nThe maxNumberOfTests flag serves as a parameter that determines the number of consecutive tests that \nneed to be failed before the job is aborted automatically. \nFor instance, if you set the maxNumberOfTests flag to 4, then your job will be aborted after four \nconsecutive test failures. However, if three of your tests fail and the fourth one is passed, then the","metadata":{"loc":{"lines":{"from":3661,"to":3680}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"consecutive test failures. However, if three of your tests fail and the fourth one is passed, then the \nFailFast feature will reset and look for the next four consecutive tests that are failing. \nThis allows you to speed up your test execution process and provide you with faster feedback. \nImplementing FailFast  \nTo leverage the FailFast feature, simply incorporate the following command in your HyperExecute YAML \nfile:","metadata":{"loc":{"lines":{"from":3680,"to":3685}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \nfailFast: \n   maxNumberOfTests: 2 \nFor a deeper understanding of the HyperExecute YAML and its versatile features, we invite you to explore \nour dedicated HyperExecute YAML documentation page. This resource-rich section provides valuable \ninsights to empower your testing endeavors. \n \nIf you have more questions, then just give us a shout and we will answer them for you. \n \n-------------------------------------------------------------------------------------------------------------------------- \nPrioritize Your Tests \nHyperExecute's job prioritization feature empowers you to ensure that your most crucial tests are \nexecuted with precision and timeliness. This feature not only enhances the order of execution but also \nenables effortless searchability within your testing repository. \njobLabel  \nThe jobLabel YAML key is used to add tags or labels to jobs. In addition to prioritizing your jobs, you can","metadata":{"loc":{"lines":{"from":3687,"to":3704}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"enables effortless searchability within your testing repository. \njobLabel  \nThe jobLabel YAML key is used to add tags or labels to jobs. In addition to prioritizing your jobs, you can \nalso use the job labels to search for a job using the relevant label or tag that is assigned to it. To learn \nmore about how to use this feature with the HyperExecute YAML, go through this section. \nPrioritize your Jobs using jobLabel  \nYou can prioritize your jobs by assigning the job labels low, medium or high to your jobs. The jobs with the \npriority high will be executed first, followed by medium priority jobs with low priority jobs at the end. \n \njobLabel: ['high', 'medium', 'low'] \nnote \n● By default, all of your jobs are assigned medium priority. \n● The priority keys are not case sensitive. \n● You can use the priority keys along with your regular job labels too. \nVisualizing Priority Levels  \nAs you can see in the diagram below, we have executed 6 jobs; one job is designated as high priority,","metadata":{"loc":{"lines":{"from":3702,"to":3717}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Visualizing Priority Levels  \nAs you can see in the diagram below, we have executed 6 jobs; one job is designated as high priority, \nthree are assigned as medium priority, while the remaining two hold lower priority labels. HyperExecute is \nconfigured to adhere to this prioritization framework during execution. As a result, the high-priority job \ntakes precedence and is processed first, followed sequentially by the medium-priority job and \nsubsequently the low-priority job, even though the higher-priority job is executed later. This prioritized \nexecution sequence ensures efficient task management aligned with the specified priority levels.","metadata":{"loc":{"lines":{"from":3716,"to":3722}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"If you have more questions, then just give us a shout and we will answer them for you. \n \n-------------------------------------------------------------------------------------------------------------------------- \nAI Native Test Failure Analysis in HyperExecute \nThe AI Native Root Cause Analysis (RCA) and Error Detection for HyperExecute testing helps you to \nquickly identify various error categories and offers a comprehensive overview of their underlying causes. \nIt analyzes your test logs and identify the root cause of failures, so you can take corrective action quickly \nand efficiently. \n \nWhy Test Failure Analysis?  \nConventional test failure resolution demands manual analysis of logs and data sources, resulting in \nsubstantial delays. These inefficiencies hinder productivity and disrupt software development. \nHyperExecute's AI Native Test Failure Analysis seamlessly addresses these challenges, offering a","metadata":{"loc":{"lines":{"from":3725,"to":3737}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"substantial delays. These inefficiencies hinder productivity and disrupt software development. \nHyperExecute's AI Native Test Failure Analysis seamlessly addresses these challenges, offering a \nproactive approach to identifying and fixing test case failures along with other benefits including: \n● Reduced time to identify and fix failures: The AI Native analysis can quickly identify the root \ncause of failures, so you can take corrective action quickly and efficiently. This can save you a \nsignificant amount of time, which can be used to focus on other tasks.","metadata":{"loc":{"lines":{"from":3736,"to":3741}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n● Improved accuracy of failure analysis: The AI Native analysis is more accurate than manual \nanalysis, which can help you to identify and fix failures more effectively. This can lead to a higher \nquality product. \n● Increased productivity of testing teams: The AI Native analysis can free up testing teams to focus \non other tasks, such as creating new test cases or debugging code. This can lead to a more \nefficient testing process. \nGenerate the RCA of your failed Jobs  \nTo use the AI Native Test Failure Analysis feature, simply click on the Failure Analysis\" (Beta) tab of your \nfailed Job. Click on the Generate RCA Button. This usually takes around 20-30 seconds to generate the \nRCA. \nAfter categorizing errors, we offer a structured approach to address each failure type. You can efficiently \nget to the precise corrective measures or Remedies recommended alng with Additional suggestions for","metadata":{"loc":{"lines":{"from":3743,"to":3756}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"get to the precise corrective measures or Remedies recommended alng with Additional suggestions for \nthe particular error. This targeted approach expedites the issue resolution process, eliminating \nunnecessary steps and optimizing efficiency.\n \n-------------------------------------------------------------------------------------------------------------------------- \nBackground Services \nBackground Services is a feature of HyperExecute which is generally used to run the long running \nApplication Servers. You can trigger the background services by using either the background or \nbackgroundDirectives property in the HyperExecute YAML file. \nThis feature is useful for the following cases: \n● Web Applications or Servers. \n● Running databases. \n● Providing file sharing or streaming services. \n● Running messaging or chat applications. \n● Providing APIs for other applications to use. \nEnable Background Service","metadata":{"loc":{"lines":{"from":3756,"to":3771}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Running databases. \n● Providing file sharing or streaming services. \n● Running messaging or chat applications. \n● Providing APIs for other applications to use. \nEnable Background Service  \nThere are two methods to enable the Background Service from the HyperExecute YAML file: \n1. Using backgroundDirectives  \n \nbackgroundDirectives: \n shell: bash \n commands: \n   - name: YOUR_SERVICE_NAME \n     command: npx static-server \n   - name: Database \n     command: mysql-server \n● shell: defines the terminal it should use to run the background service. \n● command: specifies the command to be executed in the background. \n● name: specifies the name of your Background Service. \n2. Using background  \n \nbackground: \n - npx static-server","metadata":{"loc":{"lines":{"from":3767,"to":3788}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n - mysql-server \nBackground Service Logs  \nTo check the background service logs, follow the below mentioned steps: \nStep 1: After executing your job, go to the HyperExecute Dashboard to check the status of the job. \nStep 2: Click on the Background Service button. \nStep 3: Click on the desired background service you have triggered to check its logs. \n-------------------------------------------------------------------------------------------------------------------------- \nFrequently Asked Questions  \nIs the service intended to operate within the same Virtual Machine or externally? \nYes, the service will run within the same Virtual Machine. \n \nWhat is the service's commencement and cessation schedule? \nIt initiates the execution of all background commands concurrently with the pre-stage and continues until \nthe completion of post-run command execution. \n \nWill the Database, for example, run on a single VM and be accessible for testing on other VMs?","metadata":{"loc":{"lines":{"from":3790,"to":3806}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"the completion of post-run command execution. \n \nWill the Database, for example, run on a single VM and be accessible for testing on other VMs? \nNo, the background service can only be accessed from within the same VM. \n \nWill the identical set of background services be initiated within every VM? \nYes, if the same set of background services, such as npm run server, are establishing HTTP servers on \nthe same port, it is likely that one of the commands will encounter a binding issue and fail. \n \n-------------------------------------------------------------------------------------------------------------------------- \nAuto Healing \nThis is currently available for selenium based tests. \nHyperExecute's Auto Healing feature helps you enhance the robustness of the test suites by \nautomatically overcoming certain types of unexpected failures during the execution of your test scripts. \nEnable Auto Healing","metadata":{"loc":{"lines":{"from":3804,"to":3818}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"automatically overcoming certain types of unexpected failures during the execution of your test scripts. \nEnable Auto Healing  \nStep 1:  To еnablе thе Auto Hеaling fеaturе, you nееd to pass thе autoHеal: truе as a capability in your \nWеbDrivеr configuration. \n \nconst capability = { \n   \"browserName\": \"Chrome\", \n   \"LT:Options\": { \n       \"platformName\": \"Windows 10\", \n       \"autoHeal\": true \n   } \n} \nStep 2: Now, trigger your test on HyperExecute using the mentioned command. Please replace the \nplaceholder values with your details.","metadata":{"loc":{"lines":{"from":3817,"to":3830}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE \nStep 3: Now visit the HyperExecute Dashboard to check your triggered test. Click on the View Test Detail \nbutton. \nStep 4: Click on the band-aid icon as shown below to check what part of your test case is healed. \n \nHow Auto Healing Works  \nAuto Healing employs a dynamic locator strategy that adapts to DOM (Document Object Model) changes \nin real-time. When an element is initially located, the system records its DOM path and associated \nattributes. If subsequent attempts to find the element fail due to application updates, the Auto Healing \nmechanism activates. It analyzes the current DOM structure, comparing it against the previously recorded \nstate, and generates new, contextually relevant locators by intelligently combining element attributes and","metadata":{"loc":{"lines":{"from":3832,"to":3846}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"state, and generates new, contextually relevant locators by intelligently combining element attributes and \nhierarchical information. This process occurs seamlessly during test runtime, allowing scripts to continue \nexecution despite locator changes. The system continuously monitors the web page for DOM \nmodifications, ensuring sustained test reliability even in the face of frequent application updates. \nBenefits of Auto Healing  \nHere are some of the benefits of using HyperExecute's Auto Healing feature: \n● Reduces the number of Flaky Tests: Flaky tests are tests that fail intermittently, even though the \nunderlying code has not changed. This can be caused by a variety of factors, such as unstable \ntest environments, network latency, or changes in the browser's rendering engine. Auto Healing \ncan help reduce the number of flaky tests by automatically retrying failed tests a certain number \nof times.","metadata":{"loc":{"lines":{"from":3846,"to":3856}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"can help reduce the number of flaky tests by automatically retrying failed tests a certain number \nof times. \n● Improves Test Reliability: By automatically recovering from failures, Auto Healing can help \nimprove the reliability of your test suite. This means that you can be more confident that your \ntests will always pass, even if there are temporary disruptions to the test environment. \n● Saves Time and Effort: Auto Healing can help save you time and effort by automating the process \nof recovering from failures. This means that you can focus on other tasks, such as developing \nnew tests or fixing bugs. \nLimitations","metadata":{"loc":{"lines":{"from":3855,"to":3863}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"While the Auto Healing feature is designed to handle a wide range of issues, there are certain limitations \nto be aware of: \n● Non-recoverable Errors: Auto Healing cannot recover from certain types of errors, such as \nWebDriver initialization errors or system-level failures. \n● Test Accuracy: While Auto Healing can reduce test flakiness, it may also mask real issues in your \napplication or test scripts. It's important to review the logs and understand why a test needed \nhealing. \n● Performance Impact: While typically minimal, enabling Auto Healing can have a slight impact on \ntest execution time due to the additional checks and recovery mechanisms. \nBest Practices  \nBy following these best practices, you can use auto healing to improve the reliability and efficiency of your \ntest suite without introducing new risks. \n● Use a test automation framework that supports Auto Healing. This will make it easier to \nimplement and manage Auto Healing in your test suite.","metadata":{"loc":{"lines":{"from":3865,"to":3878}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"test suite without introducing new risks. \n● Use a test automation framework that supports Auto Healing. This will make it easier to \nimplement and manage Auto Healing in your test suite. \n● Identify the types of errors that you want to recover from. Not all errors can be recovered \nautomatically. Focus on recovering from the most common and impactful errors. \n● Configure auto healing to retry tests a limited number of times. This will help to prevent infinite \nloops and resource exhaustion. \n● Log all Auto Healing activity. This will help you understand why tests are failing and to \ntroubleshoot any problems that occur. \n● Monitor the effectiveness of Auto Healing. Track the number of tests that are healed and the \nnumber of false positives. This will help you to determine whether or not auto healing is providing \na net benefit. \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute Projects","metadata":{"loc":{"lines":{"from":3876,"to":3889}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"a net benefit. \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute Projects \nProjects serve as a centralized platform for organizing and managing test executions. By grouping similar \ntests, controlling access, and tracking progress, Projects streamline the testing process. You can \nconfigure custom project and workflow setups, as well as integrate Tosca, Tosca DEX, and JMeter tests \nfor unified management. This enables efficient test script creation, automated execution scheduling, and \nvaluable insights into test results. \nSetup your Project  \nStep 1: Go to the Projects section in HyperExecute. Click on the New Project to create your projects on \nHyperExecute. \nStep 2: Select Custom Project as the Type of Project. Provide a unique Project Name (required) and \nselect your desired framework and language used in your project. Click on the Continue.","metadata":{"loc":{"lines":{"from":3887,"to":3899}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Select Custom Project as the Type of Project. Provide a unique Project Name (required) and \nselect your desired framework and language used in your project. Click on the Continue. \nStep 3: Provide your GitHub URL and the Access Token / Bitbucket URL and the Repository Access \nTokens of your repository. You can also add your team members as Co-Owners to allow them to edit or \ndelete the project alongside you. \nimportant \nCurrently, only GitHub and Bitbucket repositories are supported. \nClick on Save button to finish the setup of your project. \nSchedule your Workflows  \nWithin each HyperExecute Project, you can set up one or more workflows. These workflows allow for \nscheduled execution of your tests, providing you with the flexibility to automate your testing process \naccording to your development and release cycles. \nNOTE : Currently, it works only in the dynamic mode of test discovery.","metadata":{"loc":{"lines":{"from":3898,"to":3910}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"according to your development and release cycles. \nNOTE : Currently, it works only in the dynamic mode of test discovery. \nStep 1: Click on the Setup Workflow. Enter your workflow name, provide your branch name and then \nenter the path of your YAML file you want to execute. Click on Next. \nStep 2: Configure the schedule of your workflow. Select the days and time at which you want to trigger \nyour tests. Click on Next.","metadata":{"loc":{"lines":{"from":3909,"to":3914}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 3: Workflow Linking (Optional)- You can connect this workflow to other existing workflows in this \nproject or others that you own. When this workflow is completed successfully, it can automatically activate \nthe linked workflows. To configure this, select the workflows you want to trigger from the list of existing \nworkflows. This feature enables you to create automated workflow chains for more complex testing and \ndeployment processes. \n Gain a Comprehensive Understanding of how to use connected workflows to create \nTest Chains. \nClick on the Finish button and your job will be triggered on the defined day and time. \nSetting Up Specialized Projects  \nIn addition to custom projects, HyperExecute supports integration with specialized testing tools such as \nTosca, Tosca DEX, and Performance testing with JMeter. For detailed instructions on setting up these \nspecific projects, please refer to their dedicated documentation pages: \nTosca using Commander","metadata":{"loc":{"lines":{"from":3916,"to":3928}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Tosca, Tosca DEX, and Performance testing with JMeter. For detailed instructions on setting up these \nspecific projects, please refer to their dedicated documentation pages: \nTosca using Commander \nOptimize and accelerate end-to-end testing for your entire digital landscape using Tosca. \nTosca using DEX \nPerform end-to-end testing using Tosca DEX with HyperExecute. \nTosca for SAP \nUse Tosca for SAP to integrate with HyperExecute. \nJMeter \nExperience the JMeter Performance Testing with HyperExecute. \n-------------------------------------------------------------------------------------------------------------------------- \nJobs Archiving \nHyperExecute's job archiving feature lets you seamlessly organize your workspace by tucking away \nirrelevant jobs, enhancing your team's efficiency. By archiving jobs, you ensure that only the most relevant \nand significant jobs occupy your workspace, enabling your team to stay focused and productive.","metadata":{"loc":{"lines":{"from":3926,"to":3940}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"and significant jobs occupy your workspace, enabling your team to stay focused and productive. \nArchived jobs are not deleted, they are just removed from the default view on this page. \n \nArchive the Jobs  \nIn order to archive any job, just click on the eclipses (three dots) that you see on the right side on job list \npage, it would provide you a small dropdown to archive that job. \nView the Archived Jobs  \nIn order to view the archived jobs, you can simply go to filters and select view archived jobs. All the jobs \nthat you archive, will be available here. \nUnarchive the Jobs  \nYou can also unarchive your jobs similarly the way you archived your jobs. \n-------------------------------------------------------------------------------------------------------------------------- \nTest Muting \nImagine you are a software tester, and you have a test suite with hundreds of tests. Some of these tests","metadata":{"loc":{"lines":{"from":3940,"to":3953}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Test Muting \nImagine you are a software tester, and you have a test suite with hundreds of tests. Some of these tests \nare known to fail consistently, but there is no way to disable them. This means that every time you run the \ntest suite, these failing tests cause the suite to fail. This can be frustrating and time-consuming, especially \nif you are trying to identify and resolve real problems with the application under test. \nTest Muting is a feature that allows you to temporarily disable a test case from being executed. This can \nbe useful for skipping failing or irrelevant tests, which can improve the efficiency and effectiveness of your \ntest runs and help you focus on the most important results.","metadata":{"loc":{"lines":{"from":3952,"to":3959}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"How do you Enable Test Muting for your Organization?  \nAs you can see, we have triggered a Job in HyperExecute, and we've encountered a recurring issue with \na specific test consistently failing. To address this, we will implement Test Muting functionality, enabling \nautomatic muting of a test that fails a predefined consecutive number of times. \n \nNow, to enable the Test Muting, follow the below mentioned steps: \nStep 1: Go to the LambdaTest Dashboard. \nStep 2: Click on the Settings button. \nStep 3: Click to the Organization Settings section. \nStep 4: Go to the Org Product Preferences section. \nStep 5: Click on the \"Automatically mute tests\" toggle button. \n● Select the threshold number to automatically mute your tests (default setting is 5 times).","metadata":{"loc":{"lines":{"from":3962,"to":3973}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Customize your Notification Settings to mute specific tests and reduce distractions during test \nexecution. \n● You can also choose if you would like to receive updates on your mail id and click on Save button. \nStep 6: Now, if you trigger the same job again, you will notice that the particular test has muted. \nHow do you Manually Mute specific Tests?  \nStep 1: Execute your job on HyperExecute. \n● Click on the 3 dots of the desired test you want to Mute. \n● Click on the Mute Scenario button. \nStep 2: Trigger the same job again, and you will notice that particular test won't be executed. \n \nHow do you UnMute Tests?  \nStep 1: Click on the 3 dots of the muted test. \nStep 2: Click on the Unmute scenario button. \nThe test will remain in-active until manually unmuted. \n \n-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute- Monitoring CPU and Memory Resource Consumption","metadata":{"loc":{"lines":{"from":3975,"to":3991}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-------------------------------------------------------------------------------------------------------------------------- \nHyperExecute- Monitoring CPU and Memory Resource Consumption \nThe effectiveness of your product directly influences your user experience and how they will adopt it. As a \nresult, it is essential to recognize and address any performance issues before the product is made \navailable to the users. \nTest Metrics feature helps you to track whether your product is making inefficient use of resources or not, \nsuch as the CPU, and memory utilization by your product at an early stage of the development process. \nBy doing so, you can ensure that your product functions optimally and provides a seamless user \nexperience, increasing its chances of successful adoption by users. \nThis document outlines how to monitor CPU and Memory consumption of virtual machines (VMs) at \nvarious levels: \nTask Level View","metadata":{"loc":{"lines":{"from":3990,"to":4001}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"experience, increasing its chances of successful adoption by users. \nThis document outlines how to monitor CPU and Memory consumption of virtual machines (VMs) at \nvarious levels: \nTask Level View  \nThe task level view provides insights into the CPU and memory consumption at the individual task level. \nThis means you can see specific metrics related to how much CPU and memory is utilized by each task. \nBy analyzing the task level view, you can pinpoint any tasks that may be causing high CPU or memory \nusage issues, allowing you to optimize their performance for better overall results. \nStage Level View  \nIn the stage level view of HyperExecute, the analysis is segmented into three distinct phases: pre-stage, \nscenario stage, and post-stage. \n● Pre-Stage : The pre-stage view provides insights into resource utilization and actions taken \nbefore the main test scenario begins. This phase focuses on the setup, configuration, and","metadata":{"loc":{"lines":{"from":3998,"to":4010}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Pre-Stage : The pre-stage view provides insights into resource utilization and actions taken \nbefore the main test scenario begins. This phase focuses on the setup, configuration, and \npreparatory tasks that may influence CPU and memory consumption. By examining the pre-stage \nmetrics, you can ensure that the environment is properly configured for optimal test execution.","metadata":{"loc":{"lines":{"from":4009,"to":4012}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Scenario Stage : During the scenario stage, the focus shifts to CPU and memory consumption \nwhile the main test scenario is running. This stage captures performance metrics during the \nactive execution of the test scenario, offering valuable data on resource usage patterns. \nAnalyzing the scenario stage metrics helps identify any performance bottlenecks or inefficiencies \naffecting the test execution. \n● Post-Stage : The post-stage view concentrates on resource consumption and actions taken after \ncompleting the main test scenario. By reviewing the post-stage metrics, you can evaluate \nresource management efficiency and ensure system stability post-test scenario execution.\n \n-------------------------------------------------------------------------------------------------------------------------- \nRunning TestNG Framework Tests on HyperExecute \nTestNG is a widely-used testing framework for Java applications, designed to simplify and enhance the","metadata":{"loc":{"lines":{"from":4014,"to":4025}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Running TestNG Framework Tests on HyperExecute \nTestNG is a widely-used testing framework for Java applications, designed to simplify and enhance the \ntesting process for developers. It provides a flexible and powerful platform for running test suites, enabling \neffective unit testing, integration testing, and end-to-end testing of Java applications \nHyperExecute is an AI Native Test Orchestration Cloud Platform that empowers you to run end-to-end \ntests quickly and efficiently. It provides Just-in-Time (JIT) testing infrastructure with fast execution speeds, \nsmart orchestration, and detailed logs. \nThis guide details how to execute your TestNG framework tests on HyperExecute using YAML 0.2 via two \ndifferent methods: \n● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute.","metadata":{"loc":{"lines":{"from":4024,"to":4036}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required: \n● Your LambdaTest Username and Access key \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Setup the Environmental Variable \nStep 1: Configure Your Test Suite  \nYou can use your own project to configure and test it. For demo purposes, we are using the sample \nrepository. \nSample repo \nDownload or Clone the code sample for the TestNG from the LambdaTest GitHub repository to run the \ntests on the HyperExecute. \nView on GitHub","metadata":{"loc":{"lines":{"from":4034,"to":4049}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nIf you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution. \nConfigure the desired capabilities based on your test requirements. For example: \ntest.java \n \nDesiredCapabilities capabilities = new DesiredCapabilities(); \ncapabilities.setCapability(\"browserName\", \"chrome\"); \ncapabilities.setCapability(\"version\", \"70.0\"); \ncapabilities.setCapability(\"platform\", \"win10\"); # If this cap isn't specified, it will just get the any \navailable one \ncapabilities.setCapability(\"build\", \"LambdaTestSampleApp\"); \ncapabilities.setCapability(\"name\", \"LambdaTestJavaSample\"); \nYou can also use dev and beta browser versions. To generate capabilities for your test requirements, you \ncan use our inbuilt  \nCapabilities Generator Tool. \nStep 2: Setup the CLI in your Test Suite","metadata":{"loc":{"lines":{"from":4051,"to":4068}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"can use our inbuilt  \nCapabilities Generator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on \nthe host system and keep it in the root directory of the suite to perform the tests on HyperExecute. \nYou can download the CLI for your desired platform from the below mentioned links: \nPlatform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page.","metadata":{"loc":{"lines":{"from":4066,"to":4080}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Setup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page. \nRun the below mentioned commands in your terminal to setup the CLI and the environment variables. \n● Linux / MacOS \n● Windows","metadata":{"loc":{"lines":{"from":4078,"to":4083}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\" \nStep 3: Configure YAML in your Test Suite  \nConfigure your YAML file as per your use cases using key value pairs. \nIn this sample YAML file, we have mentioned: \n● version of the YAML file \n● Timeouts for executing your project \n● Mode of execution is Autosplit. You can also opt for Matrix or Hybrid mode. \n● Pre and Post commands \n● Reports and Artefacts that will be generated after the completion of tests \n● and other necessary YAML Parameters \nHyperExecute AutoSplit YAML \n \n--- \nversion: 0.2 \nrunson: linux \n \nautosplit: true \nconcurrency: 4 \n \npre: \n - mvn dependency:resolve \n \nframework: \n name: maven/testng \n defaultReports: false \n flags: \n   - \"-Dplatname=linux\" \n   - \"--file=pom02.xml\" \n \nretryOnFailure: true \nmaxRetries: 1 \n \njobLabel: [selenium-testng, linux, v2, autosplit] \nView on GitHub \nStep 4: Execute your Test Suite","metadata":{"loc":{"lines":{"from":4085,"to":4123}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nNOTE : In case of MacOS, if you get a permission denied warning while executing CLI, simply run chmod \nu+x ./hyperexecute\n to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE \n\n \n \nStep 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status.","metadata":{"loc":{"lines":{"from":4125,"to":4143}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status. \n\n \nStep 6: Download Artifacts and Reports  \nHyperExecute also facilitates the provision to download the Artifacts and Reports on your local machine. \nClick on the corresponding button to download your generated artifacts and reports. \n \n2. Testing Using Gitpod  \nYou can also use the Gitpod platform to execute our sample repository. It will fetch all the sample \ncodebases and trigger the CLI to execute the tests. \nFollow the below steps to run Test using Gitpod: \nStep 1: Click 'Open in Gitpod' button. You will be redirected to Login/Signup page. This button is \nconfigured to redirect you to the Gitpod platform where you will be able to execute our sample repository.","metadata":{"loc":{"lines":{"from":4142,"to":4155}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Login with LambdaTest credentials. Once logged in, a pop-up confirmation will appear, asking you \nto 'Proceed' to the Gitpod editor in a new tab. The current tab will display the HyperExecute Dashboard. \n \nStep 3: Choose your preferred editor (we recommend VS Code Editor) \n\n \nStep 4: As you are running a sample project, Fetching of the Test Scripts, HyperExecute YAML, \nHyperExecute CLI and Triggering your tests using the Execution Command will be automated. \n \nStep 5: Once you see the Job Link in the logs, you can visit the HyperExecute dashboard to see the tests \ngetting executed. \ntip \nYou can also implement Secret Keys in your YAML file.","metadata":{"loc":{"lines":{"from":4158,"to":4170}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Navigation in Automation Dashboard  \nEvery test run on the HyperExecute has a unique jobId associated with it. Each jobId can in turn \nconstitute single (or multiple) groupId(s). You can visit HyperExecute Automation Dashboard for checking \nthe status of the test execution. \nYou can seamlessly navigate between JobId's and taskId's. You need to click on the testID to navigate \nfrom the HyperExecute logs to the Automation Dashboard. \n \nThe snapshot below shows the videos, logs and other meta data for that specific test_ID \n \nFor any query or doubt, please feel free to contact us via 24×7 chat support or you can also drop a mail to \nsupport@lambdatest.com. \n-------------------------------------------------------------------------------------------------------------------------- \nRunning JUnit Framework Tests on HyperExecute","metadata":{"loc":{"lines":{"from":4172,"to":4184}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nJUnit is a widely-used testing framework for Java that is extensively employed in Selenium test \nautomation. It provides annotations and assertions to structure and validate test cases, making it an \nintegral part of the Selenium testing ecosystem. \nHyperExecute is an AI Native Test Orchestration Cloud Platform that empowers you to run end-to-end \ntests quickly and efficiently. It provides Just-in-Time (JIT) testing infrastructure with fast execution speeds, \nsmart orchestration, and detailed logs. \nThis guide details how to execute your JUnit framework tests on HyperExecute via two different methods: \n● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required:","metadata":{"loc":{"lines":{"from":4186,"to":4199}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required: \n● Your LambdaTest Username and Access key \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Setup the Environmental Variable \nStep 1: Configure Your Test Suite  \nYou can use your own project to configure and test it. For demo purposes, we are using the sample \nrepository. \nSample repo \nDownload or Clone the code sample for the JUnit from the LambdaTest GitHub repository to run the tests \non the HyperExecute. \nView on GitHub \nIf you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution.","metadata":{"loc":{"lines":{"from":4196,"to":4213}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"By setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution. \nConfigure the desired capabilities based on your test requirements. For example: \n \nDesiredCapabilities capabilities = new DesiredCapabilities(); \ncapabilities.setCapability(\"browserName\", \"chrome\"); \ncapabilities.setCapability(\"version\", \"70.0\");","metadata":{"loc":{"lines":{"from":4212,"to":4218}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\ncapabilities.setCapability(\"platform\", \"win10\"); # If this cap isn't specified, it will just get the any \navailable one \ncapabilities.setCapability(\"build\", \"LambdaTestSampleApp\"); \ncapabilities.setCapability(\"name\", \"LambdaTestJavaSample\"); \ncapabilities.setCapability(\"network\", true); # To enable network logs \ncapabilities.setCapability(\"visual\", true); # To enable step by step screenshot \ncapabilities.setCapability(\"video\", true); # To enable video recording \ncapabilities.setCapability(\"console\", true); # To capture console logs \nYou can also use dev and beta browser versions. To generate capabilities for your test requirements, you \ncan use our inbuilt  \nCapabilities Generator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on","metadata":{"loc":{"lines":{"from":4220,"to":4235}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Download the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on \nthe host system and keep it in the root directory of the suite to perform the tests on HyperExecute. \nYou can download the CLI for your desired platform from the below mentioned links: \nPlatform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page. \nRun the below mentioned commands in your terminal to setup the CLI and the environment variables. \n● Linux / MacOS \n● Windows \n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\"","metadata":{"loc":{"lines":{"from":4234,"to":4250}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Linux / MacOS \n● Windows \n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\" \nStep 3: Configure YAML in your Test Suite","metadata":{"loc":{"lines":{"from":4246,"to":4251}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nConfigure your YAML file as per your use cases using key value pairs. \nIn this sample YAML file, we have mentioned: \n● version of the YAML file \n● Timeouts for executing your project \n● Mode of execution is Autosplit. You can also opt for Matrix or Hybrid mode. \n● Pre and Post commands \n● Reports and Artefacts that will be generated after the completion of tests \n● and other necessary YAML Parameters \n \n--- \nversion: 0.1 \nglobalTimeout: 150 \ntestSuiteTimeout: 150 \ntestSuiteStep: 150 \n \nrunson: linux \n \nautosplit: true \nretryOnFailure: true \n \nmaxRetries: 1 \nconcurrency: 3 \n \nenv: \n # PAT: ${{ .secrets.testKey }} \n CACHE_DIR: m2_cache_dir \n TARGET_OS: linux \n \ncacheKey: '{{ checksum \"pom.xml\" }}' \ncacheDirectories: \n - ${CACHE_DIR} \n \nshell: bash \n \npre: \n # Download and install packages in the CACHE_DIR. \n # Skip execution of the tests in the pre step \n - mvn -Dmaven.repo.local=${CACHE_DIR} -Dmaven.test.skip=true clean install \n \npost:","metadata":{"loc":{"lines":{"from":4253,"to":4293}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"pre: \n # Download and install packages in the CACHE_DIR. \n # Skip execution of the tests in the pre step \n - mvn -Dmaven.repo.local=${CACHE_DIR} -Dmaven.test.skip=true clean install \n \npost: \n - cat yaml/linux/junit_hyperexecute_autosplit_sample.yaml \n \nmergeArtifacts: true","metadata":{"loc":{"lines":{"from":4288,"to":4296}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\nuploadArtefacts: \n- name: Final-Report \n  path: \n   - target/site/** \n- name: Surefire-Report \n  path: \n   - target/surefire-reports/** \n \nreport: true \npartialReports: \n location: target/surefire-reports/html \n type: html \n frameworkName: extent \n \ntestDiscovery: \n type: raw \n mode: dynamic \n command: grep 'public class' src/test/java/hyperexecute/*.java | awk '{print$3}' \n \ntestRunnerCommand: mvn -Dplatname=linux -Dmaven.repo.local=m2_cache_dir -Dtest=$test \ntest site surefire-report:report \n \njobLabel: [selenium-junit, linux, autosplit] \nStep 4: Execute your Test Suite  \nNOTE : In case of MacOS, if you get a permission denied warning while executing CLI, simply run chmod \nu+x ./hyperexecute\n to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE","metadata":{"loc":{"lines":{"from":4299,"to":4331}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Preferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE","metadata":{"loc":{"lines":{"from":4328,"to":4336}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status. \n\n \nStep 6: Download Artifacts and Reports  \nHyperExecute also facilitates the provision to download the Artifacts and Reports on your local machine. \nClick on the corresponding button to download your generated artifacts and reports. \n \n2. Testing Using Gitpod  \nYou can also use the Gitpod platform to execute our sample repository. It will fetch all the sample \ncodebases and trigger the CLI to execute the tests. \nFollow the below steps to run Test using Gitpod: \nStep 1: Click 'Open in Gitpod' button. You will be redirected to Login/Signup page. This button is \nconfigured to redirect you to the Gitpod platform where you will be able to execute our sample repository.","metadata":{"loc":{"lines":{"from":4340,"to":4353}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Login with LambdaTest credentials. Once logged in, a pop-up confirmation will appear, asking you \nto 'Proceed' to the Gitpod editor in a new tab. The current tab will display the HyperExecute Dashboard. \n \nStep 3: Choose your preferred editor (we recommend VS Code Editor) \n\n \nStep 4: As you are running a sample project, Fetching of the Test Scripts, HyperExecute YAML, \nHyperExecute CLI and Triggering your tests using the Execution Command will be automated. \n \nStep 5: Once you see the Job Link in the logs, you can visit the HyperExecute dashboard to see the tests \ngetting executed. \ntip \nYou can also implement Secret Keys in your YAML file.","metadata":{"loc":{"lines":{"from":4356,"to":4368}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Navigation in Automation Dashboard  \nEvery test run on the HyperExecute has a unique jobId associated with it. Each jobId can in turn \nconstitute single (or multiple) groupId(s). You can visit HyperExecute Automation Dashboard for checking \nthe status of the test execution. \nYou can seamlessly navigate between JobId's and taskId's. You need to click on the testID to navigate \nfrom the HyperExecute logs to the Automation Dashboard. \n \nThe snapshot below shows the videos, logs and other meta data for that specific test_ID \n \nFor any query or doubt, please feel free to contact us via 24×7 chat support or you can also drop a mail to \nsupport@lambdatest.com. \nHappy testing!\n \n-------------------------------------------------------------------------------------------------------------------------- \nRunning Cucumber Framework Tests on HyperExecute","metadata":{"loc":{"lines":{"from":4370,"to":4384}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nCucumber is a widely-used testing framework for Java applications, designed to simplify and enhance the \ntesting process for developers. It provides a flexible and powerful platform for running test suites, enabling \neffective unit testing, integration testing, and end-to-end testing of Java applications \nHyperExecute is an AI Native Test Orchestration Cloud Platform that empowers you to run end-to-end \ntests quickly and efficiently. It provides Just-in-Time (JIT) testing infrastructure with fast execution speeds, \nsmart orchestration, and detailed logs. \nThis guide details how to execute your Cucumber framework tests on HyperExecute via two different \nmethods: \n● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites","metadata":{"loc":{"lines":{"from":4386,"to":4399}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required: \n● Your LambdaTest Username and Access key \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Setup the Environmental Variable \nStep 1: Configure Your Test Suite  \nYou can use your own project to configure and test it. For demo purposes, we are using the sample \nrepository. \nSample repo \nDownload or Clone the code sample for the JUnit from the LambdaTest GitHub repository to run the tests \non the HyperExecute. \nView on GitHub \nIf you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the","metadata":{"loc":{"lines":{"from":4396,"to":4413}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"If you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution. \nConfigure the desired capabilities based on your test requirements. For example: \n \nDesiredCapabilities capability = new DesiredCapabilities(); \ncapability.setCapability(CapabilityType.BROWSER_NAME, browser);","metadata":{"loc":{"lines":{"from":4412,"to":4418}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\ncapability.setCapability(CapabilityType.VERSION,version); \ncapability.setCapability(CapabilityType.PLATFORM, platform); \ncapability.setCapability(\"build\", \"Your Build Name\"); \nYou can generate capabilities for your test requirements with the help of our inbuilt  \nCapabilities \nGenerator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on \nthe host system and keep it in the root directory of the suite to perform the tests on HyperExecute. \nYou can download the CLI for your desired platform from the below mentioned links: \nPlatform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute","metadata":{"loc":{"lines":{"from":4420,"to":4435}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Platform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page. \nRun the below mentioned commands in your terminal to setup the CLI and the environment variables. \n● Linux / MacOS \n● Windows \n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\" \nStep 3: Configure YAML in your Test Suite  \nConfigure your YAML file as per your use cases using key value pairs. \nIn this sample YAML file, we have mentioned: \n● version of the YAML file \n● Timeouts for executing your project","metadata":{"loc":{"lines":{"from":4433,"to":4450}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n● Mode of execution is Autosplit. You can also opt for Matrix or Hybrid mode. \n● Pre and Post commands \n● Reports and Artefacts that will be generated after the completion of tests \n● and other necessary YAML Parameters \n \n--- \nversion: 0.1 \nglobalTimeout: 90 \ntestSuiteTimeout: 90 \ntestSuiteStep: 90 \n \nrunson: linux \n \nautosplit: true \nretryOnFailure: true \n \nmaxRetries: 1 \nconcurrency: 4 \n \nenv: \n # PAT: ${{ .secrets.testKey }} \n CACHE_DIR: m2_cache_dir \n \n# Dependency caching for Windows \ncacheKey: '{{ checksum \"pom.xml\" }}' \ncacheDirectories: \n - ${CACHE_DIR} \n \nshell: bash \n \npre: \n # Download and install packages in the CACHE_DIR. \n # Skip execution of the tests in the pre step \n - mvn -Dmaven.repo.local=${CACHE_DIR} -Dmaven.test.skip=true clean install \n \npost: \n - cat yaml/linux/cucumber_hyperexecute_autosplit_sample.yaml \n \nmergeArtifacts: true \n \nuploadArtefacts: \n - name: XmlReports \n   path: \n     - target/surefire-reports/testng-results.xml \n - name: JsonReports","metadata":{"loc":{"lines":{"from":4452,"to":4497}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n   path: \n     - target/cucumber-reports/CucumberTestReport.json \n \nreport: true \npartialReports: \n location: target/cucumber-reports/ \n frameworkName: cucumber \n type: json \n \ntestDiscovery: \n type: raw \n mode: dynamic \n #Parallel execution at feature level \n #command: grep -rni 'Features' -e 'Feature:' | sed 's/.*://' \n command: grep -nri '@' src/main/java/Features --include=\\*.feature | sed 's/^.*://' \n \ntestRunnerCommand: mvn test -Dplatname=linux -Dmaven.repo.local=m2_cache_dir \n-Dcucumber.options=\"--tags $test\" \n \njobLabel: [selenium-cucumber-java, linux, autosplit] \nStep 4: Execute your Test Suite  \nNOTE : In case of MacOS, if you get a permission denied warning while executing CLI, simply run chmod \nu+x ./hyperexecute\n to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project:","metadata":{"loc":{"lines":{"from":4499,"to":4526}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Preferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE","metadata":{"loc":{"lines":{"from":4525,"to":4533}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status. \n\n \nStep 6: Download Artifacts and Reports  \nHyperExecute also facilitates the provision to download the Artifacts and Reports on your local machine. \nClick on the corresponding button to download your generated artifacts and reports. \n \n2. Testing Using Gitpod  \nYou can also use the Gitpod platform to execute our sample repository. It will fetch all the sample \ncodebases and trigger the CLI to execute the tests. \nFollow the below steps to run Test using Gitpod: \nStep 1: Click 'Open in Gitpod' button. You will be redirected to Login/Signup page. This button is \nconfigured to redirect you to the Gitpod platform where you will be able to execute our sample repository.","metadata":{"loc":{"lines":{"from":4537,"to":4550}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Login with LambdaTest credentials. Once logged in, a pop-up confirmation will appear, asking you \nto 'Proceed' to the Gitpod editor in a new tab. The current tab will display the HyperExecute Dashboard. \n \nStep 3: Choose your preferred editor (we recommend VS Code Editor) \n\n \nStep 4: As you are running a sample project, Fetching of the Test Scripts, HyperExecute YAML, \nHyperExecute CLI and Triggering your tests using the Execution Command will be automated. \n \nStep 5: Once you see the Job Link in the logs, you can visit the HyperExecute dashboard to see the tests \ngetting executed. \ntip \nYou can also implement Secret Keys in your YAML file.","metadata":{"loc":{"lines":{"from":4553,"to":4565}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Navigation in Automation Dashboard  \nEvery test run on the HyperExecute has a unique jobId associated with it. Each jobId can in turn \nconstitute single (or multiple) groupId(s). You can visit HyperExecute Automation Dashboard for checking \nthe status of the test execution. \nYou can seamlessly navigate between JobId's and taskId's. You need to click on the testID to navigate \nfrom the HyperExecute logs to the Automation Dashboard. \n \nThe snapshot below shows the videos, logs and other meta data for that specific test_ID \n \nFor any query or doubt, please feel free to contact us via 24×7 chat support or you can also drop a mail to \nsupport@lambdatest.com. \nHappy testing!\n \n-------------------------------------------------------------------------------------------------------------------------- \nRunning WebdriverIO Framework Tests on HyperExecute","metadata":{"loc":{"lines":{"from":4567,"to":4581}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nWebdriverIO is a widely-used testing framework for Java applications, designed to simplify and enhance \nthe testing process for developers. It provides a flexible and powerful platform for running test suites, \nenabling effective unit testing, integration testing, and end-to-end testing of Java applications \nHyperExecute is an AI Native Test Orchestration Cloud Platform that empowers you to run end-to-end \ntests quickly and efficiently. It provides Just-in-Time (JIT) testing infrastructure with fast execution speeds, \nsmart orchestration, and detailed logs. \nThis guide details how to execute your WebdriverIO framework tests on HyperExecute via two different \nmethods: \n● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites","metadata":{"loc":{"lines":{"from":4583,"to":4596}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required: \n● Your LambdaTest Username and Access key \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Setup the Environmental Variable \nStep 1: Configure Your Test Suite  \nYou can use your own project to configure and test it. For demo purposes, we are using the sample \nrepository. \nSample repo \nDownload or Clone the code sample for the JUnit from the LambdaTest GitHub repository to run the tests \non the HyperExecute. \nView on GitHub \nIf you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the","metadata":{"loc":{"lines":{"from":4593,"to":4610}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"If you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution. \nConfigure the desired capabilities based on your test requirements. For example: \n \ncapabilities: [{ \n browserName: 'chrome',","metadata":{"loc":{"lines":{"from":4609,"to":4615}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n platform: 'Windows 10', \n version: 'latest', \n name: \"single-test\", \n build: \"wd-lambdatest-sample\", \n geoLocation : \"US\" \n}] \nYou can also use dev and beta browser versions. To generate capabilities for your test requirements, you \ncan use our inbuilt  \nCapabilities Generator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on \nthe host system and keep it in the root directory of the suite to perform the tests on HyperExecute. \nYou can download the CLI for your desired platform from the below mentioned links: \nPlatform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute","metadata":{"loc":{"lines":{"from":4617,"to":4635}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Platform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page. \nRun the below mentioned commands in your terminal to setup the CLI and the environment variables. \n● Linux / MacOS \n● Windows \n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\" \nStep 3: Configure YAML in your Test Suite  \nConfigure your YAML file as per your use cases using key value pairs.","metadata":{"loc":{"lines":{"from":4633,"to":4647}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nIn this sample YAML file, we have mentioned: \n● version of the YAML file \n● Timeouts for executing your project \n● Mode of execution is Autosplit. You can also opt for Matrix or Hybrid mode. \n● Pre and Post commands \n● Reports and Artefacts that will be generated after the completion of tests \n● and other necessary YAML Parameters \n \n--- \nversion: 0.1 \nglobalTimeout: 150 \ntestSuiteTimeout: 150 \ntestSuiteStep: 150 \n \nrunson: linux \n \nautosplit: true \nretryOnFailure: true \n \nmaxRetries: 1 \nconcurrency: 2 \n \npre: \n - npm install \n \ncacheKey: '{{ checksum \"package-lock.json\" }}' \ncacheDirectories: \n - node_modules \n \nmergeArtifacts: true \n \nuploadArtefacts: \n [{ \n   \"name\": \"Reports\", \n   \"path\": [\"Reports/*\"] \n }] \n \nreport: true \npartialReports: \n   type: json \n   location: Reports/ \n   frameworkName: extent \n \ntestDiscovery: \n type: automatic","metadata":{"loc":{"lines":{"from":4649,"to":4694}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n args: \n   featureFilePaths: Features/ \n   frameWork: java \n   specificTags: [\"@ToDoOne\", \"@ToDoTwo\", \"@ToDoThree\"] \n \ntestRunnerCommand: npx wdio wdio.conf.js --spec=$test \n \njobLabel: [selenium-webdriverIO, linux, autosplit] \nStep 4: Execute your Test Suite  \nNOTE : In case of MacOS, if you get a permission denied warning while executing CLI, simply run chmod \nu+x ./hyperexecute to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE \n\n \n \nStep 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status.","metadata":{"loc":{"lines":{"from":4696,"to":4722}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status. \n\n \nStep 6: Download Artifacts and Reports  \nHyperExecute also facilitates the provision to download the Artifacts and Reports on your local machine. \nClick on the corresponding button to download your generated artifacts and reports. \n \n2. Testing Using Gitpod  \nYou can also use the Gitpod platform to execute our sample repository. It will fetch all the sample \ncodebases and trigger the CLI to execute the tests. \nFollow the below steps to run Test using Gitpod: \nStep 1: Click 'Open in Gitpod' button. You will be redirected to Login/Signup page. This button is \nconfigured to redirect you to the Gitpod platform where you will be able to execute our sample repository.","metadata":{"loc":{"lines":{"from":4721,"to":4734}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Login with LambdaTest credentials. Once logged in, a pop-up confirmation will appear, asking you \nto 'Proceed' to the Gitpod editor in a new tab. The current tab will display the HyperExecute Dashboard. \n \nStep 3: Choose your preferred editor (we recommend VS Code Editor) \n\n \nStep 4: As you are running a sample project, Fetching of the Test Scripts, HyperExecute YAML, \nHyperExecute CLI and Triggering your tests using the Execution Command will be automated. \n \nStep 5: Once you see the Job Link in the logs, you can visit the HyperExecute dashboard to see the tests \ngetting executed. \ntip \nYou can also implement Secret Keys in your YAML file.","metadata":{"loc":{"lines":{"from":4737,"to":4749}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Navigation in Automation Dashboard  \nEvery test run on the HyperExecute has a unique jobId associated with it. Each jobId can in turn \nconstitute single (or multiple) groupId(s). You can visit HyperExecute Automation Dashboard for checking \nthe status of the test execution. \nYou can seamlessly navigate between JobId's and taskId's. You need to click on the testID to navigate \nfrom the HyperExecute logs to the Automation Dashboard. \n \nThe snapshot below shows the videos, logs and other meta data for that specific test_ID \n \nFor any query or doubt, please feel free to contact us via 24×7 chat support or you can also drop a mail to \nsupport@lambdatest.com. \nHappy testing! \n \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":4751,"to":4764}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nRunning Protractor Framework Tests on HyperExecute \nProtractor is a widely-used testing framework for Java applications, designed to simplify and enhance the \ntesting process for developers. It provides a flexible and powerful platform for running test suites, enabling \neffective unit testing, integration testing, and end-to-end testing of Java applications \nHyperExecute is an AI Native Test Orchestration Cloud Platform that empowers you to run end-to-end \ntests quickly and efficiently. It provides Just-in-Time (JIT) testing infrastructure with fast execution speeds, \nsmart orchestration, and detailed logs. \nThis guide details how to execute your Protractor framework tests on HyperExecute via two different \nmethods: \n● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute.","metadata":{"loc":{"lines":{"from":4766,"to":4779}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required: \n● Your LambdaTest Username and Access key \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Setup the Environmental Variable \nStep 1: Configure Your Test Suite  \nYou can use your own project to configure and test it. For demo purposes, we are using the sample \nrepository. \nSample repo \nDownload or Clone the code sample for the JUnit from the LambdaTest GitHub repository to run the tests \non the HyperExecute. \nView on GitHub \nIf you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the","metadata":{"loc":{"lines":{"from":4777,"to":4794}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"If you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution. \nConfigure the desired capabilities based on your test requirements. For example:","metadata":{"loc":{"lines":{"from":4793,"to":4796}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\ncapabilities = { \n build: 'protractor-LambdaTest-Single', \n browserName: 'chrome', \n version:'latest', \n platform: 'Windows 10', \n}, \nYou can also use dev and beta browser versions. To generate capabilities for your test requirements, you \ncan use our inbuilt  \nCapabilities Generator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on \nthe host system and keep it in the root directory of the suite to perform the tests on HyperExecute. \nYou can download the CLI for your desired platform from the below mentioned links: \nPlatform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute","metadata":{"loc":{"lines":{"from":4799,"to":4817}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Platform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page. \nRun the below mentioned commands in your terminal to setup the CLI and the environment variables. \n● Linux / MacOS \n● Windows \n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\" \nStep 3: Configure YAML in your Test Suite  \nConfigure your YAML file as per your use cases using key value pairs.","metadata":{"loc":{"lines":{"from":4815,"to":4829}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nIn this sample YAML file, we have mentioned: \n● version of the YAML file \n● Timeouts for executing your project \n● Mode of execution is Autosplit. You can also opt for Matrix or Hybrid mode. \n● Pre and Post commands \n● Reports and Artefacts that will be generated after the completion of tests \n● and other necessary YAML Parameters \n \n--- \nversion: 0.1 \nglobalTimeout: 90 \ntestSuiteTimeout: 90 \ntestSuiteStep: 90 \n \nrunson: linux \n \nautosplit: true \nretryOnFailure: true \n \nmaxRetries: 1 \nconcurrency: 2 \n \ncacheKey: '{{ checksum \"package-lock.json\" }}' \ncacheDirectories: \n - node_modules \n \npre: \n - npm install -g protractor \n - npm install \n \nmergeArtifacts: true \n \nuploadArtefacts: \n - name: Reports \n   path: \n     - ProtractorTestReport.html \n     - xmlresults.xml \n \nreport: true \npartialReports: \n   type: json \n   location: / \n   frameworkName: extent \n \ntestDiscovery:","metadata":{"loc":{"lines":{"from":4831,"to":4876}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n type: raw \n mode: dynamic \n command: grep -nri 'describe' specs -ir --include=*.js | sed 's/:.*//' \ntestRunnerCommand: protractor conf/single.conf.js --specs=$test --browser=chrome \n \njobLabel: [selenium-protractor, linux, autosplit] \nStep 4: Execute your Test Suite  \nNOTE : In case of MacOS, if you get a permission denied warning while executing CLI, simply run chmod \nu+x ./hyperexecute\n to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE \n\n \n \nStep 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status.","metadata":{"loc":{"lines":{"from":4878,"to":4903}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status. \n\n \nStep 6: Download Artifacts and Reports  \nHyperExecute also facilitates the provision to download the Artifacts and Reports on your local machine. \nClick on the corresponding button to download your generated artifacts and reports. \n \n2. Testing Using Gitpod  \nYou can also use the Gitpod platform to execute our sample repository. It will fetch all the sample \ncodebases and trigger the CLI to execute the tests. \nFollow the below steps to run Test using Gitpod: \nStep 1: Click 'Open in Gitpod' button. You will be redirected to Login/Signup page. This button is \nconfigured to redirect you to the Gitpod platform where you will be able to execute our sample repository.","metadata":{"loc":{"lines":{"from":4902,"to":4915}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Login with LambdaTest credentials. Once logged in, a pop-up confirmation will appear, asking you \nto 'Proceed' to the Gitpod editor in a new tab. The current tab will display the HyperExecute Dashboard. \n \nStep 3: Choose your preferred editor (we recommend VS Code Editor) \n\n \nStep 4: As you are running a sample project, Fetching of the Test Scripts, HyperExecute YAML, \nHyperExecute CLI and Triggering your tests using the Execution Command will be automated. \n \nStep 5: Once you see the Job Link in the logs, you can visit the HyperExecute dashboard to see the tests \ngetting executed. \ntip \nYou can also implement Secret Keys in your YAML file.","metadata":{"loc":{"lines":{"from":4918,"to":4930}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Navigation in Automation Dashboard  \nEvery test run on the HyperExecute has a unique jobId associated with it. Each jobId can in turn \nconstitute single (or multiple) groupId(s). You can visit HyperExecute Automation Dashboard for checking \nthe status of the test execution. \nYou can seamlessly navigate between JobId's and taskId's. You need to click on the testID to navigate \nfrom the HyperExecute logs to the Automation Dashboard. \n \nThe snapshot below shows the videos, logs and other meta data for that specific test_ID \n \nFor any query or doubt, please feel free to contact us via 24×7 chat support or you can also drop a mail to \nsupport@lambdatest.com. \nHappy testing! \n \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":4932,"to":4945}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Running Nightwatch Framework Tests on HyperExecute \nNightwatch.js is an automated testing framework built on top of Selenium and Node.js. It simplifies \nend-to-end testing, offering a simple syntax and a powerful set of built-in commands. Nightwatch.js \nsupports the Selenium WebDriver protocol and allows efficient browser automation, making it a popular \nchoice for web application testing. \nHyperExecute is an AI Native Test Orchestration Cloud Platform that empowers you to run end-to-end \ntests quickly and efficiently. It provides Just-in-Time (JIT) testing infrastructure with fast execution speeds, \nsmart orchestration, and detailed logs. \nThis guide details how to execute your Nightwatch framework tests on HyperExecute via two different \nmethods: \n● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System","metadata":{"loc":{"lines":{"from":4947,"to":4959}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required: \n● Your LambdaTest Username and Access key \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Setup the Environmental Variable \nStep 1: Configure Your Test Suite  \nYou can use your own project to configure and test it. For demo purposes, we are using the sample \nrepository. \nSample repo \nDownload or Clone the code sample for the JUnit from the LambdaTest GitHub repository to run the tests \non the HyperExecute. \nView on GitHub \nIf you are using your own project, make sure you update the Hub endpoint in your tests file.","metadata":{"loc":{"lines":{"from":4957,"to":4974}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"on the HyperExecute. \nView on GitHub \nIf you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution. \nConfigure the desired capabilities based on your test requirements. For example:","metadata":{"loc":{"lines":{"from":4972,"to":4977}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n \n# nightwatch.conf.js \n \nmodule.exports = (function(settings) { \n console.log(settings[\"test_settings\"][\"default\"][\"username\"]) \n if (process.env.LT_USERNAME) { \n   settings[\"test_settings\"][\"default\"][\"username\"] = process.env.LT_USERNAME; \n } \n if (process.env.LT_ACCESS_KEY) { \n   settings[\"test_settings\"][\"default\"][\"access_key\"] = process.env.LT_ACCESS_KEY; \n } \n if (process.env.SELENIUM_HOST) { \n   settings.selenium.host = process.env.SELENIUM_HOST; \n } \n if (process.env.SELENIUM_PORT) { \n   settings.selenium.host = process.env.SELENIUM_PORT; \n } \n return settings; \n})(require('./nightwatch.json')); \nYou can generate capabilities for your test requirements with the help of our inbuilt  \nCapabilities \nGenerator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI","metadata":{"loc":{"lines":{"from":4979,"to":5004}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Generator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on \nthe host system and keep it in the root directory of the suite to perform the tests on HyperExecute. \nYou can download the CLI for your desired platform from the below mentioned links: \nPlatform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page. \nRun the below mentioned commands in your terminal to setup the CLI and the environment variables.","metadata":{"loc":{"lines":{"from":5001,"to":5015}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n● Linux / MacOS \n● Windows \n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\" \nStep 3: Configure YAML in your Test Suite  \nConfigure your YAML file as per your use cases using key value pairs. \nIn this sample YAML file, we have mentioned: \n● version of the YAML file \n● Timeouts for executing your project \n● Mode of execution is Autosplit. You can also opt for Matrix or Hybrid mode. \n● Pre and Post commands \n● Reports and Artefacts that will be generated after the completion of tests \n● and other necessary YAML Parameters \n \n--- \nversion: 0.1 \nglobalTimeout: 90 \ntestSuiteTimeout: 90 \ntestSuiteStep: 90 \n \nrunson: linux \nautosplit: true \nretryOnFailure: true \n \nmaxRetries: 1 \nconcurrency: 3 \nparallelism: 1 \n \ncacheKey: '{{ checksum \"package-lock.json\" }}' \ncacheDirectories: \n - node_modules \n \npre: \n - npm install \n \nmergeArtifacts: true \nuploadArtifacts: \n - name: Reports","metadata":{"loc":{"lines":{"from":5017,"to":5057}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n   path: \n     - reports/ \n \nreport: true \npartialReports: \n   type: json \n   location: reports/ \n   frameworkName: extent \n \ntestDiscovery: \n type: raw \n mode: dynamic \n command: grep -B1 'desiredCapabilities' nightwatch.json | sed 's/-//g' | grep -vE \n'desiredCapabilities' | grep -vE 'skip_testcases_on_fail' | awk '{print$1}' | sed 's/://g' | sed 's/\"//g' \n \ntestRunnerCommand: ./node_modules/.bin/nightwatch -e $test \n \njobLabel: [selenium-Nightwatch, linux, autosplit] \nStep 4: Execute your Test Suite  \nNOTE : In case of MacOS, if you get a permission denied warning while executing CLI, simply run chmod \nu+x ./hyperexecute to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2.","metadata":{"loc":{"lines":{"from":5059,"to":5086}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE","metadata":{"loc":{"lines":{"from":5085,"to":5090}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status. \n\n \nStep 6: Download Artifacts and Reports  \nHyperExecute also facilitates the provision to download the Artifacts and Reports on your local machine. \nClick on the corresponding button to download your generated artifacts and reports. \n \n2. Testing Using Gitpod  \nYou can also use the Gitpod platform to execute our sample repository. It will fetch all the sample \ncodebases and trigger the CLI to execute the tests. \nFollow the below steps to run Test using Gitpod: \nStep 1: Click 'Open in Gitpod' button. You will be redirected to Login/Signup page. This button is \nconfigured to redirect you to the Gitpod platform where you will be able to execute our sample repository.","metadata":{"loc":{"lines":{"from":5094,"to":5107}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Login with LambdaTest credentials. Once logged in, a pop-up confirmation will appear, asking you \nto 'Proceed' to the Gitpod editor in a new tab. The current tab will display the HyperExecute Dashboard. \n \nStep 3: Choose your preferred editor (we recommend VS Code Editor) \n\n \nStep 4: As you are running a sample project, Fetching of the Test Scripts, HyperExecute YAML, \nHyperExecute CLI and Triggering your tests using the Execution Command will be automated. \n \nStep 5: Once you see the Job Link in the logs, you can visit the HyperExecute dashboard to see the tests \ngetting executed. \ntip \nYou can also implement Secret Keys in your YAML file.","metadata":{"loc":{"lines":{"from":5110,"to":5122}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Navigation in Automation Dashboard  \nEvery test run on the HyperExecute has a unique jobId associated with it. Each jobId can in turn \nconstitute single (or multiple) groupId(s). You can visit HyperExecute Automation Dashboard for checking \nthe status of the test execution. \nYou can seamlessly navigate between JobId's and taskId's. You need to click on the testID to navigate \nfrom the HyperExecute logs to the Automation Dashboard. \n \nThe snapshot below shows the videos, logs and other meta data for that specific test_ID \n \nFor any query or doubt, please feel free to contact us via 24×7 chat support or you can also drop a mail to \nsupport@lambdatest.com. \nHappy testing! \n \n-------------------------------------------------------------------------------------------------------------------------- \nRunning NUnit Framework Tests on HyperExecute","metadata":{"loc":{"lines":{"from":5124,"to":5138}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nNUnit is a testing framework for .NET languages, commonly used with Selenium for automated testing. It \nprovides a structure for organizing and executing tests, supporting features like test fixtures, assertions, \nand setup/teardown methods. \nHyperExecute is an AI Native Test Orchestration Cloud Platform that empowers you to run end-to-end \ntests quickly and efficiently. It provides Just-in-Time (JIT) testing infrastructure with fast execution speeds, \nsmart orchestration, and detailed logs. \nThis guide details how to execute your NUnit framework tests on HyperExecute via two different methods: \n● Using Local System - You can use your own local machine to execute tests. \n● Using Gitpod Platform - Execute tests using GitPod. (Requires a Gitpod account) \n1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required:","metadata":{"loc":{"lines":{"from":5140,"to":5153}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"1. Testing Using Local System  \nFollow the step-by-step guide to execute your test on HyperExecute. \nPrerequisites  \nTo run the Tests on HyperExecute from your Local System, you are required: \n● Your LambdaTest Username and Access key \n● HyperExecute YAML file which contains all the necessary instructions. \n● HyperExecute CLI in order to initiate a test execution Job . \n● Setup the Environmental Variable \nStep 1: Configure Your Test Suite  \nYou can use your own project to configure and test it. For demo purposes, we are using the sample \nrepository. \nSample repo \nDownload or Clone the code sample for the JUnit from the LambdaTest GitHub repository to run the tests \non the HyperExecute. \nView on GitHub \nIf you are using your own project, make sure you update the Hub endpoint in your tests file. \nBy setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution.","metadata":{"loc":{"lines":{"from":5150,"to":5167}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"By setting up the Hub endpoint, you establish the communication channel between your tests and the \nbrowser nodes, enabling effective test distribution and execution. \nConfigure the desired capabilities based on your test requirements. For example: \n \nDesiredCapabilities capabilities = new DesiredCapabilities(); \ncapabilities.SetCapability(CapabilityType.BrowserName, \"Chrome\"); \ncapabilities.SetCapability(CapabilityType.Version, \"96\");","metadata":{"loc":{"lines":{"from":5166,"to":5172}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\ncapabilities.SetCapability(CapabilityType.Platform, \"Windows 10\"); \nYou can also use dev and beta browser versions. To generate capabilities for your test requirements, you \ncan use our inbuilt  \nCapabilities Generator Tool. \nStep 2: Setup the CLI in your Test Suite  \nAfter cloning / downloading the sample repo, you need to setup the CLI and the environment variables. \nDownload the HyperExecute CLI  \nThe CLI is used for triggering the tests on HyperExecute. It is recommend to download the CLI binary on \nthe host system and keep it in the root directory of the suite to perform the tests on HyperExecute. \nYou can download the CLI for your desired platform from the below mentioned links: \nPlatform HyperExecute CLI \nWindows https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe \nMacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable","metadata":{"loc":{"lines":{"from":5174,"to":5189}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"MacOS https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute \nLinux https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute \nSetup Environment Variable  \nNow, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are \navailable in the LambdaTest Profile page. \nRun the below mentioned commands in your terminal to setup the CLI and the environment variables. \n● Linux / MacOS \n● Windows \n \nexport LT_USERNAME=\"anmolg\" \nexport LT_ACCESS_KEY=\"tw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv\" \nStep 3: Configure YAML in your Test Suite  \nConfigure your YAML file as per your use cases using key value pairs. \nIn this sample YAML file, we have mentioned: \n● version of the YAML file \n● Timeouts for executing your project \n● Mode of execution is Autosplit. You can also opt for Matrix or Hybrid mode. \n● Pre and Post commands","metadata":{"loc":{"lines":{"from":5187,"to":5204}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\n● Reports and Artefacts that will be generated after the completion of tests \n● and other necessary YAML Parameters \n \n--- \nversion: 0.1 \nglobalTimeout: 150 \ntestSuiteTimeout: 150 \ntestSuiteStep: 150 \n \nrunson: linux \n \nautosplit: true \nretryOnFailure: true \n \nmaxRetries: 1 \nconcurrency: 2 \n \nproject: NUnitHyperTestDemo/NUnitHyperTestDemo.csproj \nsolution: NUnitHyperTestDemo.sln \n \nenv: \n NUGET_PACKAGES: '/home/ltuser/.nuget/packages/' \n NUGET_HTTP_CACHE_PATH: '/home/ltuser/.local/share/NuGet/v3-cache' \n NUGET_PLUGINS_CACHE_PATH: '/home/ltuser/.local/share/NuGet/plugins-cache' \n \npre: \n- dotnet restore \n- dotnet list $project package > packages.txt \n- dotnet build -c Release \n \npost: \n - cat yaml/linux/nunit_hyperexecute_autosplit_sample.yaml \n \nmergeArtifacts: true \n \nuploadArtefacts: \n - name: ExecutionSnapshots \n   path: \n    - NUnitHyperTestDemo/Reports/** \n \nreport: true \npartialReports: \n   type: json \n   location: NUnitHyperTestDemo/ \n   frameworkName: extent","metadata":{"loc":{"lines":{"from":5206,"to":5251}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Unset\nUnset\n \ntestDiscovery: \n type: raw \n mode: dynamic \n command: grep 'Category' NUnitHyperTestDemo -ir --include=\\*.cs --exclude=DriverFactory.cs \n--exclude=HyperTestDemo.AssemblyInfo.cs | awk '{print$2}' | grep -o '\".*\"' \n \ntestRunnerCommand: dotnet test $solution --filter TestCategory=$test \n \njobLabel: [selenium-Nunit, linux, autosplit] \nStep 4: Execute your Test Suite  \nNOTE : In case of MacOS, if you get a permission denied warning while executing CLI, simply run chmod \nu+x ./hyperexecute to allow permission. In case you get a security popup, allow it from your System \nPreferences → Security & Privacy → General tab. \nRun the below command in your terminal at the root folder of the project: \n \n./hyperexecute --config RELATIVE_PATH_OF_YOUR_YAML_FILE \nOR use this command if you have not exported your username and access key in the step 2. \n \n./hyperexecute --user anmolg --key \ntw5G9ZJUxe5sTgRZpXlnoMJv2cohtZl8e3FaJvLE0KHXTaELHv --config \nRELATIVE_PATH_OF_YOUR_YAML_FILE","metadata":{"loc":{"lines":{"from":5253,"to":5276}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 5: Monitor the Test Execution  \nVisit the HyperExecute Dashboard and check your Job status. \n\n \nStep 6: Download Artifacts and Reports  \nHyperExecute also facilitates the provision to download the Artifacts and Reports on your local machine. \nClick on the corresponding button to download your generated artifacts and reports. \n \n2. Testing Using Gitpod  \nYou can also use the Gitpod platform to execute our sample repository. It will fetch all the sample \ncodebases and trigger the CLI to execute the tests. \nFollow the below steps to run Test using Gitpod: \nStep 1: Click 'Open in Gitpod' button. You will be redirected to Login/Signup page. This button is \nconfigured to redirect you to the Gitpod platform where you will be able to execute our sample repository.","metadata":{"loc":{"lines":{"from":5280,"to":5293}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Step 2: Login with LambdaTest credentials. Once logged in, a pop-up confirmation will appear, asking you \nto 'Proceed' to the Gitpod editor in a new tab. The current tab will display the HyperExecute Dashboard. \n \nStep 3: Choose your preferred editor (we recommend VS Code Editor) \n\n \nStep 4: As you are running a sample project, Fetching of the Test Scripts, HyperExecute YAML, \nHyperExecute CLI and Triggering your tests using the Execution Command will be automated. \n \nStep 5: Once you see the Job Link in the logs, you can visit the HyperExecute dashboard to see the tests \ngetting executed. \ntip \nYou can also implement Secret Keys in your YAML file.","metadata":{"loc":{"lines":{"from":5296,"to":5308}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"Navigation in Automation Dashboard  \nEvery test run on the HyperExecute has a unique jobId associated with it. Each jobId can in turn \nconstitute single (or multiple) groupId(s). You can visit HyperExecute Automation Dashboard for checking \nthe status of the test execution. \nYou can seamlessly navigate between JobId's and taskId's. You need to click on the testID to navigate \nfrom the HyperExecute logs to the Automation Dashboard. \n \nThe snapshot below shows the videos, logs and other meta data for that specific test_ID \n \nFor any query or doubt, please feel free to contact us via 24×7 chat support or you can also drop a mail to \nsupport@lambdatest.com. \nHappy testing! \n \n-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5310,"to":5324}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5324,"to":5325}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5328,"to":5336}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5332,"to":5340}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5336,"to":5344}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5340,"to":5348}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------\n \n-------------------------------------------------------------------------------------------------------------------------- \n--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5344,"to":5353}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"--------------------------------------------------------------------------------------------------------------------------","metadata":{"loc":{"lines":{"from":5345,"to":5345}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/HYP MCP PDF.pdf","filename":"HYP MCP PDF.pdf"}},{"pageContent":"1. Private Dependencies via Custom Registry \nDescription: \n If the project uses private dependencies hosted on a custom registry, you need to configure \naccess before installing the packages. \nSolution: \n Ask the customer for the private registry URL and add the following command in the \npre\n \nsection of the YAML file: \npre: \n  - npm config set registry <URL> \n  - npm install \n \n \n2. Executing Specific Projects \nDescription: \n If the project has multiple Playwright projects defined, you may need to run a specific one using \nthe \n--project\n flag. \nSolution: \n Check if the execution command includes \n--project=\"PROJECTNAME\"\n and append it to the \ntestRunnerCommand\n. \nExample: \nnpx playwright test --project=chromium \n \n \n3. Executing with Specific Configurations \nDescription: \n For setups with multiple configuration files, ensure the correct config file is used during \nexecution. \nSolution: \n Check if the execution command contains \n--config=\"CONFIG\"\n and add it to the","metadata":{"loc":{"lines":{"from":3,"to":40}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"For setups with multiple configuration files, ensure the correct config file is used during \nexecution. \nSolution: \n Check if the execution command contains \n--config=\"CONFIG\"\n and add it to the \ntestRunnerCommand\n. \nExample: \nnpx playwright test --config=playwright.config.staging.ts","metadata":{"loc":{"lines":{"from":35,"to":44}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"4. Ignoring Skipped Tests During Discovery \nDescription: \n To ignore test cases marked with \ntest.skip\n during test discovery, you can use a custom \nNode.js script. \nSolution: \n Create a file named \ndiscovery.js\n and add the script from this Gist. \n Then update the \ntestDiscovery\n block in your YAML as follows: \ntestDiscovery: \n  command: node discovery.js \n \n \n5. Accessing Private Dependencies via Private Network Proxy \nDescription: \n When private dependencies require access through a private network, HTTP and HTTPS \nproxies must be configured. \nSolution: \n Add the following commands in the \npre\n section: \nFor npm: \npre: \n  - npm config set proxy http://${LT_PROXY_HOST}:${LT_PROXY_PORT} \n  - npm config set https-proxy http://${LT_PROXY_HOST}:${LT_PROXY_PORT} \n \nFor Yarn: \npre: \n  - yarn config set proxy http://${LT_PROXY_HOST}:${LT_PROXY_PORT} \n  - yarn config set https-proxy http://${LT_PROXY_HOST}:${LT_PROXY_PORT}","metadata":{"loc":{"lines":{"from":49,"to":82}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"6. Running Scripts on Each Machine After Execution (Post) \nDescription: \n To perform actions like moving files, copying resources, or uploading data after test execution \non each machine, use the \npost\n section. \nSolution: \n Use the \npost\n parameter in the YAML file. \n Reference: Post Parameter Syntax \nThis is useful for tasks such as: \n● Running cleanup scripts \n \n● Closing API connections \n \n● Uploading test results to tools like Report Portal, Zephyr, etc. \n \n \n7. Running Scripts After All Executions (globalPost) \nDescription: \n To execute tasks once all test executions are complete, use the \nglobalPost\n parameter. \nSolution: \n Add your scripts under \nglobalPost\n in the YAML file. \n Reference: globalPost Syntax \nTypical use cases include: \n● Merging reports \n \n● Sending email notifications \n \n● Posting summaries to APIs or services \n \nYou can choose to run this on a local or remote machine using the \nrunson\n parameter and \nconfigure caching if needed.","metadata":{"loc":{"lines":{"from":87,"to":126}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"● Sending email notifications \n \n● Posting summaries to APIs or services \n \nYou can choose to run this on a local or remote machine using the \nrunson\n parameter and \nconfigure caching if needed. \n \n8. Executing Scripts Before All Executions (globalPre) \nDescription: \n To prepare environments or generate config files before any execution starts, use the \nglobalPre\n parameter.","metadata":{"loc":{"lines":{"from":119,"to":132}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"Solution: \n Specify scripts under \nglobalPre\n. These can be used to: \n● Generate runtime files \n● Import data \n● Run preparatory commands \n \nReference: globalPre Syntax \nYou can configure the machine type using \nrunson\n and enable/disable caching as needed. \n9. How to enable smart caching in HyperExecute? \nDescription: \n Use \ncacheKey\n and \ncacheDirectories\n to enable caching of dependencies. \nSolution for npm: \ncacheKey: '{{ checksum \"package-lock.json\" }}' \ncacheDirectories: \n  - node_modules \n \nSolution for yarn: \ncacheKey: '{{ checksum \"yarn.lock\" }}' \ncacheDirectories: \n  - node_modules \n10. What is \ntestDiscovery\n and how to configure it? \nDescription: \n \ntestDiscovery\n identifies the test files or test methods to execute. It supports \nraw\n type with \nstatic\n or \ndynamic\n modes. \nSolution: \nFile-level Discovery: \ntestDiscovery: \n  type: raw \n  mode: static","metadata":{"loc":{"lines":{"from":135,"to":180}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"command: grep -lr 'describe' tests \n \nTest-level Discovery: \ntestDiscovery: \n  type: raw \n  mode: dynamic \n  command: grep -rn \"test(\" tests | cut -d: -f1,2 \n \n11. How to configure Playwright reports in HyperExecute YAML file? \nDescription: \n To generate and access Playwright HTML reports in HyperExecute, you need to ensure \nthat reports are stored in a known directory and then upload that directory as an artifact \nusing the \npost\n section in your YAML file. \nSolution: \n1. Update your Playwright config (\nplaywright.config\n) to specify the report output \nlocation: \n \nreporter: [[\"html\", { outputFolder: \"playwright-report\", open: \"never\" }]] \n2. Configure the HyperExecute YAML File \n Add the following to your \nhyperexecute.yaml\n to enable reporting and set up \npartial reports for Playwright: \nreport: true \npartialReports: \n  frameworkName: playwright \n  location: playwright-report \n  type: HTML \n \n12. How to perform tag-level discovery in Playwright tests?","metadata":{"loc":{"lines":{"from":183,"to":216}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"Description\n: \n If the customer uses tags within test cases and wants to run only specific tests based on those \ntags, they can implement a custom script to filter and discover tests at the method level.\n \nSolution:\n \n1. \nCreate a file named discovery.js at the root level of the project (in the same directory as \npackage.json). \n \n2. \nCopy the script from the following link into that file: \n https://gist.github.com/gauravchawhan/9568ed96d6bc115707d37f695a56a6e7 \n \n3. \nUpdate the testDiscovery section in your hyperexecute.yaml to run this script using the \nnode command, and pass your desired tag expression:\n \ntestDiscovery: \n  type: raw \n  mode: static \n  command: node discovery.js '(?=.*@PROD)(?=.*@LOGIN)' \n \n \n13. Test passes locally and on automation grid but fails in HyperExecute \nDescription: \n This issue usually occurs due to a version mismatch between the Playwright client and the \nPlaywright server.","metadata":{"loc":{"lines":{"from":219,"to":247}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"13. Test passes locally and on automation grid but fails in HyperExecute \nDescription: \n This issue usually occurs due to a version mismatch between the Playwright client and the \nPlaywright server. \n In automation grid runs, the client is installed by the user, while the server is managed internally \nvia capabilities. However, in HyperExecute, both client and server setup must be managed by \nthe user explicitly within the YAML file. \nSolution: \n1. Verify the required Playwright version by checking the dependency listed in your \npackage.json\n file. \n \n2. Once identified, install the specific version of Playwright during the \npre\n step of the \nYAML: \npre: \n  - npx playwright@1.41.0 install \n \nNote: \n Replace \n1.41.0\n with the version specified in your project’s \npackage.json\n. Installing the","metadata":{"loc":{"lines":{"from":244,"to":268}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"exact version ensures compatibility between the Playwright client and server during test \nexecution in HyperExecute. \n14. Test is getting retried multiple times within a single scenario \nDescription: \n In Playwright, users can configure retry logic at the framework level using the \nretries\n \nparameter (e.g., \nretries: 2\n). However, when this is combined with retries configured in the \nHyperExecute YAML file, it can lead to undesired behavior — such as tests being retried \nmultiple times, duplicate scenarios being created, and incorrect reporting. \nSolution: \n To avoid redundant retries and ensure accurate reporting, it is recommended to disable \nframework-level retries and rely solely on HyperExecute-level retry logic. \nYAML Configuration: \nretryOnFailure: true \nmaxRetries: 1 \n \nNote: \n Using HyperExecute-level retries provides better control over test execution. It avoids creating \nmultiple sessions within the same scenario, ensures accurate pass/fail status in reports, logs","metadata":{"loc":{"lines":{"from":271,"to":292}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"Using HyperExecute-level retries provides better control over test execution. It avoids creating \nmultiple sessions within the same scenario, ensures accurate pass/fail status in reports, logs \nexecution time correctly, and prevents unnecessary duplication of failed tests. \n \n15. How to configure environment variables required for test execution \nDescription: \n Some test frameworks or projects require specific environment variables (e.g., credentials, \nconfig flags, base URLs) to be set before running the tests. If these variables are not set, the \ntests may fail due to missing or undefined environment configurations. \nSolution: \n There are two ways to configure environment variables in HyperExecute: \nOption 1: Use the \nenv\n parameter in the YAML file \nenv: \n  BASE_URL: https://example.com \n  API_KEY: your_api_key_here","metadata":{"loc":{"lines":{"from":291,"to":307}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"Option 2: Define environment variables in a \n.env\n file \n Create a \n.env\n file at the root level of your project: \nBASE_URL=https://example.com \nAPI_KEY=your_api_key_here \n \n \n16. Task getting stuck due to report being opened on local server \nDescription: \n In some cases, Playwright tests may hang or the task may get stuck during execution. This \ntypically happens when the HTML report is configured to automatically open on a local server \nafter test completion. Since HyperExecute runs in a headless CI environment, attempting to \nopen a report in a browser window causes the process to hang indefinitely. \nSolution: \n Update your \nplaywright.config.ts\n file to prevent the report from opening automatically by \nsetting the \nopen\n option to \n'never'\n. \nCorrect Configuration: \nreporter: [['html', { open: 'never' }]], \n \nNote: \n Adding \n{ open: 'never' }\n ensures that the HTML report is generated without being","metadata":{"loc":{"lines":{"from":311,"to":342}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}},{"pageContent":"open\n option to \n'never'\n. \nCorrect Configuration: \nreporter: [['html', { open: 'never' }]], \n \nNote: \n Adding \n{ open: 'never' }\n ensures that the HTML report is generated without being \nlaunched, which avoids the issue of the test process hanging in CI environments like \nHyperExecute.","metadata":{"loc":{"lines":{"from":332,"to":344}},"source":"/Users/srinivasans/workspace/LT/mcp-hyperexecute/src/assets/YAML creation for Playwright tests.pdf","filename":"YAML creation for Playwright tests.pdf"}}]