From a039b5a72f255fbee426538598ebb836c9228813 Mon Sep 17 00:00:00 2001 From: Bharath Krishna <118433150+bharathk08@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:50:56 +0530 Subject: [PATCH] Updated Salesforce NLPs document (#507) An NLP is added which was missing form the document --- .../docs/salesforce-testing/special-nlps.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/pages/docs/salesforce-testing/special-nlps.md b/src/pages/docs/salesforce-testing/special-nlps.md index db3eebaf..04d7a254 100644 --- a/src/pages/docs/salesforce-testing/special-nlps.md +++ b/src/pages/docs/salesforce-testing/special-nlps.md @@ -66,6 +66,9 @@ contextual_links: - type: link name: "NLP 16:" url: "#nlp-16" +- type: link + name: "NLP 17:" + url: "#nlp-17" --- --- @@ -95,7 +98,8 @@ With Testsigma's special NLPs, you can scale and enhance Salesforce Testing. The | [Open the edit Salesforce Object form where record id is Record ID](https://website.testsigma.com/docs/salesforce-testing/special-nlps/#nlp-2)| This NLP opens the edit form in Salesforce for a specific record on the selected tab.

**User Inputs in NLP:**
1. User Record ID
2. Salesforce Object | | [Open the create Salesforce Object record form](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-9) | This NLP opens the Create Record form in Salesforce on the selected tab.

**User Inputs in NLP:**
Salesforce Object | | [Open the Salesforce Object details page where record id is Record ID](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-8) | This NLP Opens the View in Salesforce for a specific record on the selected tab.

**User Inputs in NLP:**
1. User Record ID
2. Salesforce Object | -| [Create record in Salesforce Object Form using Salesforce Connection connection and store the record id in variable test data](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-1) | This NLP creates a record for a specific Salesforce object using the create record API. This process stores the RECORD\_ID in a variable for test data.

**User Inputs in NLP:**
1. Salesforce Connection
2. Salesforce Object Form
3. Variable to store RECORD\_ID | +| [Create record in Salesforce Object Form using Salesforce Connection connection and store the record id in variable test data](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-1) | This NLP creates a record for a specific Salesforce object using the create record API. This process stores the RECORD\_ID in a variable.

**User Inputs in NLP:**
1. Salesforce Connection
2. Salesforce Object Form
3. Variable to store RECORD\_ID | +| [Update record in Salesforce object form where record id is test data using Salesforce connection connection](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-17) | This NLP updates a record for a specific Salesforce object using the update record API.

**User Inputs in NLP:**
1. Salesforce Connection
2. Salesforce Object Form
3. RECORD\_ID | | [Select multiple options using value test data in the element multipicklist](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-12) | This NLP selects values from a multipicklist. This NLP can also be recorded.

**User Inputs in NLP:**
1. Test Data
2. Choose Element

**Note:** All the values should match the criteria for the NLP to work effectively.| | [Remove multiple options using value test data in the element multipicklist](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-13) | This NLP removes values from a multipicklist. This NLP can also be recorded.

**User Inputs in NLP:**
1. Test Data
2. Choose Element

**Note:** All the values should match the criteria for the NLP to work effectively.| | [Undo field in element](https://testsigma.com/docs/salesforce-testing/special-nlps/#nlp-11) | This NLP undoes the update on the selected field. This NLP can also be recorded.

**User Inputs in NLP:**
Choose Element | @@ -317,4 +321,16 @@ See the GIF below demonstrating how to use this NLP. ![Element Picklist](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/SinglePickNLP.gif) +--- + +## **NLP 17:** + +"Update record in **Salesforce object** form where record id is **test data** using **Salesforce connection** connection" + +This NLP feature updates a Salesforce record with the details you enter in the API step using the specified **Record ID**. + +See the GIF below demonstrating how to use this NLP. + +![Element Picklist](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/SalesforceUpdateNLP.gif) + --- \ No newline at end of file