-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #397 from testsigmahq/dev
Added all Salesforce Documents
- Loading branch information
Showing
9 changed files
with
472 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,40 @@ contextual_links: | |
- type: section | ||
name: "Contents" | ||
- type: link | ||
name: "Prerequisites" | ||
url: "#prerequisites" | ||
name: "Setup" | ||
url: "#setup" | ||
- type: link | ||
name: "Getting Started" | ||
url: "#getting-started" | ||
- type: link | ||
name: "Getting Help" | ||
url: "#getting-help" | ||
--- | ||
|
||
--- | ||
|
||
Salesforce is a cloud-based Customer Relationship Management (CRM) platform that is the backbone for many businesses worldwide. However, testing applications built on Salesforce can be difficult because of complex workflows, frequent updates, and complex DOM structures. Testsigma revolutionizes Salesforce test automation by reducing average test authoring time by 50%, ensuring reliability, speeding up test case execution (up to 2X faster), and providing a user-friendly interface with a minimal learning curve. | ||
|
||
--- | ||
|
||
## **Setup** | ||
|
||
- For setup, refer to creating a connected app and configuring metadata connection. | ||
|
||
--- | ||
|
||
## **Getting Started** | ||
|
||
- Create User Connections | ||
- Live Test Authoring | ||
- Element Repositories | ||
- Special NLPs | ||
|
||
--- | ||
|
||
Coming Soon! | ||
|
||
## **Getting Help** | ||
|
||
- Reach out to Testsigma support at **[email protected]**. | ||
|
||
--- |
100 changes: 96 additions & 4 deletions
100
src/pages/docs/salesforce-testing/metadata-connections.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,111 @@ | ||
--- | ||
title: "Creating Metadata Connections" | ||
page_title: "Introduction: Testsigma for Salesforce Test Automation" | ||
metadesc: "Salesforce Testing with Testsigma helps reduce average test authoring time by 50%, and test case execution will be 2X faster with a user-friendly interface" | ||
page_title: "Metadata Connections" | ||
metadesc: "A Metadata connection enables actions like refreshing metadata, configurations, creating objects, & managing components that define how the application behaves" | ||
noindex: false | ||
order: 29.4 | ||
page_id: "Testsigma for Salesforce Test Automation" | ||
page_id: "Creating Metadata Connections" | ||
warning: false | ||
contextual_links: | ||
- type: section | ||
name: "Contents" | ||
- type: link | ||
name: "Prerequisites" | ||
url: "#prerequisites" | ||
- type: link | ||
name: "Steps to Create Metadata Connection" | ||
url: "#steps-to-create-metadata-connection" | ||
- type: link | ||
name: "Steps to Edit Metadata Connection" | ||
url: "#steps-to-edit-metadata-connection" | ||
- type: link | ||
name: "Steps to Refresh Metadata Connection" | ||
url: "#steps-to-refresh-metadata-connection" | ||
--- | ||
|
||
--- | ||
|
||
In Testsigma, you can create a Salesforce application and establish a Metadata connection, which enables you to perform various actions like retrieving metadata, updating configurations, creating custom objects, and managing other components that define how the application behaves. This article discusses creating a metadata connection in Testsigma. | ||
|
||
--- | ||
|
||
## **Prerequisites** | ||
|
||
- You need to have Salesforce org with test setup | ||
- Salesforce connected app | ||
|
||
--- | ||
|
||
## **Steps to Create Metadata Connection** | ||
|
||
1. Click on **Create metadata connection** on **Salesforce connections page**. | ||
![Create Metadata](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdcm.png) | ||
|
||
2. This will open the **Metadata connection** prompt. | ||
![Prompt](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmaprm.png) | ||
|
||
3. On **Metadata connection** prompt, | ||
- Enter **Connection name**, which is generally the user role you connect through, e.g., **Admin**. | ||
![Name](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdname.png) | ||
[[info | **NOTE**:]] | ||
| You can also choose a custom name for the connection. | ||
- Choose the **Production / Developer edition**, if you’re testing the product environment or Sandbox, if you’re testing the staging environment from **Connect with** dropdown. | ||
![Edition](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/samdce.png) | ||
- Choose the **Authentication type** from the dropdown. In this example, we are choosing **OAuth 2.0**. | ||
![Authentication](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdatype.png) | ||
|
||
<details style="border: 1px solid gray; border-radius: 4px; padding: 0.5em; margin: 0.5em 0; background-color: #f2f2f2;"> | ||
<summary style="color: darkgreen; font-weight: bold; list-style: none;" onclick="if(this.parentNode.open) this.parentNode.style.border='1px solid gray'; else this.parentNode.style.border='none';"> | ||
<span style="margin-right: 5px;">ℹ️</span>Authentication Types: | ||
</summary><br> | ||
There are two ways to Authenticate: | ||
<ul> | ||
<li><b>User name & Password:</b> For User name & Password, enter Username, Password, Security token, Consumer key, and Consumer secret. </li> | ||
<li><b>OAuth</b> For OAuth, enter Username, Consumer key, Consumer secret and Callback URL.</li> | ||
</ul> | ||
</details> | ||
|
||
- Click on **Authorise & Connect**. | ||
![Authorise](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdaaaut.png) | ||
|
||
- A new window will open up requesting for **Salesforce Login**. Enter the credentials and click on **Log In**. | ||
![Login](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdlifsf.png) | ||
|
||
- This will display the **Environment** associated with the credentials. Click on **Start metadata sync**. | ||
![Start MD](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdssync.png) | ||
|
||
- Wait until the sync is complete. This will take some time. | ||
![Wait](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdsipg.png) | ||
|
||
4. Once Metadata sync is successful, you can create test cases by clicking **Create Test Case**. | ||
![Create Tests](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdctc.png) | ||
|
||
--- | ||
|
||
## **Steps to Edit Metadata Connection** | ||
|
||
1. From the **Dashboard**, click on **SF Connections**. | ||
![Edit Metadata](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdedt.png) | ||
|
||
2. In the **Metadata connection** section, hover over the connection, click on the kebab menu, and choose **Edit connection** from the dropdown menu. | ||
![Edit Connection](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdec.png) | ||
|
||
3. On the **Metadata connection** prompt, make the necessary changes and click on **Authorise & Connect**. | ||
![Metadata Connection](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdecetd.png) | ||
|
||
[[info | **NOTE**:]] | ||
| You can not update the Metadata connection with a different environment. | ||
|
||
--- | ||
|
||
Coming Soon! | ||
## **Steps to Refresh Metadata Connection** | ||
|
||
To refresh metadata, you have two options: | ||
|
||
1. From the **Dashboard**, go to **SF Connections** and click on **Refresh Metadata**. | ||
![Refresh](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdref1.png) | ||
|
||
2. Click on **Refresh Metadata** directly from the dashboard. | ||
![Refresh](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/sfmdref2.png) | ||
|
||
--- |
Oops, something went wrong.