From f314b0418b29dc2179f0f5a6306b410184c30ac1 Mon Sep 17 00:00:00 2001 From: Aman Chopra Date: Thu, 21 Nov 2024 11:54:23 +0530 Subject: [PATCH] format update --- docs/deep-dive-into-hyperexecute-yaml.md | 18 +++--- ...cute-cli-run-tests-on-hyperexecute-grid.md | 4 +- docs/katalon-integration-with-hyperexecute.md | 58 +++++++++---------- 3 files changed, 39 insertions(+), 41 deletions(-) diff --git a/docs/deep-dive-into-hyperexecute-yaml.md b/docs/deep-dive-into-hyperexecute-yaml.md index d5beb5a4..719e26e0 100644 --- a/docs/deep-dive-into-hyperexecute-yaml.md +++ b/docs/deep-dive-into-hyperexecute-yaml.md @@ -419,21 +419,21 @@ Current Languages Supported: **maven, java, dotnet, node**, **ruby**, **android- ```yaml runtime: - language: java - version: "11" + - language: java + version: "11" ``` - You can also install **gauge** and **gradle** only as an additional frameworks or tools independent of the language defined. ```yaml runtime: - language: java - version: 11 - addons: - - name: "gauge" - version: "1.4.0" - - name: "gradle" - version : "7.0" + - language: java + version: 11 + addons: + - name: "gauge" + version: "1.4.0" + - name: "gradle" + version : "7.0" ``` - You can also provide **multiple languages** and their **specified versions** that you want installed on your machine. diff --git a/docs/hyperexecute-cli-run-tests-on-hyperexecute-grid.md b/docs/hyperexecute-cli-run-tests-on-hyperexecute-grid.md index d1fc96b7..23f8d925 100644 --- a/docs/hyperexecute-cli-run-tests-on-hyperexecute-grid.md +++ b/docs/hyperexecute-cli-run-tests-on-hyperexecute-grid.md @@ -307,9 +307,9 @@ This flag allows you to run a certain number of tests via tunnel. The default ma This flag allows you to indicate the path of the zip file that needs to be uploaded for your tests to run. Let's say you already have a zipped payload that you want to upload, so you can provide the path of that payload and upload it. -Whenever you zip your test files, it creates a folder, let's say **tests.zip**. Now, when this zip folder is unarchived, HyperExecute searches for a file named **.hyperexecute.yaml**, which should be present in the root folder only. +Whenever you zip your test files, it creates a folder, let's say **tests.zip**. Now, when this zip folder is unarchived, HyperExecute searches for a file named **`hyperexecute.yaml`**. -In another scenario, suppose you first created a folder. Inside that folder, you put all your required test files and then zip that folder (say **folder.zip**). When this zip folder is unarchived, HyperExecute will again search for the **.hyperexecute.yaml** file, which in this case won't be available as it will be inside the folder, which will throw an error. +In another scenario, suppose you first created a folder. Inside that folder, you put all your required test files and then zip that folder (say **folder.zip**). When this zip folder is unarchived, HyperExecute will again search for the **`hyperexecute.yaml`** file, which in this case won't be available as it will be inside the folder, which will throw an error. ```bash --use-zip "/home/users/work/yaml/zip/" diff --git a/docs/katalon-integration-with-hyperexecute.md b/docs/katalon-integration-with-hyperexecute.md index 833c0af8..51d8490d 100644 --- a/docs/katalon-integration-with-hyperexecute.md +++ b/docs/katalon-integration-with-hyperexecute.md @@ -80,38 +80,36 @@ It also comes with a built-in interface for codeless automation testing and vali 4. Create the hyperexecute.yaml file in the root directory of your Katalon project with the given parameters: - ```yaml - version: 0.1 - globalTimeout: 90 - testSuiteTimeout: 90 - testSuiteStep: 90 - - autosplit: true - - runson: win - - tunnel: true - tunnelOpts: - global: true +```yaml +version: 0.1 +globalTimeout: 90 +testSuiteTimeout: 90 +testSuiteStep: 90 - concurrency: 2 - - pre: - - pip install requests # To install pip request - - python installer.py # To install the certs in the Machine +autosplit: true - runtime: katalon - - testDiscovery: - type: raw - mode: dynamic - command: grep -lr 'testSuiteGuid' */*.ts | sed 's/:.*//' | sed 's/.ts//g' - - testRunnerCommand: katalonc `-noSplash `-runMode=console `-projectPath="G:\foreman\Hyperexecute_Sample\Hyperexecute_Sample.prj" `-retry=0 `-testSuitePath="$test" `-browserType="firefox" `-executionProfile="default" `-apiKey="aaa9402b-6a2e-4621-a4c3-05fe356f5aad" `-`-config `-webui.autoUpdateDrivers=true - - retryOnFailure: false - maxRetries: 1 - ``` +runson: win + +tunnel: true +tunnelOpts: + global: true +concurrency: 2 + +pre: + - pip install requests # To install pip request + - python installer.py # To install the certs in the Machine +runtime: katalon + +testDiscovery: + type: raw + mode: dynamic + command: grep -lr 'testSuiteGuid' */*.ts | sed 's/:.*//' | sed 's/.ts//g' + +testRunnerCommand: katalonc `-noSplash `-runMode=console `-projectPath="G:\foreman\Hyperexecute_Sample\Hyperexecute_Sample.prj" `-retry=0 `-testSuitePath="$test" `-browserType="firefox" `-executionProfile="default" `-apiKey="aaa9402b-6a2e-4621-a4c3-05fe356f5aad" `-`-config `-webui.autoUpdateDrivers=true + +retryOnFailure: false +maxRetries: 1 +``` Paste the command that you generated from the Katalon UI to fill the **testRunnerCommand** field in the _hyperexecute.yaml_ file.