Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions docs/azure-scim.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@

Or, can create association using the Expression like this ,

`IIF(SingleAppRoleAssignment([appRoleAssignments])="Admin", "Admin"`,
`IIF(SingleAppRoleAssignment([appRoleAssignments])="Guest", "Guest"`,
`IIF(SingleAppRoleAssignment([appRoleAssignments])="User", "User", "User")))`
```javascript
IIF(SingleAppRoleAssignment([appRoleAssignments])="Admin", "Admin",

Check failure on line 104 in docs/azure-scim.md

View workflow job for this annotation

GitHub Actions / spellcheck

IIF ==> IF
IIF(SingleAppRoleAssignment([appRoleAssignments])="Guest", "Guest",

Check failure on line 105 in docs/azure-scim.md

View workflow job for this annotation

GitHub Actions / spellcheck

IIF ==> IF
IIF(SingleAppRoleAssignment([appRoleAssignments])="User", "User", "User")))

Check failure on line 106 in docs/azure-scim.md

View workflow job for this annotation

GitHub Actions / spellcheck

IIF ==> IF
```

In the above example we are using the appRoleAssignments attribute of microsoft user to set string value.

Expand All @@ -118,7 +120,6 @@
<img loading="lazy" src={require('../assets/images/lambdatest-scim/azure-ad/save.png').default} alt="Image" width="404" height="206" className="doc_img img_center"/><br/>



> That's all you need to know about LambdaTest SCIM Auto User Provisioning with Azure AD.In case you have any questions please feel free to reach out to us via the <span className="doc__lt" onClick={() => window.openLTChatWidget()}>**24/7 chat support**</span> or email us over [support@lambdatest.com](mailto:support@lambdatest.com).


Expand Down
88 changes: 88 additions & 0 deletions docs/custom-speclow-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
id: custom-speclow-report
title: Custom Specflow Report
sidebar_label: Custom Specflow
description: Custom specflow report
keywords:
- LambdaTest Hyperexecute
- LambdaTest Hyperexecute help
- LambdaTest Hyperexecute documentation
url: https://www.lambdatest.com/support/docs/custom-speclow-report/
site_name: LambdaTest
slug: custom-speclow-report/
---

<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": "HyperExecute Custom Specflow Report",
"item": "https://www.lambdatest.com/support/docs/custom-speclow-report/"
}]
})
}}
></script>
This guide provides step-by-step instructions on how to generate a custom SpecFlow report in LambdaTest HyperExecute. By following the specified changes in the YAML file and modifying the test script, users can receive detailed test reports via email.

## Prerequisites
- A valid LambdaTest account.
- A configured HyperExecute environment.
- A SpecFlow-based test suite.

## Configuration Changes
To enable custom SpecFlow reporting, make the following changes to your YAML configuration file and test script.

### Step 1: Modify the YAML Configuration File
Add the following settings in your YAML file to enable reporting and configure partial reports:

```yaml
report: true
partialReports:
location: YOUR_REPORTS_LOCATION
type: xml
frameworkName: specflow-custom
email:
to: [YOUR_EMAIL_ID]
metaInfo: [ "project-name:YOUR_CUSTOM_PROJECT_NAME", "project-env: YOUR_CUSTOM_PROJECT_ENV" ]
```

Explanation:
- `report: true` → Enables the reporting feature.
- `partialReports.location` → Specifies the directory where the partial reports will be stored.
- `partialReports.type: xml` → Configures the report format as XML.
- `partialReports.frameworkName: specflow-custom` → Sets the framework name.
- `email.to` → Defines the recipient email address where the reports will be sent.
- `email.metaInfo` → Adds metadata, including project name and environment details, to the report.

### Step 2: Modify the Test Script
Add the following capability in your test script to ensure the correct execution status is recorded:

`((IJavaScriptExecutor)driver).ExecuteScript($"lambda-info=suitename:YOUR_SUITE_NAME:passed");`

Explanation:
- This script sends test execution information (suite name and status) to LambdaTest.
- Replace `YOUR_SUITE_NAME` with the appropriate suite name.
- The passed status can be dynamically changed based on the test result.

### Step 3: Report Generation and Email Notification
Once the tests are executed, the custom SpecFlow report will be generated and sent to the configured email address. The report will include:

- Tag-based test summaries and details.
- Suite-based test summaries and details.
- Number of tests passed, failed, skipped, or with other statuses.
- Meta information such as project name and environment.

<img loading="lazy" src={require('../assets/images/hyperexecute/knowledge-base/reports/custom-specflow.png').default} alt="Image" className="doc_img"/>
4 changes: 3 additions & 1 deletion docs/specflow-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ slug: specflow-report/
SpecFlow is a free tool for automating tests using BDD. It's often used to create automation scripts for .NET projects.
This technical document provides a guide on generating SpecFlow reports after executing tests on HyperExecute.

## Steps to Generate Cucumber Reports on HyperExecute
> We also offer [Custom Specflow report](https://www.lambdatest.com/support/docs/custom-speclow-report/).

## Steps to Generate Specflow Reports on HyperExecute

**Step 1:** Configure all the necessary dependencies and configurations to your project.

Expand Down
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ module.exports = {
"cucumber-report",
"playwright-html-report",
"specflow-report",
"custom-speclow-report",
"cypress-mochaawesome-report",
"error-categorization-report",
"junit-xml-report",
Expand Down
Loading