Skip to content

Files

Latest commit

 

History

History
80 lines (65 loc) · 2.91 KB

hyperexecute-generate-sample-yaml.md

File metadata and controls

80 lines (65 loc) · 2.91 KB
id title hide_title sidebar_label description keywords url site_name slug
hyperexecute-generate-sample-yaml
Generate your HyperExecute YAML file
false
Generate your HyperExecute YAML
This document helps you to understand how to generate the HyperExecute YAML files using the HyperExecute dashboard and then a sample yaml file for understanding the YAML
LambdaTest Hyperexecute
LambdaTest Hyperexecute help
LambdaTest Hyperexecute documentation
LambdaTest generating hyperexecute yaml
hyperexecute-generate-sample-yaml/
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Support", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "Generate HyperExecute YAML", "item": "https://www.lambdatest.com/support/docs/hyperexecute-generate-sample-yaml/" }] }) }} ></script>

You can also generate the HyperExecute YAML directly from the HyperExecute Portal. To accomplish this, follow the below mentioned steps:

Step 1: Go to HyperExecute dashboard, click on the Help Center and select Generate YAML from the dropdown.

Step 2: Select your preferred test automation framework.

Step 3: You will be redirected to the configuring section, where you can configure the HyperExecute YAML parameters. Click on Generate YAML button.

Step 4: Once done, you can download the YAML file using the small icon on top. Alternatively, you can copy the contents of the file and modify them further according to your needs on your favorite IDE.

HyperExecute supports multiple languages and testing frameworks. See the comprehensive list & samples here.

Sample HyperExecute YAML

A sample HyperExecute YAML file looks like this:

---
version: 0.1
runson: linux

autosplit: true
concurrency: 2

pre:
  - mvn dependency:resolve

testDiscovery:
  type: raw
  mode: static
  command: grep 'test name' xml/testng_linux.xml | awk '{print$2}' | sed 's/name=//g' | sed 's/>//g'

testRunnerCommand: mvn test -Dplatname=linux -Dmaven.repo.local=./.m2 dependency:resolve -DselectedTests=$test

retryOnFailure: true
maxRetries: 1

jobLabel: [selenium-testng, linux, v1, autosplit]