From 95549834c15d137212ea12c8d8c3dba6804638f8 Mon Sep 17 00:00:00 2001 From: Bharath Krishna <118433150+bharathk08@users.noreply.github.com> Date: Fri, 6 Dec 2024 08:40:25 +0530 Subject: [PATCH] Updated Salesforce Special NLPs document (#549) --- .../docs/salesforce-testing/special-nlps.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/pages/docs/salesforce-testing/special-nlps.md b/src/pages/docs/salesforce-testing/special-nlps.md index a4c50c58..e21f2ed8 100644 --- a/src/pages/docs/salesforce-testing/special-nlps.md +++ b/src/pages/docs/salesforce-testing/special-nlps.md @@ -69,6 +69,9 @@ contextual_links: - type: link name: "NLP 17:" url: "#nlp-17" +- type: link + name: "NLP 18:" + url: "#nlp-18" --- --- @@ -337,4 +340,33 @@ 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) + +--- + +## **NLP 18:** + +“Get record details from **Salesforce Object Form** for **RECORD\_ID** test data using **Salesforce Connection** connection” + + +### **Using the NLP in a Test Case** + + +1. Click on **Salesforce Object Form**, choose **Record** from the dropdown menu, and click **Select Fields**. + +2. On the **Manage Fields for Account** overlay, select the fields for which you want to retrieve info and click **Save**. + + [[info | **NOTE**:]] + | If no fields are selected, the response body will include all available fields. + +3. Go to the **Request Info** tab, enter the **Record ID** and select the available **Salesforce Connection**. You can parameterize the **Record ID** by entering a slash (**/**). Add mock values by clicking **Add Request Values** if the field is parameterized. + +4. Click **Send Request**. + +5. From the **Response Body**, you can store **Variables** and add **Verifications** directly as needed. + + +See the GIF below demonstrating how to use this NLP. + +![Get Record Details](https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/applications/SF_Read_API.gif) + --- \ No newline at end of file