diff --git a/assets/images/hyperexecute/knowledge-base/reports/custom-specflow.png b/assets/images/hyperexecute/knowledge-base/reports/custom-specflow.png new file mode 100644 index 000000000..ff3079100 Binary files /dev/null and b/assets/images/hyperexecute/knowledge-base/reports/custom-specflow.png differ diff --git a/docs/azure-scim.md b/docs/azure-scim.md index 1fc5c82f7..36207ba0e 100644 --- a/docs/azure-scim.md +++ b/docs/azure-scim.md @@ -100,9 +100,11 @@ For example we can set Constant association “Guest” for `urn:ietf:params:sci 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", +IIF(SingleAppRoleAssignment([appRoleAssignments])="Guest", "Guest", +IIF(SingleAppRoleAssignment([appRoleAssignments])="User", "User", "User"))) +``` In the above example we are using the appRoleAssignments attribute of microsoft user to set string value. @@ -118,7 +120,6 @@ This operation starts the initial synchronization cycle of all users in Scope in Image
- > 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  window.openLTChatWidget()}>**24/7 chat support** or email us over [support@lambdatest.com](mailto:support@lambdatest.com). diff --git a/docs/custom-speclow-report.md b/docs/custom-speclow-report.md new file mode 100644 index 000000000..35ce1a597 --- /dev/null +++ b/docs/custom-speclow-report.md @@ -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/ +--- + + +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. + +Image \ No newline at end of file diff --git a/docs/specflow-report.md b/docs/specflow-report.md index fa63f87a7..372dfa699 100644 --- a/docs/specflow-report.md +++ b/docs/specflow-report.md @@ -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. diff --git a/sidebars.js b/sidebars.js index dc6be2052..9b8ceff54 100644 --- a/sidebars.js +++ b/sidebars.js @@ -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",